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.0009836/0.0009837, allocations: 98.19 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.006607/0.006607, allocations: 170.2 kB / 16.27 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.548/1.548, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004036, allocations: 13.34 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3701, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.08171/0.4518, allocations: 52.13 MB / 1.125 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.471, allocations: 11.43 MB / 1.136 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.4738, allocations: 51.69 kB / 1.136 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.476, allocations: 0.6178 MB / 1.137 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.4827, allocations: 1.999 MB / 1.139 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.4868, allocations: 1.256 MB / 1.14 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007286/0.4941, allocations: 5.049 MB / 1.145 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.496, allocations: 1.061 MB / 1.146 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.4987, allocations: 1.155 MB / 1.147 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.5003, allocations: 1.042 MB / 1.148 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.5005, allocations: 56 kB / 1.148 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.5031, allocations: 0.9314 MB / 1.149 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.5036, allocations: 350.5 kB / 1.149 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.5046, allocations: 0.7749 MB / 1.15 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.5083, allocations: 2.461 MB / 1.153 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5083, allocations: 4 kB / 1.153 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5083, allocations: 0 / 1.153 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.5084, allocations: 0 / 1.153 GB, free: 6.922 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.003532/0.5119, allocations: 1.723 MB / 1.154 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.512, allocations: 12.03 kB / 1.154 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.5156, allocations: 0.6232 MB / 1.155 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.5182, allocations: 1.372 MB / 1.156 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.5184, allocations: 115.7 kB / 1.156 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.5186, allocations: 95.91 kB / 1.156 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.5218, allocations: 1.397 MB / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.5218, allocations: 0 / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.522, allocations: 40 kB / 1.158 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.522, allocations: 23.98 kB / 1.158 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004085/0.5261, allocations: 1.499 MB / 1.159 GB, free: 15.88 MB / 0.92 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.00869/0.5348, allocations: 5.409 MB / 1.165 GB, free: 10.22 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.538, allocations: 1.111 MB / 1.166 GB, free: 9.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.5397, allocations: 0.6362 MB / 1.166 GB, free: 8.465 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/0.5406, allocations: 1.077 MB / 1.167 GB, free: 7.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/0.5426, allocations: 0.7135 MB / 1.168 GB, free: 6.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.865e-06/0.5426, allocations: 0 / 1.168 GB, free: 6.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005715/0.5483, allocations: 1.867 MB / 1.17 GB, free: 4.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.5484, allocations: 59.97 kB / 1.17 GB, free: 4.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.5505, allocations: 1.397 MB / 1.171 GB, free: 3.074 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.5506, allocations: 37.7 kB / 1.171 GB, free: 3.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007349/0.5513, allocations: 0.6501 MB / 1.172 GB, free: 2.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.5516, allocations: 205 kB / 1.172 GB, free: 2.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.5517, allocations: 69.69 kB / 1.172 GB, free: 2.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5519, allocations: 334 kB / 1.173 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.5536, allocations: 0.5914 MB / 1.173 GB, free: 1.172 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.5555, allocations: 0.7926 MB / 1.174 GB, free: 312 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.5589, allocations: 1.264 MB / 1.175 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.5589, allocations: 4 kB / 1.175 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004229/0.5631, allocations: 1.51 MB / 1.177 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.5632, allocations: 13.94 kB / 1.177 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.5632, allocations: 8 kB / 1.177 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.5632, allocations: 8 kB / 1.177 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.5645, allocations: 263.7 kB / 1.177 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.5646, allocations: 11.94 kB / 1.177 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.5663, allocations: 241.3 kB / 1.177 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.5664, allocations: 43.97 kB / 1.177 GB, free: 12.88 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.0007188/0.5672, allocations: 354.1 kB / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.5675, allocations: 146.2 kB / 1.178 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/0.5717, allocations: 1.489 MB / 1.179 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.5717, allocations: 8 kB / 1.179 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5717, allocations: 0 / 1.179 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003546/0.5753, allocations: 1.337 MB / 1.18 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/0.582, allocations: 3.031 MB / 1.183 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.582, allocations: 0 / 1.183 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5833, allocations: 219.9 kB / 1.184 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.5833, allocations: 12 kB / 1.184 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/0.5834, allocations: 23.97 kB / 1.184 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.5834, allocations: 4 kB / 1.184 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.5834, allocations: 11.94 kB / 1.184 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.5894, allocations: 2.336 MB / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008376/0.5902, allocations: 382.9 kB / 1.186 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.5905, allocations: 23.88 kB / 1.186 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.5921, allocations: 147.9 kB / 1.186 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5922, allocations: 56.44 kB / 1.187 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.771e-05/0.5923, allocations: 35.95 kB / 1.187 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00172/0.594, allocations: 0.9791 MB / 1.188 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5941, allocations: 4 kB / 1.188 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001606/0.5957, allocations: 451.3 kB / 1.188 GB, free: 1.656 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.001117/0.5968, allocations: 437.8 kB / 1.188 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004075/0.6009, allocations: 1.348 MB / 1.19 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.6009, allocations: 4.375 kB / 1.19 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.6028, allocations: 0.6906 MB / 1.19 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/0.6079, allocations: 0.7487 MB / 1.191 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.6145, allocations: 3.209 MB / 1.194 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.616, allocations: 1.225 MB / 1.195 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00198/0.618, allocations: 302.7 kB / 1.196 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000558/0.6186, allocations: 135.3 kB / 1.196 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of SimCode: time 1.173e-06/0.6186, allocations: 0 / 1.196 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of Templates: time 0.05293/0.6715, allocations: 29.27 MB / 1.224 GB, free: 12.54 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)