Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008368/0.0008366, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005073/0.005073, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003214, allocations: 12 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6214/0.6218, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.06642/0.6882, allocations: 72.94 MB / 1.094 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02922/0.7175, allocations: 21.38 MB / 1.115 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.721, allocations: 87.44 kB / 1.115 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00888/0.7299, allocations: 4.322 MB / 1.12 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008559/0.7385, allocations: 2.838 MB / 1.122 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.7436, allocations: 1.964 MB / 1.124 GB, free: 7.973 MB / 0.8731 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0004961901834698359}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01253/0.7561, allocations: 9.665 MB / 1.134 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.759, allocations: 1.676 MB / 1.135 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.7629, allocations: 1.792 MB / 1.137 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.7648, allocations: 1.508 MB / 1.139 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.765, allocations: 88 kB / 1.139 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00387/0.7688, allocations: 1.902 MB / 1.14 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006096/0.7695, allocations: 0.6537 MB / 1.141 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.7708, allocations: 1.268 MB / 1.142 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005534/0.7763, allocations: 4.248 MB / 1.146 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7763, allocations: 0 / 1.146 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7763, allocations: 0 / 1.146 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.569e-05/0.7764, allocations: 3.938 kB / 1.147 GB, free: 1.055 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.004914/0.7813, allocations: 2.709 MB / 1.149 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7813, allocations: 15.98 kB / 1.149 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.7816, allocations: 181.9 kB / 1.149 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006445/0.788, allocations: 1.261 MB / 1.151 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/0.7929, allocations: 2.952 MB / 1.153 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/0.794, allocations: 343.9 kB / 1.154 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.7942, allocations: 132 kB / 1.154 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/0.7986, allocations: 1.99 MB / 1.156 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.7986, allocations: 4 kB / 1.156 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.7988, allocations: 52 kB / 1.156 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.7988, allocations: 32 kB / 1.156 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005716/0.8045, allocations: 2.191 MB / 1.158 GB, free: 4.965 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.8174, allocations: 8.528 MB / 1.166 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005225/0.8226, allocations: 1.786 MB / 1.168 GB, free: 10.19 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.8248, allocations: 0.7949 MB / 1.169 GB, free: 9.387 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00517/0.83, allocations: 3.878 MB / 1.173 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.8301, allocations: 47.06 kB / 1.173 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007466/0.8308, allocations: 222.7 kB / 1.173 GB, free: 4.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 2.414e-06/0.8308, allocations: 0 / 1.173 GB, free: 4.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.013/0.8438, allocations: 3.328 MB / 1.176 GB, free: 1.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.8439, allocations: 59.91 kB / 1.176 GB, free: 1.496 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.8476, allocations: 2.622 MB / 1.179 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.8477, allocations: 41.7 kB / 1.179 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000942/0.8487, allocations: 1.11 MB / 1.18 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.8489, allocations: 209.1 kB / 1.18 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.8491, allocations: 145.6 kB / 1.18 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.8492, allocations: 305.1 kB / 1.181 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/0.8517, allocations: 0.9792 MB / 1.182 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/0.8546, allocations: 1.403 MB / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004797/0.8594, allocations: 2.126 MB / 1.185 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8594, allocations: 4 kB / 1.185 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008393/0.8678, allocations: 2.975 MB / 1.188 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.8679, allocations: 8 kB / 1.188 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.8679, allocations: 15.94 kB / 1.188 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.8692, allocations: 0.5283 MB / 1.188 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.8708, allocations: 395.5 kB / 1.189 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.8732, allocations: 1.149 MB / 1.19 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.8757, allocations: 309.5 kB / 1.19 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.8759, allocations: 75.95 kB / 1.19 GB, free: 2.711 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001024/0.8769, allocations: 0.5559 MB / 1.191 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.8772, allocations: 236.9 kB / 1.191 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006399/0.8836, allocations: 2.184 MB / 1.193 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.8836, allocations: 11.94 kB / 1.193 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8836, allocations: 0 / 1.193 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.8837, allocations: 3.984 kB / 1.193 GB, free: 15.71 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00829/0.892, allocations: 4.171 MB / 1.197 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.892, allocations: 4 kB / 1.197 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.893, allocations: 216.1 kB / 1.198 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.8942, allocations: 0.5004 MB / 1.198 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.8943, allocations: 23.97 kB / 1.198 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.8965, allocations: 1.146 MB / 1.199 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8965, allocations: 160 / 1.199 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006857/0.9034, allocations: 2.296 MB / 1.201 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/0.9042, allocations: 0.4976 MB / 1.202 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.9045, allocations: 15.98 kB / 1.202 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/0.9063, allocations: 235.7 kB / 1.202 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.9064, allocations: 56.38 kB / 1.202 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.9065, allocations: 43.89 kB / 1.202 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002445/0.909, allocations: 1.812 MB / 1.204 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.909, allocations: 0 / 1.204 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001734/0.9107, allocations: 0.7217 MB / 1.205 GB, free: 3.73 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008159/0.9189, allocations: 3.419 MB / 1.208 GB, free: 268 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005867/0.9247, allocations: 2.103 MB / 1.21 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.9248, allocations: 0 / 1.21 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.9276, allocations: 0.9096 MB / 1.211 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006344/0.934, allocations: 1.121 MB / 1.212 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04642/0.9804, allocations: 23.3 MB / 1.235 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.9818, allocations: 1.625 MB / 1.236 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001985/0.9838, allocations: 468.8 kB / 1.237 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.9851, allocations: 0.9874 MB / 1.238 GB, free: 148 kB / 0.9825 GB Notification: Performance of SimCode: time 1.012e-06/0.9851, allocations: 0 / 1.238 GB, free: 148 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6581/1.643, allocations: 66.81 MB / 1.303 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.644, allocations: 299.5 kB / 1.303 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/5.072, allocations: 0 / 1.303 GB, free: 194.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)