Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001162/0.001162, allocations: 192.3 kB / 16.14 MB, free: 6.688 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 65.25 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.382, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06078/0.4428, allocations: 53.13 MB / 1.119 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.4598, allocations: 11.56 MB / 1.131 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/0.4624, allocations: 59.62 kB / 1.131 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.4649, allocations: 0.6256 MB / 1.131 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.4714, allocations: 1.991 MB / 1.133 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.475, allocations: 1.252 MB / 1.135 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006664/0.4817, allocations: 5.045 MB / 1.139 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.4834, allocations: 1.091 MB / 1.141 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.4858, allocations: 1.201 MB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.4871, allocations: 1.085 MB / 1.143 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.4873, allocations: 75.94 kB / 1.143 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.4898, allocations: 0.9471 MB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.4902, allocations: 370.6 kB / 1.144 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.4913, allocations: 0.7887 MB / 1.145 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00368/0.4949, allocations: 2.504 MB / 1.147 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.495, allocations: 0 / 1.147 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.02e-07/0.495, allocations: 3.938 kB / 1.147 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.495, allocations: 0 / 1.147 GB, free: 8.879 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.003996/0.499, allocations: 2.022 MB / 1.149 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.4991, allocations: 8.031 kB / 1.149 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.5026, allocations: 0.5725 MB / 1.15 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.505, allocations: 1.364 MB / 1.151 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.5052, allocations: 115.7 kB / 1.151 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.5054, allocations: 99.94 kB / 1.151 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.5084, allocations: 1.358 MB / 1.153 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.5084, allocations: 4 kB / 1.153 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5086, allocations: 36 kB / 1.153 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.5086, allocations: 28 kB / 1.153 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/0.5124, allocations: 1.429 MB / 1.154 GB, free: 1.695 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.008448/0.5208, allocations: 5.366 MB / 1.159 GB, free: 12.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.5238, allocations: 1.064 MB / 1.16 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.5254, allocations: 0.6036 MB / 1.161 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007779/0.5262, allocations: 1.069 MB / 1.162 GB, free: 9.086 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.5281, allocations: 0.6782 MB / 1.163 GB, free: 8.398 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.955e-06/0.5281, allocations: 0 / 1.163 GB, free: 8.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005337/0.5334, allocations: 1.758 MB / 1.164 GB, free: 6.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.5335, allocations: 55.97 kB / 1.165 GB, free: 6.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.5353, allocations: 1.401 MB / 1.166 GB, free: 5.152 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.5354, allocations: 41.7 kB / 1.166 GB, free: 5.105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/0.536, allocations: 0.6424 MB / 1.167 GB, free: 4.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.5363, allocations: 208.9 kB / 1.167 GB, free: 4.246 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.5366, allocations: 166.5 kB / 1.167 GB, free: 4.078 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5367, allocations: 334 kB / 1.167 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.5383, allocations: 0.5523 MB / 1.168 GB, free: 3.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.5401, allocations: 0.7535 MB / 1.169 GB, free: 2.363 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.5433, allocations: 1.197 MB / 1.17 GB, free: 1.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5433, allocations: 0 / 1.17 GB, free: 1.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003991/0.5473, allocations: 1.436 MB / 1.171 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.5474, allocations: 13.5 kB / 1.171 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.5474, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.5474, allocations: 8 kB / 1.171 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.5487, allocations: 252 kB / 1.171 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.5488, allocations: 15.92 kB / 1.171 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.5504, allocations: 218.9 kB / 1.172 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.5505, allocations: 39.97 kB / 1.172 GB, free: 15.12 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.0006536/0.5512, allocations: 354.1 kB / 1.172 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.5514, allocations: 146.2 kB / 1.172 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.5552, allocations: 1.414 MB / 1.173 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.5553, allocations: 12 kB / 1.173 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5553, allocations: 3.938 kB / 1.173 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003273/0.5586, allocations: 1.263 MB / 1.175 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/0.5644, allocations: 2.953 MB / 1.178 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5644, allocations: 4.062 kB / 1.178 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.5655, allocations: 207.7 kB / 1.178 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.5656, allocations: 4 kB / 1.178 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.5656, allocations: 31.97 kB / 1.178 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.515e-06/0.5657, allocations: 4 kB / 1.178 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5657, allocations: 3.938 kB / 1.178 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/0.5711, allocations: 2.227 MB / 1.18 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/0.572, allocations: 359 kB / 1.18 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.5722, allocations: 16 kB / 1.18 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.5735, allocations: 131.9 kB / 1.181 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.5737, allocations: 60.3 kB / 1.181 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.5738, allocations: 39.97 kB / 1.181 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001468/0.5753, allocations: 0.983 MB / 1.182 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5753, allocations: 0 / 1.182 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001491/0.5768, allocations: 451.4 kB / 1.182 GB, free: 4.285 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.0009792/0.5778, allocations: 441.6 kB / 1.182 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003671/0.5815, allocations: 1.274 MB / 1.184 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5815, allocations: 0 / 1.184 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.5832, allocations: 0.6558 MB / 1.184 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.5866, allocations: 0.7229 MB / 1.185 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.5914, allocations: 3.133 MB / 1.188 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.5923, allocations: 1.221 MB / 1.189 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001346/0.5936, allocations: 310.3 kB / 1.19 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.594, allocations: 119.4 kB / 1.19 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of SimCode: time 2.074e-06/0.594, allocations: 0 / 1.19 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.04967/0.6437, allocations: 28.66 MB / 1.218 GB, free: 15.99 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)