Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.8/1.8, allocations: 287.5 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009918/0.0009919, allocations: 178.3 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009225, allocations: 98.67 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004027, allocations: 11.16 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05142/0.2885, allocations: 55.77 MB / 1.033 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02018/0.3088, allocations: 12.23 MB / 1.045 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.312, allocations: 55.62 kB / 1.045 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.3149, allocations: 0.7065 MB / 1.046 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006565/0.3215, allocations: 1.824 MB / 1.048 GB, free: 5.41 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.3257, allocations: 1.154 MB / 1.049 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007294/0.333, allocations: 4.794 MB / 1.053 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.3351, allocations: 1.08 MB / 1.054 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.3385, allocations: 1.295 MB / 1.056 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.3406, allocations: 1.097 MB / 1.057 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.3408, allocations: 60 kB / 1.057 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.3438, allocations: 0.9862 MB / 1.058 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.3441, allocations: 318.6 kB / 1.058 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005947/0.3447, allocations: 352.8 kB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.3473, allocations: 1.94 MB / 1.06 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3473, allocations: 0 / 1.06 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3473, allocations: 0 / 1.06 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.3473, allocations: 0 / 1.06 GB, free: 8.289 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003278/0.3506, allocations: 1.869 MB / 1.062 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3507, allocations: 12.03 kB / 1.062 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/0.354, allocations: 0.6425 MB / 1.063 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.3563, allocations: 1.368 MB / 1.064 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.3565, allocations: 145.4 kB / 1.064 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.3567, allocations: 104 kB / 1.064 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.3595, allocations: 1.326 MB / 1.066 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.3595, allocations: 4 kB / 1.066 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.3596, allocations: 39.94 kB / 1.066 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.3597, allocations: 24 kB / 1.066 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.3632, allocations: 1.374 MB / 1.067 GB, free: 1.223 MB / 0.6823 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.5148/0.878, allocations: 5.363 MB / 1.072 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005576/0.8836, allocations: 1.483 MB / 1.074 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.8855, allocations: 0.618 MB / 1.074 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008062/0.8863, allocations: 1.236 MB / 1.076 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002051/0.8884, allocations: 0.6838 MB / 1.076 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.666e-06/0.8884, allocations: 0 / 1.076 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005817/0.8942, allocations: 1.779 MB / 1.078 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.8943, allocations: 60.61 kB / 1.078 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.8966, allocations: 1.247 MB / 1.079 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.8968, allocations: 40.67 kB / 1.079 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/0.8974, allocations: 0.6503 MB / 1.08 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.8976, allocations: 238.5 kB / 1.08 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.8977, allocations: 16.22 kB / 1.08 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.8978, allocations: 337.7 kB / 1.081 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.8995, allocations: 0.5418 MB / 1.081 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.9013, allocations: 0.7755 MB / 1.082 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.9045, allocations: 1.183 MB / 1.083 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.9045, allocations: 1.641 kB / 1.083 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004181/0.9087, allocations: 1.449 MB / 1.084 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.9089, allocations: 210.8 kB / 1.085 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.9089, allocations: 3.281 kB / 1.085 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.909, allocations: 11.17 kB / 1.085 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.9103, allocations: 267.3 kB / 1.085 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.9103, allocations: 10.58 kB / 1.085 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.9123, allocations: 237.3 kB / 1.085 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.9125, allocations: 40.34 kB / 1.085 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.9125, allocations: 5.031 kB / 1.085 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003575/0.9161, allocations: 1.303 MB / 1.086 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.9161, allocations: 3.562 kB / 1.086 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.9161, allocations: 6.844 kB / 1.086 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.9173, allocations: 268.4 kB / 1.087 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.9174, allocations: 11.53 kB / 1.087 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.9192, allocations: 235.8 kB / 1.087 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/0.9193, allocations: 38.89 kB / 1.087 GB, free: 80.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007976/0.9201, allocations: 411.3 kB / 1.087 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.9203, allocations: 143.9 kB / 1.087 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.9243, allocations: 1.51 MB / 1.089 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.9244, allocations: 12.59 kB / 1.089 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.9244, allocations: 0.5625 kB / 1.089 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003315/0.9277, allocations: 1.285 MB / 1.09 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008033/0.9358, allocations: 3.233 MB / 1.093 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.9358, allocations: 5.516 kB / 1.093 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.937, allocations: 235 kB / 1.094 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/0.937, allocations: 8.891 kB / 1.094 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.9371, allocations: 37.23 kB / 1.094 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-05/0.9371, allocations: 10.69 kB / 1.094 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.9371, allocations: 6.734 kB / 1.094 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005474/0.9426, allocations: 2.291 MB / 1.096 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008527/0.9435, allocations: 379.2 kB / 1.096 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.9437, allocations: 25.02 kB / 1.096 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.9451, allocations: 185.6 kB / 1.096 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.9453, allocations: 64.7 kB / 1.097 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.9454, allocations: 51.77 kB / 1.097 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001302/0.9467, allocations: 0.8884 MB / 1.097 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9467, allocations: 0 / 1.097 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002196/0.9489, allocations: 0.7779 MB / 1.098 GB, free: 76.31 MB / 0.6823 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 (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.9499, allocations: 487.9 kB / 1.099 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006647/0.9566, allocations: 2.068 MB / 1.101 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.9566, allocations: 1.25 kB / 1.101 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.9587, allocations: 0.7134 MB / 1.101 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004941/0.9637, allocations: 0.7651 MB / 1.102 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.9687, allocations: 3.164 MB / 1.105 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.9695, allocations: 1.228 MB / 1.106 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001937/0.9715, allocations: 362.6 kB / 1.107 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.9719, allocations: 125.8 kB / 1.107 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/0.9719, allocations: 0 / 1.107 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of Templates: time 0.04662/1.019, allocations: 29.96 MB / 1.136 GB, free: 49.15 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)