Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001026/0.001027, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001326/0.001326, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.627/1.627, allocations: 251.9 MB / 0.51 GB, free: 4.84 MB / 414.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.0006511/0.0006513, allocations: 19.92 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.733, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0478/0.7809, allocations: 44.77 MB / 0.7717 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.7962, allocations: 9.818 MB / 0.7813 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.7993, allocations: 47.69 kB / 0.7813 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.802, allocations: 0.7113 MB / 0.782 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007643/0.8097, allocations: 1.998 MB / 0.784 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004921/0.8146, allocations: 1.462 MB / 0.7854 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006162/0.8208, allocations: 2.296 MB / 0.7876 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.8231, allocations: 0.9469 MB / 0.7886 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.826, allocations: 1.02 MB / 0.7895 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.8272, allocations: 0.7116 MB / 0.7902 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.8274, allocations: 52 kB / 0.7903 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.8301, allocations: 0.6631 MB / 0.7909 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.8305, allocations: 294.8 kB / 0.7912 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.831, allocations: 340.9 kB / 0.7915 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.8335, allocations: 1.769 MB / 0.7933 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8335, allocations: 3.938 kB / 0.7933 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8335, allocations: 4 kB / 0.7933 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.8335, allocations: 0 / 0.7933 GB, free: 8.359 MB / 0.6075 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.003593/0.8371, allocations: 1.726 MB / 0.795 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8372, allocations: 8.031 kB / 0.795 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/0.8405, allocations: 0.6146 MB / 0.7956 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.8436, allocations: 1.417 MB / 0.797 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.8438, allocations: 123.7 kB / 0.7971 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.844, allocations: 91.94 kB / 0.7972 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.8467, allocations: 1.256 MB / 0.7984 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.8467, allocations: 7.891 kB / 0.7984 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.8468, allocations: 36 kB / 0.7984 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.8469, allocations: 24 kB / 0.7985 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/0.8502, allocations: 1.249 MB / 0.7997 GB, free: 1.652 MB / 0.6075 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.007719/0.8579, allocations: 4.915 MB / 0.8045 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.8607, allocations: 0.8918 MB / 0.8053 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008709/0.8616, allocations: 1.073 MB / 0.8064 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/0.8632, allocations: 0.5769 MB / 0.807 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/0.8633, allocations: 0 / 0.807 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.004722/0.868, allocations: 1.508 MB / 0.8084 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.8681, allocations: 63.97 kB / 0.8085 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.8698, allocations: 1.33 MB / 0.8098 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.798e-05/0.8699, allocations: 37.7 kB / 0.8098 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/0.8704, allocations: 0.6462 MB / 0.8105 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.8706, allocations: 213 kB / 0.8107 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.8707, allocations: 8 kB / 0.8107 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8708, allocations: 341.9 kB / 0.811 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.8722, allocations: 469.7 kB / 0.8114 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.8738, allocations: 0.6598 MB / 0.8121 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.8753, allocations: 0.495 MB / 0.8126 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.8753, allocations: 4 kB / 0.8126 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003673/0.879, allocations: 1.272 MB / 0.8138 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.879, allocations: 8 kB / 0.8138 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8791, allocations: 4.438 kB / 0.8138 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.8791, allocations: 19.98 kB / 0.8138 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.8804, allocations: 267.6 kB / 0.8141 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.8804, allocations: 8 kB / 0.8141 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.882, allocations: 238.8 kB / 0.8143 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.8821, allocations: 55.95 kB / 0.8144 GB, free: 1.945 MB / 0.6231 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.y,$PRE.onOff.pulseStart,onOff.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007291/0.8829, allocations: 361.5 kB / 0.8147 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.8831, allocations: 142.2 kB / 0.8149 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.8867, allocations: 1.28 MB / 0.8161 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.8868, allocations: 8 kB / 0.8161 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.8868, allocations: 3.938 kB / 0.8161 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003019/0.8898, allocations: 1.103 MB / 0.8172 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005878/0.8957, allocations: 2.612 MB / 0.8198 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.8957, allocations: 0 / 0.8198 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.8968, allocations: 220 kB / 0.82 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.8969, allocations: 4 kB / 0.82 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.8969, allocations: 31.91 kB / 0.82 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.8969, allocations: 4 kB / 0.82 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.897, allocations: 7.984 kB / 0.82 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004987/0.9019, allocations: 2.039 MB / 0.822 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/0.9027, allocations: 354.9 kB / 0.8223 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.9029, allocations: 16.06 kB / 0.8224 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.9041, allocations: 151.8 kB / 0.8225 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.9043, allocations: 56.44 kB / 0.8226 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.9043, allocations: 47.95 kB / 0.8226 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001361/0.9057, allocations: 0.9319 MB / 0.8235 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9057, allocations: 0 / 0.8235 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001311/0.907, allocations: 447.3 kB / 0.8239 GB, free: 7.879 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008147/0.9079, allocations: 433.7 kB / 0.8244 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003219/0.9111, allocations: 1.102 MB / 0.8254 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9111, allocations: 0 / 0.8254 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.9127, allocations: 0.566 MB / 0.826 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.9159, allocations: 0.7096 MB / 0.8267 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.9208, allocations: 2.969 MB / 0.8296 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/0.9217, allocations: 1.256 MB / 0.8308 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001702/0.9234, allocations: 335.8 kB / 0.8311 GB, free: 460 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.9238, allocations: 131.3 kB / 0.8312 GB, free: 332 kB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.9238, allocations: 0 / 0.8312 GB, free: 332 kB / 0.6387 GB Notification: Performance of Templates: time 0.0483/0.9721, allocations: 26.9 MB / 0.8575 GB, free: 5.793 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) Environment - environmentSimulation: