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.001477/0.001477, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 195.7 kB / 16.53 MB, free: 6.699 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.599/1.599, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.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.854/1.854, allocations: 292.3 MB / 0.5488 GB, free: 12.86 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.001489/0.00149, allocations: 71.61 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04894/0.2923, allocations: 53.43 MB / 0.8355 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.3114, allocations: 11.42 MB / 0.8467 GB, free: 12.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.314, allocations: 59.62 kB / 0.8468 GB, free: 12.37 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.316, allocations: 0.7605 MB / 0.8475 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006359/0.3224, allocations: 2.142 MB / 0.8496 GB, free: 9.449 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.326, allocations: 1.368 MB / 0.8509 GB, free: 8.094 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005419/0.3314, allocations: 3.895 MB / 0.8547 GB, free: 4.191 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.3335, allocations: 1.279 MB / 0.856 GB, free: 2.883 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.3371, allocations: 1.406 MB / 0.8573 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.339, allocations: 1.081 MB / 0.8584 GB, free: 400 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.3393, allocations: 139.9 kB / 0.8585 GB, free: 260 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.3421, allocations: 1.041 MB / 0.8596 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.3426, allocations: 438.4 kB / 0.86 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.3437, allocations: 0.8513 MB / 0.8608 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.3478, allocations: 2.559 MB / 0.8633 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3478, allocations: 0 / 0.8633 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3478, allocations: 3.938 kB / 0.8633 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.3479, allocations: 0 / 0.8633 GB, free: 11.36 MB / 0.6856 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.003934/0.3518, allocations: 2.006 MB / 0.8653 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3519, allocations: 12.03 kB / 0.8653 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.3554, allocations: 0.5686 MB / 0.8658 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.3579, allocations: 1.329 MB / 0.8671 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.358, allocations: 111.7 kB / 0.8672 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.3582, allocations: 99.98 kB / 0.8673 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.3613, allocations: 1.35 MB / 0.8686 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3613, allocations: 0 / 0.8686 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3614, allocations: 40 kB / 0.8687 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.406e-05/0.3615, allocations: 24 kB / 0.8687 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/0.3652, allocations: 1.429 MB / 0.8701 GB, free: 4.238 MB / 0.6856 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.00895/0.3742, allocations: 5.389 MB / 0.8754 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.3771, allocations: 1.075 MB / 0.8764 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.3786, allocations: 0.5958 MB / 0.877 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008868/0.3795, allocations: 1.069 MB / 0.878 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.3813, allocations: 0.6744 MB / 0.8787 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.946e-06/0.3814, allocations: 0 / 0.8787 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.005424/0.3868, allocations: 1.754 MB / 0.8804 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3869, allocations: 63.97 kB / 0.8805 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.3889, allocations: 1.405 MB / 0.8818 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.3891, allocations: 41.7 kB / 0.8819 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006117/0.3897, allocations: 0.6423 MB / 0.8825 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.39, allocations: 209 kB / 0.8827 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.3902, allocations: 170.4 kB / 0.8829 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3904, allocations: 334 kB / 0.8832 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.392, allocations: 0.5484 MB / 0.8837 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.3938, allocations: 0.7684 MB / 0.8845 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/0.397, allocations: 1.189 MB / 0.8856 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3971, allocations: 3.938 kB / 0.8856 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004053/0.4011, allocations: 1.432 MB / 0.887 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.4012, allocations: 7.938 kB / 0.8871 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4012, allocations: 8 kB / 0.8871 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.4012, allocations: 12.42 kB / 0.8871 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.4025, allocations: 247.7 kB / 0.8873 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.4025, allocations: 11.94 kB / 0.8873 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4042, allocations: 194.1 kB / 0.8875 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.4043, allocations: 47.91 kB / 0.8875 GB, free: 1.645 MB / 0.7012 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.0006271/0.4049, allocations: 353.5 kB / 0.8879 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.4052, allocations: 146.2 kB / 0.888 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.409, allocations: 1.415 MB / 0.8894 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.4091, allocations: 8 kB / 0.8894 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4091, allocations: 0 / 0.8894 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00323/0.4123, allocations: 1.271 MB / 0.8907 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/0.4185, allocations: 2.945 MB / 0.8935 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4186, allocations: 4 kB / 0.8935 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.4197, allocations: 203.9 kB / 0.8937 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.4197, allocations: 4 kB / 0.8937 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.4198, allocations: 23.97 kB / 0.8938 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.4198, allocations: 4 kB / 0.8938 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4198, allocations: 11.94 kB / 0.8938 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005477/0.4253, allocations: 2.223 MB / 0.8959 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/0.426, allocations: 358.9 kB / 0.8963 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.4262, allocations: 16 kB / 0.8963 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.4274, allocations: 115.9 kB / 0.8964 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.4276, allocations: 52.44 kB / 0.8965 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/0.4276, allocations: 44.03 kB / 0.8965 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001378/0.429, allocations: 0.9943 MB / 0.8975 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.429, allocations: 0 / 0.8975 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001261/0.4303, allocations: 467.3 kB / 0.8979 GB, free: 6.812 MB / 0.7169 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.0008837/0.4312, allocations: 458.6 kB / 0.8984 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003788/0.435, allocations: 1.328 MB / 0.8997 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.435, allocations: 4.125 kB / 0.8997 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.4368, allocations: 0.6516 MB / 0.9003 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/0.4405, allocations: 0.7733 MB / 0.901 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.4453, allocations: 2.658 MB / 0.9036 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/0.4461, allocations: 1.225 MB / 0.9048 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001481/0.4476, allocations: 306.4 kB / 0.9051 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.4479, allocations: 123.3 kB / 0.9053 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/0.4479, allocations: 0 / 0.9053 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.5492/0.9971, allocations: 30.37 MB / 0.9349 GB, free: 132.1 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)