Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001165/0.001165, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001357/0.001357, allocations: 197.2 kB / 16.26 MB, free: 6.621 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.58 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3489, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05744/0.4063, allocations: 60.1 MB / 1.126 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.4265, allocations: 13.12 MB / 1.139 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/0.4302, allocations: 67.56 kB / 1.139 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.4333, allocations: 0.8434 MB / 1.14 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.4409, allocations: 2.162 MB / 1.142 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005207/0.4461, allocations: 1.438 MB / 1.144 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007521/0.4537, allocations: 4.353 MB / 1.148 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.4559, allocations: 1.322 MB / 1.149 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.4602, allocations: 1.592 MB / 1.151 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.4621, allocations: 1.248 MB / 1.152 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.4623, allocations: 140 kB / 1.152 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.4655, allocations: 1.489 MB / 1.153 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.4659, allocations: 418.5 kB / 1.154 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.467, allocations: 0.9173 MB / 1.155 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.4711, allocations: 2.769 MB / 1.157 GB, free: 14.54 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4711, allocations: 4 kB / 1.158 GB, free: 14.53 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4711, allocations: 4 kB / 1.158 GB, free: 14.53 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.4712, allocations: 0 / 1.158 GB, free: 14.53 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.003887/0.475, allocations: 2.185 MB / 1.16 GB, free: 12.28 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4751, allocations: 8.031 kB / 1.16 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.4788, allocations: 0.5565 MB / 1.16 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.481, allocations: 1.406 MB / 1.162 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.4812, allocations: 149.4 kB / 1.162 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.4813, allocations: 100 kB / 1.162 GB, free: 9.996 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.4843, allocations: 1.326 MB / 1.163 GB, free: 8.633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.4844, allocations: 8 kB / 1.163 GB, free: 8.625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.4845, allocations: 36 kB / 1.163 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.4845, allocations: 28 kB / 1.163 GB, free: 8.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.4881, allocations: 1.327 MB / 1.164 GB, free: 7.238 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.008353/0.4965, allocations: 5.438 MB / 1.17 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/0.502, allocations: 1.338 MB / 1.171 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.5037, allocations: 0.6167 MB / 1.172 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.5049, allocations: 1.239 MB / 1.173 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.5067, allocations: 0.6587 MB / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 4.037e-06/0.5068, allocations: 0 / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.005551/0.5123, allocations: 1.688 MB / 1.175 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.5124, allocations: 59.97 kB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.5154, allocations: 1.275 MB / 1.176 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.5156, allocations: 45.7 kB / 1.177 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008574/0.5165, allocations: 0.6618 MB / 1.177 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.5169, allocations: 240.5 kB / 1.177 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004862/0.5174, allocations: 178.4 kB / 1.178 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.5176, allocations: 338 kB / 1.178 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.5194, allocations: 0.5278 MB / 1.178 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.5213, allocations: 0.7483 MB / 1.179 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.5245, allocations: 1.144 MB / 1.18 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.5246, allocations: 8 kB / 1.18 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004138/0.5287, allocations: 1.403 MB / 1.182 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.5288, allocations: 41.75 kB / 1.182 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5288, allocations: 4 kB / 1.182 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.5288, allocations: 7.938 kB / 1.182 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.5301, allocations: 255.6 kB / 1.182 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.5301, allocations: 8 kB / 1.182 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.532, allocations: 227 kB / 1.182 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.5322, allocations: 39.98 kB / 1.182 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002004/0.5342, allocations: 0.7796 MB / 1.183 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00174/0.5359, allocations: 0.7533 MB / 1.184 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003087/0.539, allocations: 1.128 MB / 1.185 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.539, allocations: 0 / 1.185 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003973/0.543, allocations: 1.399 MB / 1.186 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.5431, allocations: 34.58 kB / 1.186 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5431, allocations: 4 kB / 1.186 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5431, allocations: 8 kB / 1.186 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5444, allocations: 255.9 kB / 1.186 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.5444, allocations: 11.94 kB / 1.186 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.5464, allocations: 219.2 kB / 1.187 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.5466, allocations: 47.97 kB / 1.187 GB, free: 15.41 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.0003799/0.5469, allocations: 232 kB / 1.187 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005246/0.5475, allocations: 142.2 kB / 1.187 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/0.5516, allocations: 1.462 MB / 1.189 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.5516, allocations: 11.94 kB / 1.189 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5517, allocations: 0 / 1.189 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003203/0.5549, allocations: 1.23 MB / 1.19 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/0.5618, allocations: 3.187 MB / 1.193 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.5619, allocations: 4 kB / 1.193 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.563, allocations: 220 kB / 1.193 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.5631, allocations: 8 kB / 1.193 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/0.5632, allocations: 31.92 kB / 1.193 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.5632, allocations: 15.94 kB / 1.193 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5632, allocations: 4 kB / 1.193 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/0.5686, allocations: 2.216 MB / 1.195 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/0.5693, allocations: 350.8 kB / 1.196 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/0.5696, allocations: 19.94 kB / 1.196 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.5712, allocations: 163.8 kB / 1.196 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.5714, allocations: 72.36 kB / 1.196 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.5715, allocations: 35.97 kB / 1.196 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001517/0.573, allocations: 0.9129 MB / 1.197 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.573, allocations: 0 / 1.197 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00261/0.5757, allocations: 0.7954 MB / 1.198 GB, free: 4.004 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.001272/0.5769, allocations: 0.5051 MB / 1.198 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005868/0.5828, allocations: 2.058 MB / 1.2 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.5828, allocations: 0 / 1.2 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.5848, allocations: 0.6835 MB / 1.201 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/0.5888, allocations: 0.7681 MB / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/0.5959, allocations: 3.387 MB / 1.205 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.597, allocations: 1.234 MB / 1.206 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002059/0.599, allocations: 367.6 kB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.5995, allocations: 127.4 kB / 1.206 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of SimCode: time 1.643e-06/0.5995, allocations: 0 / 1.206 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.05928/0.6588, allocations: 31 MB / 1.237 GB, free: 12.14 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)