Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007478/0.0007478, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00591/0.00591, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.554/1.554, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 11.47 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3885, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06255/0.4511, allocations: 59.12 MB / 1.132 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.4723, allocations: 13.14 MB / 1.145 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.4749, allocations: 59.56 kB / 1.145 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.4775, allocations: 0.8121 MB / 1.146 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0071/0.4846, allocations: 2.142 MB / 1.148 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/0.4889, allocations: 1.415 MB / 1.149 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008553/0.4974, allocations: 5.569 MB / 1.154 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.4997, allocations: 1.107 MB / 1.156 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.503, allocations: 1.322 MB / 1.157 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.505, allocations: 1.166 MB / 1.158 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.5052, allocations: 60 kB / 1.158 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.5085, allocations: 1.364 MB / 1.159 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.5089, allocations: 334.4 kB / 1.16 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.51, allocations: 0.837 MB / 1.16 GB, free: 14.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.5139, allocations: 2.663 MB / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5139, allocations: 0 / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5139, allocations: 7.938 kB / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.5139, allocations: 0 / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003609/0.5175, allocations: 1.89 MB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5176, allocations: 8.031 kB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/0.5212, allocations: 0.58 MB / 1.166 GB, free: 9.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.5236, allocations: 1.406 MB / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.5238, allocations: 145.4 kB / 1.167 GB, free: 7.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.524, allocations: 100 kB / 1.167 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.527, allocations: 1.358 MB / 1.168 GB, free: 6.488 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.5271, allocations: 7.891 kB / 1.168 GB, free: 6.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.5272, allocations: 40 kB / 1.168 GB, free: 6.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.5272, allocations: 24 kB / 1.169 GB, free: 6.418 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/0.5311, allocations: 1.393 MB / 1.17 GB, free: 5.027 MB / 0.92 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.007273/0.5384, allocations: 5.489 MB / 1.175 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005625/0.544, allocations: 1.421 MB / 1.177 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.5457, allocations: 0.6315 MB / 1.177 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008716/0.5466, allocations: 1.24 MB / 1.178 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.5485, allocations: 0.6939 MB / 1.179 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.146e-06/0.5485, allocations: 4 kB / 1.179 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.005325/0.5538, allocations: 1.781 MB / 1.181 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5539, allocations: 59.97 kB / 1.181 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.5557, allocations: 1.275 MB / 1.182 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.5558, allocations: 45.7 kB / 1.182 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.5565, allocations: 0.658 MB / 1.183 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.5568, allocations: 240.5 kB / 1.183 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.5569, allocations: 73.69 kB / 1.183 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5571, allocations: 333.9 kB / 1.183 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.5587, allocations: 0.5601 MB / 1.184 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.5605, allocations: 0.7873 MB / 1.185 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.5637, allocations: 1.207 MB / 1.186 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5638, allocations: 4 kB / 1.186 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004021/0.5678, allocations: 1.477 MB / 1.187 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.568, allocations: 216.1 kB / 1.188 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.568, allocations: 4 kB / 1.188 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5681, allocations: 11.94 kB / 1.188 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.5694, allocations: 275.6 kB / 1.188 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.5694, allocations: 4 kB / 1.188 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.5713, allocations: 250.9 kB / 1.188 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.5715, allocations: 35.98 kB / 1.188 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5715, allocations: 3.938 kB / 1.188 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003856/0.5753, allocations: 1.321 MB / 1.189 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5754, allocations: 4 kB / 1.189 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5754, allocations: 8 kB / 1.189 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.5768, allocations: 272 kB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.5768, allocations: 15.92 kB / 1.19 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.5791, allocations: 235.1 kB / 1.19 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.5792, allocations: 39.97 kB / 1.19 GB, free: 15.46 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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.001205/0.5805, allocations: 413.6 kB / 1.19 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000543/0.581, allocations: 142.2 kB / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004534/0.5855, allocations: 1.524 MB / 1.192 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.5856, allocations: 11.98 kB / 1.192 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.5856, allocations: 3.938 kB / 1.192 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003462/0.5891, allocations: 1.296 MB / 1.193 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007876/0.597, allocations: 3.276 MB / 1.197 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.597, allocations: 4 kB / 1.197 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.5982, allocations: 239.8 kB / 1.197 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.021e-05/0.5983, allocations: 8 kB / 1.197 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.059e-05/0.5983, allocations: 27.97 kB / 1.197 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.5984, allocations: 11.88 kB / 1.197 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.5984, allocations: 8 kB / 1.197 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006177/0.6046, allocations: 2.317 MB / 1.199 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.6062, allocations: 370.8 kB / 1.199 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005765/0.6068, allocations: 16 kB / 1.199 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/0.6088, allocations: 199.5 kB / 1.2 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.609, allocations: 68.42 kB / 1.2 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.6091, allocations: 39.97 kB / 1.2 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002084/0.6112, allocations: 0.9168 MB / 1.201 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6113, allocations: 0 / 1.201 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003478/0.6147, allocations: 0.7914 MB / 1.201 GB, free: 3.484 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.001534/0.6163, allocations: 0.4893 MB / 1.202 GB, free: 3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006076/0.6224, allocations: 2.101 MB / 1.204 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6224, allocations: 0 / 1.204 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.6245, allocations: 0.7147 MB / 1.205 GB, free: 164 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/0.63, allocations: 0.7664 MB / 1.205 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007661/0.6377, allocations: 3.462 MB / 1.209 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.6389, allocations: 1.238 MB / 1.21 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002181/0.6411, allocations: 367.6 kB / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.6416, allocations: 131.4 kB / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of SimCode: time 1.242e-06/0.6416, allocations: 0 / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.059/0.7006, allocations: 30.82 MB / 1.241 GB, free: 11.63 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)