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.00145/0.00145, allocations: 99.67 kB / 16.36 MB, free: 6.301 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.001575/0.001575, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.94/1.94, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001463/0.001463, allocations: 67.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2141, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.4031/0.6173, allocations: 53.44 MB / 0.837 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.6337, allocations: 11.4 MB / 0.8481 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.6366, allocations: 57.28 kB / 0.8481 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.6394, allocations: 0.758 MB / 0.8489 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006811/0.6462, allocations: 2.154 MB / 0.851 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.6506, allocations: 1.377 MB / 0.8523 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00615/0.6567, allocations: 3.898 MB / 0.8561 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.6593, allocations: 1.29 MB / 0.8574 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.6634, allocations: 1.404 MB / 0.8588 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.6659, allocations: 1.076 MB / 0.8598 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006436/0.6665, allocations: 138.9 kB / 0.86 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.6704, allocations: 1.047 MB / 0.861 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008479/0.6712, allocations: 444.7 kB / 0.8614 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.6732, allocations: 0.8499 MB / 0.8622 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004922/0.6782, allocations: 2.582 MB / 0.8648 GB, free: 13.92 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6782, allocations: 0 / 0.8648 GB, free: 13.92 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6782, allocations: 0 / 0.8648 GB, free: 13.92 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.238e-05/0.6783, allocations: 1.125 kB / 0.8648 GB, free: 13.92 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.004355/0.6826, allocations: 2.018 MB / 0.8667 GB, free: 12.56 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6827, allocations: 8.938 kB / 0.8667 GB, free: 12.56 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/0.6865, allocations: 0.574 MB / 0.8673 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.6892, allocations: 1.388 MB / 0.8687 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.6893, allocations: 116.7 kB / 0.8688 GB, free: 11.15 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.6895, allocations: 90.56 kB / 0.8689 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.6926, allocations: 1.355 MB / 0.8702 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.6927, allocations: 5.125 kB / 0.8702 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.6928, allocations: 40.11 kB / 0.8702 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.6929, allocations: 28.09 kB / 0.8702 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.6968, allocations: 1.427 MB / 0.8716 GB, free: 9.613 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.008875/0.7057, allocations: 5.352 MB / 0.8769 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.7089, allocations: 1.083 MB / 0.8779 GB, free: 4.777 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.7106, allocations: 0.6013 MB / 0.8785 GB, free: 4.492 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008352/0.7114, allocations: 1.069 MB / 0.8796 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.7134, allocations: 0.6763 MB / 0.8802 GB, free: 2.852 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.986e-06/0.7134, allocations: 0 / 0.8802 GB, free: 2.852 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.005663/0.7191, allocations: 1.751 MB / 0.8819 GB, free: 2.023 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.7191, allocations: 62.66 kB / 0.882 GB, free: 1.953 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.7215, allocations: 1.411 MB / 0.8834 GB, free: 1.191 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.7217, allocations: 38.27 kB / 0.8834 GB, free: 1.152 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.7223, allocations: 0.6348 MB / 0.884 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.7225, allocations: 210.8 kB / 0.8842 GB, free: 416 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.7229, allocations: 166.8 kB / 0.8844 GB, free: 308 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.723, allocations: 332.7 kB / 0.8847 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.7247, allocations: 0.5533 MB / 0.8852 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.7265, allocations: 0.7645 MB / 0.886 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.7297, allocations: 1.186 MB / 0.8871 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.7298, allocations: 1.156 kB / 0.8871 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004338/0.7341, allocations: 1.438 MB / 0.8885 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.7342, allocations: 11.91 kB / 0.8886 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.7342, allocations: 5.156 kB / 0.8886 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.7342, allocations: 7.531 kB / 0.8886 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.7355, allocations: 246.9 kB / 0.8888 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.7355, allocations: 13.19 kB / 0.8888 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.7372, allocations: 187.6 kB / 0.889 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7373, allocations: 41.81 kB / 0.889 GB, free: 13.62 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.0006808/0.738, allocations: 359.7 kB / 0.8894 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.7383, allocations: 147.1 kB / 0.8895 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.7423, allocations: 1.414 MB / 0.8909 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.7424, allocations: 15.48 kB / 0.8909 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.7424, allocations: 0 / 0.8909 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003546/0.7459, allocations: 1.264 MB / 0.8921 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/0.7523, allocations: 2.955 MB / 0.895 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7523, allocations: 4 kB / 0.895 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.7535, allocations: 207.7 kB / 0.8952 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.7535, allocations: 4 kB / 0.8952 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.7536, allocations: 19.98 kB / 0.8953 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.7536, allocations: 7.984 kB / 0.8953 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7536, allocations: 4 kB / 0.8953 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00566/0.7592, allocations: 2.234 MB / 0.8975 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/0.76, allocations: 343.1 kB / 0.8978 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.7603, allocations: 19.48 kB / 0.8978 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.7617, allocations: 123.8 kB / 0.8979 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.7618, allocations: 60.36 kB / 0.898 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.7619, allocations: 31.97 kB / 0.898 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001489/0.7634, allocations: 0.9905 MB / 0.899 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7634, allocations: 0 / 0.899 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001483/0.7649, allocations: 459.4 kB / 0.8994 GB, free: 4.105 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.0009485/0.7659, allocations: 461.3 kB / 0.8998 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003658/0.7695, allocations: 1.277 MB / 0.9011 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7696, allocations: 0 / 0.9011 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.7714, allocations: 0.6565 MB / 0.9017 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.7752, allocations: 0.7706 MB / 0.9025 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.78, allocations: 2.68 MB / 0.9051 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.7808, allocations: 1.213 MB / 0.9063 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.7813, allocations: 139.3 kB / 0.9064 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/0.7813, allocations: 0 / 0.9064 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.03735/0.8187, allocations: 26.34 MB / 0.9322 GB, free: 2.836 MB / 0.7169 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)