Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001265/0.001265, allocations: 103.4 kB / 16.35 MB, free: 5.879 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.00129/0.00129, allocations: 198 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 63.91 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2419, allocations: 114.6 MB / 0.7848 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.401/0.643, allocations: 53.44 MB / 0.8369 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.6598, allocations: 11.41 MB / 0.8481 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003732/0.6636, allocations: 61.84 kB / 0.8481 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.6663, allocations: 0.7601 MB / 0.8489 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00789/0.6743, allocations: 2.145 MB / 0.851 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.6788, allocations: 1.381 MB / 0.8523 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007462/0.6863, allocations: 3.9 MB / 0.8561 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.6888, allocations: 1.279 MB / 0.8574 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/0.6935, allocations: 1.411 MB / 0.8588 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.696, allocations: 1.08 MB / 0.8598 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.6964, allocations: 139.3 kB / 0.86 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.7003, allocations: 1.051 MB / 0.861 GB, free: 15.65 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007126/0.701, allocations: 432 kB / 0.8614 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.7028, allocations: 0.8568 MB / 0.8622 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.709, allocations: 2.582 MB / 0.8648 GB, free: 13.89 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7091, allocations: 1.062 kB / 0.8648 GB, free: 13.89 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.088e-06/0.7091, allocations: 0 / 0.8648 GB, free: 13.89 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.875e-05/0.7091, allocations: 3.938 kB / 0.8648 GB, free: 13.89 MB / 0.67 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.004655/0.7138, allocations: 2.012 MB / 0.8667 GB, free: 12.47 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7138, allocations: 8.938 kB / 0.8667 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.7177, allocations: 0.5706 MB / 0.8673 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/0.7208, allocations: 1.326 MB / 0.8686 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.721, allocations: 116.5 kB / 0.8687 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.7213, allocations: 95.19 kB / 0.8688 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/0.7248, allocations: 1.352 MB / 0.8701 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.7248, allocations: 0 / 0.8701 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.7249, allocations: 37.44 kB / 0.8701 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.725, allocations: 32.17 kB / 0.8702 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/0.7291, allocations: 1.426 MB / 0.8716 GB, free: 9.566 MB / 0.67 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.01121/0.7404, allocations: 5.358 MB / 0.8768 GB, free: 5.258 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.7437, allocations: 1.074 MB / 0.8778 GB, free: 4.738 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.7454, allocations: 0.6008 MB / 0.8784 GB, free: 4.453 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009772/0.7464, allocations: 1.07 MB / 0.8795 GB, free: 3.195 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/0.7484, allocations: 0.6795 MB / 0.8801 GB, free: 2.809 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 4.719e-06/0.7485, allocations: 1.188 kB / 0.8801 GB, free: 2.809 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.005664/0.7541, allocations: 1.754 MB / 0.8819 GB, free: 1.977 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.7543, allocations: 58.75 kB / 0.8819 GB, free: 1.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.7568, allocations: 1.403 MB / 0.8833 GB, free: 1.156 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.757, allocations: 39.14 kB / 0.8833 GB, free: 1.117 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.7577, allocations: 0.6416 MB / 0.8839 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.758, allocations: 202.9 kB / 0.8841 GB, free: 380 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.7583, allocations: 175.1 kB / 0.8843 GB, free: 264 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.7585, allocations: 333.4 kB / 0.8846 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.7602, allocations: 0.553 MB / 0.8852 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.7622, allocations: 0.7562 MB / 0.8859 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.7657, allocations: 1.193 MB / 0.8871 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.7657, allocations: 1.5 kB / 0.8871 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004928/0.7706, allocations: 1.434 MB / 0.8885 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.7707, allocations: 16.92 kB / 0.8885 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.7707, allocations: 7.312 kB / 0.8885 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.7708, allocations: 8.406 kB / 0.8885 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.7721, allocations: 246.2 kB / 0.8887 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.7721, allocations: 12.78 kB / 0.8887 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.774, allocations: 183.1 kB / 0.8889 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.7741, allocations: 44.94 kB / 0.889 GB, free: 13.58 MB / 0.6856 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.0009205/0.775, allocations: 359 kB / 0.8893 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.7754, allocations: 146.1 kB / 0.8894 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.7794, allocations: 1.419 MB / 0.8908 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.7794, allocations: 6.875 kB / 0.8908 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7794, allocations: 0 / 0.8908 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/0.7827, allocations: 1.266 MB / 0.8921 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007011/0.7898, allocations: 2.955 MB / 0.895 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7898, allocations: 0 / 0.895 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.791, allocations: 203.9 kB / 0.8952 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.791, allocations: 8 kB / 0.8952 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.7911, allocations: 23.97 kB / 0.8952 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.7912, allocations: 8.562 kB / 0.8952 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7912, allocations: 4 kB / 0.8952 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/0.7969, allocations: 2.23 MB / 0.8974 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.7982, allocations: 351.1 kB / 0.8977 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.7984, allocations: 12 kB / 0.8977 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7997, allocations: 128.3 kB / 0.8978 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.7999, allocations: 56.38 kB / 0.8979 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/0.7999, allocations: 43.94 kB / 0.8979 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001556/0.8015, allocations: 0.9905 MB / 0.8989 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.8015, allocations: 0 / 0.8989 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001793/0.8033, allocations: 455.9 kB / 0.8993 GB, free: 4.203 MB / 0.6856 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.001049/0.8044, allocations: 453.1 kB / 0.8998 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0035/0.8079, allocations: 1.282 MB / 0.901 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8079, allocations: 4 kB / 0.901 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.8097, allocations: 0.6519 MB / 0.9017 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/0.8134, allocations: 0.7694 MB / 0.9024 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.8183, allocations: 2.627 MB / 0.905 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.8192, allocations: 1.221 MB / 0.9062 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001284/0.8205, allocations: 302.4 kB / 0.9065 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.8208, allocations: 131.3 kB / 0.9066 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.8209, allocations: 3.938 kB / 0.9066 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of Templates: time 0.05075/0.8716, allocations: 30.35 MB / 0.9362 GB, free: 14.85 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)