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.001915/0.001914, 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.00261/0.00261, allocations: 195 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.45 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3422, allocations: 159.9 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06885/0.4111, allocations: 60.61 MB / 1.127 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.4319, allocations: 13.21 MB / 1.14 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/0.4353, allocations: 71.56 kB / 1.14 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.4388, allocations: 0.9629 MB / 1.141 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007447/0.4463, allocations: 2.327 MB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.4508, allocations: 1.559 MB / 1.145 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006242/0.4571, allocations: 4.318 MB / 1.149 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.4596, allocations: 1.353 MB / 1.151 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004035/0.4637, allocations: 1.553 MB / 1.152 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.4661, allocations: 1.209 MB / 1.153 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.4666, allocations: 147.9 kB / 1.153 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.4706, allocations: 1.474 MB / 1.155 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.4713, allocations: 414.5 kB / 1.155 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.4733, allocations: 0.9135 MB / 1.156 GB, free: 104 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006364/0.4797, allocations: 2.746 MB / 1.159 GB, free: 13.35 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4797, allocations: 0 / 1.159 GB, free: 13.35 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4797, allocations: 0 / 1.159 GB, free: 13.35 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000113/0.4798, allocations: 4 kB / 1.159 GB, free: 13.34 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.00598/0.4858, allocations: 2.189 MB / 1.161 GB, free: 11.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4859, allocations: 12.03 kB / 1.161 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/0.4897, allocations: 0.5565 MB / 1.162 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.4926, allocations: 1.367 MB / 1.163 GB, free: 9.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.4928, allocations: 149.3 kB / 1.163 GB, free: 8.941 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.4931, allocations: 99.98 kB / 1.163 GB, free: 8.844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.4964, allocations: 1.326 MB / 1.164 GB, free: 7.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.4964, allocations: 0 / 1.164 GB, free: 7.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4965, allocations: 40 kB / 1.164 GB, free: 7.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.4966, allocations: 27.98 kB / 1.164 GB, free: 7.414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.5004, allocations: 1.331 MB / 1.166 GB, free: 6.086 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.008486/0.5089, allocations: 5.477 MB / 1.171 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005472/0.5144, allocations: 1.342 MB / 1.172 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.516, allocations: 0.6075 MB / 1.173 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000898/0.5169, allocations: 1.228 MB / 1.174 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/0.5188, allocations: 0.6588 MB / 1.175 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 5.109e-06/0.5188, allocations: 3.938 kB / 1.175 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.005336/0.5242, allocations: 1.691 MB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.5242, allocations: 67.97 kB / 1.177 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.5265, allocations: 1.287 MB / 1.178 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5267, allocations: 45.7 kB / 1.178 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/0.5273, allocations: 0.6541 MB / 1.179 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.5276, allocations: 240.6 kB / 1.179 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.528, allocations: 178.4 kB / 1.179 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5281, allocations: 334 kB / 1.179 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5298, allocations: 0.5317 MB / 1.18 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.5316, allocations: 0.7571 MB / 1.181 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/0.5348, allocations: 1.148 MB / 1.182 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5348, allocations: 0 / 1.182 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004096/0.5389, allocations: 1.411 MB / 1.183 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.539, allocations: 33.7 kB / 1.183 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.539, allocations: 4 kB / 1.183 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.539, allocations: 8.25 kB / 1.183 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.5402, allocations: 267.6 kB / 1.183 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.5403, allocations: 8 kB / 1.183 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.5419, allocations: 187 kB / 1.183 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5421, allocations: 39.98 kB / 1.184 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002014/0.5441, allocations: 0.7836 MB / 1.184 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001785/0.5459, allocations: 0.7537 MB / 1.185 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003071/0.549, allocations: 1.125 MB / 1.186 GB, free: 224 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.549, allocations: 0 / 1.186 GB, free: 224 kB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003945/0.5529, allocations: 1.399 MB / 1.187 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.553, allocations: 29.7 kB / 1.188 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.553, allocations: 7.938 kB / 1.188 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.553, allocations: 8 kB / 1.188 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.5542, allocations: 251.7 kB / 1.188 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.5543, allocations: 11.88 kB / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.5558, allocations: 179.3 kB / 1.188 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/0.5559, allocations: 39.97 kB / 1.188 GB, free: 14.28 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.0003072/0.5562, allocations: 232.1 kB / 1.188 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/0.5567, allocations: 154.2 kB / 1.188 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/0.5609, allocations: 1.462 MB / 1.19 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.5609, allocations: 11.94 kB / 1.19 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5609, allocations: 4 kB / 1.19 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003188/0.5641, allocations: 1.222 MB / 1.191 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007374/0.5715, allocations: 3.19 MB / 1.194 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.5715, allocations: 4 kB / 1.194 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5727, allocations: 228.2 kB / 1.194 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.2e-05/0.5727, allocations: 8 kB / 1.194 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.5728, allocations: 23.92 kB / 1.194 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.5728, allocations: 15.94 kB / 1.194 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.5729, allocations: 8 kB / 1.194 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/0.5785, allocations: 2.212 MB / 1.197 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008281/0.5794, allocations: 346.9 kB / 1.197 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/0.5798, allocations: 23.94 kB / 1.197 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.5813, allocations: 127.9 kB / 1.197 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5815, allocations: 72.36 kB / 1.197 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5816, allocations: 43.97 kB / 1.197 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001844/0.5835, allocations: 0.9207 MB / 1.198 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.884e-06/0.5835, allocations: 0 / 1.198 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00441/0.5879, allocations: 0.807 MB / 1.199 GB, free: 2.879 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.001982/0.5899, allocations: 0.516 MB / 1.199 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007428/0.5974, allocations: 2.062 MB / 1.201 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.5974, allocations: 0 / 1.201 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.5996, allocations: 0.6835 MB / 1.202 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/0.6044, allocations: 0.756 MB / 1.203 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.6117, allocations: 2.899 MB / 1.206 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.6129, allocations: 1.234 MB / 1.207 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002109/0.615, allocations: 363.6 kB / 1.207 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.6155, allocations: 127.3 kB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of SimCode: time 1.223e-06/0.6155, allocations: 0 / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of Templates: time 0.05953/0.675, allocations: 31.64 MB / 1.238 GB, free: 10.88 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)