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.001237/0.001237, 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.001457/0.001457, allocations: 187.7 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 72.27 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3671, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.08763/0.4548, allocations: 53.02 MB / 1.119 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.473, allocations: 11.42 MB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.4756, allocations: 55.62 kB / 1.131 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.4778, allocations: 0.6569 MB / 1.131 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.4845, allocations: 2.01 MB / 1.133 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.4883, allocations: 1.268 MB / 1.135 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005394/0.4937, allocations: 3.945 MB / 1.138 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.4957, allocations: 1.279 MB / 1.14 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.499, allocations: 1.427 MB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.5006, allocations: 1.116 MB / 1.142 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.5011, allocations: 140 kB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/0.505, allocations: 1.06 MB / 1.143 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007962/0.5059, allocations: 438.5 kB / 1.144 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.5073, allocations: 0.859 MB / 1.145 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.5114, allocations: 2.567 MB / 1.147 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5114, allocations: 0 / 1.147 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.504e-06/0.5114, allocations: 4 kB / 1.147 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.5114, allocations: 0 / 1.147 GB, free: 9.262 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.003729/0.5152, allocations: 2.018 MB / 1.149 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5152, allocations: 12.03 kB / 1.149 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.519, allocations: 0.5686 MB / 1.15 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/0.5227, allocations: 1.372 MB / 1.151 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.5229, allocations: 119.7 kB / 1.151 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.5231, allocations: 96 kB / 1.151 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.5263, allocations: 1.354 MB / 1.152 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.5263, allocations: 0 / 1.152 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5264, allocations: 40 kB / 1.152 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.5265, allocations: 27.94 kB / 1.152 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.5302, allocations: 1.421 MB / 1.154 GB, free: 2.086 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.009039/0.5392, allocations: 5.374 MB / 1.159 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.5422, allocations: 1.06 MB / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.5438, allocations: 0.6075 MB / 1.161 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009096/0.5447, allocations: 1.073 MB / 1.162 GB, free: 9.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/0.5466, allocations: 0.6743 MB / 1.162 GB, free: 8.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 4.809e-06/0.5466, allocations: 3.984 kB / 1.162 GB, free: 8.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005269/0.5519, allocations: 1.75 MB / 1.164 GB, free: 7.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.5519, allocations: 63.95 kB / 1.164 GB, free: 6.945 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.554, allocations: 1.397 MB / 1.166 GB, free: 5.539 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.5541, allocations: 37.7 kB / 1.166 GB, free: 5.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/0.5547, allocations: 0.6424 MB / 1.166 GB, free: 4.844 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.555, allocations: 216.9 kB / 1.166 GB, free: 4.629 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.5553, allocations: 166.5 kB / 1.167 GB, free: 4.461 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5555, allocations: 337.9 kB / 1.167 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.5571, allocations: 0.5523 MB / 1.167 GB, free: 3.574 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.5588, allocations: 0.7458 MB / 1.168 GB, free: 2.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.5619, allocations: 1.201 MB / 1.169 GB, free: 1.484 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5619, allocations: 0 / 1.169 GB, free: 1.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004115/0.566, allocations: 1.432 MB / 1.171 GB, free: 44 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.5661, allocations: 11.94 kB / 1.171 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5661, allocations: 4 kB / 1.171 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.5662, allocations: 8 kB / 1.171 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.5675, allocations: 255.8 kB / 1.171 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.5675, allocations: 8 kB / 1.171 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.5692, allocations: 210.9 kB / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.5693, allocations: 39.98 kB / 1.171 GB, free: 15.51 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.0007176/0.57, allocations: 362.1 kB / 1.172 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.5703, allocations: 146.2 kB / 1.172 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.5741, allocations: 1.411 MB / 1.173 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.5742, allocations: 15.81 kB / 1.173 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5742, allocations: 3.938 kB / 1.173 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003207/0.5774, allocations: 1.259 MB / 1.174 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.5835, allocations: 2.953 MB / 1.177 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.5835, allocations: 4 kB / 1.177 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.5847, allocations: 204 kB / 1.178 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.5847, allocations: 4 kB / 1.178 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/0.5848, allocations: 27.92 kB / 1.178 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.5848, allocations: 7.984 kB / 1.178 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5848, allocations: 4.094 kB / 1.178 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.5905, allocations: 2.234 MB / 1.18 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008966/0.5914, allocations: 351 kB / 1.18 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.5918, allocations: 15.98 kB / 1.18 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.5933, allocations: 139.8 kB / 1.18 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.5935, allocations: 52.44 kB / 1.18 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.5936, allocations: 35.95 kB / 1.18 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001868/0.5955, allocations: 0.9869 MB / 1.181 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5955, allocations: 0 / 1.181 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001616/0.5971, allocations: 451.4 kB / 1.182 GB, free: 4.676 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.001046/0.5982, allocations: 439.2 kB / 1.182 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003899/0.6021, allocations: 1.336 MB / 1.183 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.6021, allocations: 0 / 1.183 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.6039, allocations: 0.6519 MB / 1.184 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/0.6078, allocations: 0.7649 MB / 1.185 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.6133, allocations: 3.123 MB / 1.188 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009425/0.6142, allocations: 1.225 MB / 1.189 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001598/0.6158, allocations: 314.8 kB / 1.189 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.6163, allocations: 123.4 kB / 1.189 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of SimCode: time 2.675e-06/0.6163, allocations: 4 kB / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.05523/0.6716, allocations: 29.67 MB / 1.218 GB, free: 15.31 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)