Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009498/0.0009498, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006426/0.006427, allocations: 170 kB / 16.26 MB, free: 6.613 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.129/3.129, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004091, allocations: 15.78 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05436/0.3924, allocations: 52.13 MB / 1.125 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.4126, allocations: 11.43 MB / 1.136 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.4156, allocations: 55.62 kB / 1.136 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.418, allocations: 0.6256 MB / 1.137 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008723/0.4268, allocations: 1.987 MB / 1.139 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.4306, allocations: 1.254 MB / 1.14 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007087/0.4377, allocations: 5.052 MB / 1.145 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.4399, allocations: 1.053 MB / 1.146 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.4429, allocations: 1.17 MB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.4452, allocations: 1.038 MB / 1.148 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004028/0.4456, allocations: 56 kB / 1.148 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.4488, allocations: 0.9354 MB / 1.149 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006489/0.4495, allocations: 346.5 kB / 1.149 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.4509, allocations: 0.7826 MB / 1.15 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.455, allocations: 2.449 MB / 1.153 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.455, allocations: 3.938 kB / 1.153 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.494e-06/0.455, allocations: 0 / 1.153 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.455, allocations: 0 / 1.153 GB, free: 6.941 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.003288/0.4583, allocations: 1.734 MB / 1.154 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.4584, allocations: 12.03 kB / 1.154 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.4619, allocations: 0.6233 MB / 1.155 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.4643, allocations: 1.36 MB / 1.156 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.4645, allocations: 119.6 kB / 1.156 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.4646, allocations: 103.9 kB / 1.156 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/0.4678, allocations: 1.381 MB / 1.158 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.4678, allocations: 7.938 kB / 1.158 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.4679, allocations: 39.98 kB / 1.158 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.468, allocations: 28 kB / 1.158 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.4719, allocations: 1.499 MB / 1.159 GB, free: 15.89 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.00854/0.4804, allocations: 5.397 MB / 1.165 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/0.4835, allocations: 1.124 MB / 1.166 GB, free: 9.117 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.4852, allocations: 0.6355 MB / 1.166 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008158/0.486, allocations: 1.065 MB / 1.167 GB, free: 7.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.4878, allocations: 0.7134 MB / 1.168 GB, free: 6.449 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/0.4878, allocations: 0 / 1.168 GB, free: 6.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005582/0.4934, allocations: 1.867 MB / 1.17 GB, free: 4.574 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4935, allocations: 59.97 kB / 1.17 GB, free: 4.504 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.4955, allocations: 1.401 MB / 1.171 GB, free: 3.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.4957, allocations: 37.7 kB / 1.171 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.4962, allocations: 0.6462 MB / 1.172 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.4965, allocations: 209 kB / 1.172 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.4966, allocations: 65.69 kB / 1.172 GB, free: 2.117 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4967, allocations: 337.9 kB / 1.173 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4984, allocations: 0.5875 MB / 1.173 GB, free: 1.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.5003, allocations: 0.7887 MB / 1.174 GB, free: 340 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.5037, allocations: 1.271 MB / 1.175 GB, free: 15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5037, allocations: 0 / 1.175 GB, free: 15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004023/0.5077, allocations: 1.51 MB / 1.177 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.5078, allocations: 12.03 kB / 1.177 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5078, allocations: 7.938 kB / 1.177 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.5078, allocations: 8 kB / 1.177 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.5091, allocations: 272 kB / 1.177 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.5091, allocations: 15.92 kB / 1.177 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.5108, allocations: 226.9 kB / 1.177 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.595e-05/0.5109, allocations: 43.97 kB / 1.177 GB, free: 12.9 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.0007611/0.5117, allocations: 354.1 kB / 1.178 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.512, allocations: 150.2 kB / 1.178 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.5161, allocations: 1.485 MB / 1.179 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.5162, allocations: 11.98 kB / 1.179 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5162, allocations: 0 / 1.179 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003433/0.5196, allocations: 1.341 MB / 1.18 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006604/0.5263, allocations: 3.027 MB / 1.183 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.5263, allocations: 0 / 1.183 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.5275, allocations: 231.9 kB / 1.184 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.5275, allocations: 4 kB / 1.184 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/0.5276, allocations: 23.97 kB / 1.184 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.5276, allocations: 4 kB / 1.184 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5276, allocations: 7.938 kB / 1.184 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/0.5335, allocations: 2.34 MB / 1.186 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.5345, allocations: 378.8 kB / 1.186 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/0.535, allocations: 16.06 kB / 1.186 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.5365, allocations: 147.8 kB / 1.186 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.5367, allocations: 56.38 kB / 1.187 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.5368, allocations: 43.95 kB / 1.187 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001905/0.5387, allocations: 0.9791 MB / 1.188 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3e-07/0.5387, allocations: 0 / 1.188 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0018/0.5405, allocations: 463.3 kB / 1.188 GB, free: 1.668 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.001215/0.5418, allocations: 435.8 kB / 1.188 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003831/0.5456, allocations: 1.348 MB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5456, allocations: 0 / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.5475, allocations: 0.691 MB / 1.19 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/0.5525, allocations: 0.7467 MB / 1.191 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/0.5589, allocations: 3.205 MB / 1.194 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.5601, allocations: 1.229 MB / 1.195 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001742/0.5619, allocations: 310.1 kB / 1.196 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.5624, allocations: 123.4 kB / 1.196 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of SimCode: time 3.136e-06/0.5624, allocations: 0 / 1.196 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.05456/0.617, allocations: 29.28 MB / 1.224 GB, free: 12.57 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)