Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001214/0.001214, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05203/0.4077, allocations: 53.03 MB / 1.119 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.4263, allocations: 11.42 MB / 1.131 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.4295, allocations: 55.69 kB / 1.131 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.4324, allocations: 0.6569 MB / 1.131 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.4401, allocations: 2.014 MB / 1.133 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.4445, allocations: 1.265 MB / 1.135 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.4516, allocations: 3.945 MB / 1.138 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.4544, allocations: 1.283 MB / 1.14 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004232/0.4587, allocations: 1.414 MB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.4609, allocations: 1.124 MB / 1.142 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000271/0.4611, allocations: 136 kB / 1.142 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.4642, allocations: 1.049 MB / 1.143 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004903/0.4647, allocations: 442.5 kB / 1.144 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.4658, allocations: 0.859 MB / 1.145 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.4698, allocations: 2.571 MB / 1.147 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4698, allocations: 4 kB / 1.147 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4698, allocations: 0 / 1.147 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.4698, allocations: 0 / 1.147 GB, free: 9.355 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003447/0.4733, allocations: 2.023 MB / 1.149 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4733, allocations: 8.031 kB / 1.149 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.4769, allocations: 0.5725 MB / 1.15 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.4793, allocations: 1.364 MB / 1.151 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.4795, allocations: 123.6 kB / 1.151 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.4796, allocations: 92 kB / 1.151 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.4827, allocations: 1.354 MB / 1.152 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.4827, allocations: 0 / 1.152 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.4828, allocations: 40 kB / 1.152 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.4829, allocations: 24 kB / 1.152 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.4866, allocations: 1.429 MB / 1.154 GB, free: 2.18 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.008504/0.4951, allocations: 5.366 MB / 1.159 GB, free: 12.56 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.4979, allocations: 1.071 MB / 1.16 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.4995, allocations: 0.5958 MB / 1.161 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/0.5003, allocations: 1.065 MB / 1.162 GB, free: 9.578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.5021, allocations: 0.686 MB / 1.162 GB, free: 8.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 3.837e-06/0.5021, allocations: 0 / 1.162 GB, free: 8.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005136/0.5073, allocations: 1.754 MB / 1.164 GB, free: 7.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5073, allocations: 55.97 kB / 1.164 GB, free: 7.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.5094, allocations: 1.394 MB / 1.166 GB, free: 5.648 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.5095, allocations: 45.7 kB / 1.166 GB, free: 5.598 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/0.5101, allocations: 0.6463 MB / 1.166 GB, free: 4.941 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.5103, allocations: 205 kB / 1.166 GB, free: 4.738 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.5106, allocations: 174.5 kB / 1.167 GB, free: 4.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5108, allocations: 334 kB / 1.167 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.5123, allocations: 0.5484 MB / 1.167 GB, free: 3.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.514, allocations: 0.7574 MB / 1.168 GB, free: 2.848 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/0.517, allocations: 1.193 MB / 1.169 GB, free: 1.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.517, allocations: 0 / 1.169 GB, free: 1.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00388/0.5209, allocations: 1.436 MB / 1.171 GB, free: 148 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.5209, allocations: 11.94 kB / 1.171 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5209, allocations: 7.938 kB / 1.171 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.521, allocations: 11.98 kB / 1.171 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5222, allocations: 247.8 kB / 1.171 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.5222, allocations: 15.94 kB / 1.171 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.5239, allocations: 214.4 kB / 1.171 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/0.5241, allocations: 43.97 kB / 1.171 GB, free: 15.61 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000684/0.5247, allocations: 354.1 kB / 1.172 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.525, allocations: 146.2 kB / 1.172 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.5287, allocations: 1.411 MB / 1.173 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.5288, allocations: 12 kB / 1.173 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5288, allocations: 3.938 kB / 1.173 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003128/0.5319, allocations: 1.263 MB / 1.174 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/0.5379, allocations: 2.946 MB / 1.177 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5379, allocations: 4 kB / 1.177 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.539, allocations: 215.9 kB / 1.178 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.5391, allocations: 4 kB / 1.178 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/0.5391, allocations: 27.97 kB / 1.178 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.5392, allocations: 8 kB / 1.178 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.5392, allocations: 3.938 kB / 1.178 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005439/0.5446, allocations: 2.227 MB / 1.18 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008511/0.5455, allocations: 355 kB / 1.18 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.5457, allocations: 16 kB / 1.18 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.5472, allocations: 139.8 kB / 1.18 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.5473, allocations: 52.38 kB / 1.18 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5474, allocations: 39.97 kB / 1.18 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001609/0.5491, allocations: 0.9791 MB / 1.181 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5491, allocations: 96 / 1.181 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001553/0.5506, allocations: 455.3 kB / 1.182 GB, free: 4.773 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009913/0.5516, allocations: 447.1 kB / 1.182 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003747/0.5554, allocations: 1.332 MB / 1.183 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5554, allocations: 0 / 1.183 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.5571, allocations: 0.6558 MB / 1.184 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/0.5611, allocations: 0.7624 MB / 1.185 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.5663, allocations: 3.123 MB / 1.188 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.5671, allocations: 1.229 MB / 1.189 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001515/0.5686, allocations: 306.7 kB / 1.189 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.569, allocations: 119.4 kB / 1.189 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of SimCode: time 1.513e-06/0.569, allocations: 4 kB / 1.189 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.0525/0.6215, allocations: 29.68 MB / 1.218 GB, free: 15.4 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)