Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 303.6 MB, free: 8.027 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.001194/0.001194, allocations: 184.5 kB / 372.3 MB, free: 10.13 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.782/1.782, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0008047/0.000805, allocations: 94.28 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 12.5 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2989, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07921/0.3781, allocations: 55.77 MB / 1.035 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02605/0.4042, allocations: 12.24 MB / 1.047 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003993/0.4083, allocations: 55.62 kB / 1.047 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004174/0.4125, allocations: 0.7065 MB / 1.047 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.4229, allocations: 1.945 MB / 1.049 GB, free: 4.453 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.004715/0.4276, allocations: 1.181 MB / 1.05 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007288/0.4349, allocations: 4.793 MB / 1.055 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.4376, allocations: 1.088 MB / 1.056 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.441, allocations: 1.322 MB / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.4434, allocations: 1.085 MB / 1.058 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005425/0.444, allocations: 59.98 kB / 1.058 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.4479, allocations: 1.274 MB / 1.06 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007694/0.4487, allocations: 310.6 kB / 1.06 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.4507, allocations: 0.7946 MB / 1.061 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.4544, allocations: 2.011 MB / 1.063 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4544, allocations: 0 / 1.063 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4544, allocations: 0 / 1.063 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.419e-05/0.4545, allocations: 0 / 1.063 GB, free: 6.484 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.005115/0.4596, allocations: 1.871 MB / 1.065 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4597, allocations: 12.03 kB / 1.065 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.4634, allocations: 0.6425 MB / 1.065 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.4667, allocations: 1.365 MB / 1.067 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.4669, allocations: 141.4 kB / 1.067 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.4672, allocations: 103.9 kB / 1.067 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.4705, allocations: 1.338 MB / 1.068 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.4705, allocations: 0 / 1.068 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.4706, allocations: 40 kB / 1.068 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.4707, allocations: 24 kB / 1.068 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4671/0.9379, allocations: 1.371 MB / 1.07 GB, free: 90.29 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.008919/0.9468, allocations: 5.353 MB / 1.075 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005629/0.9525, allocations: 1.483 MB / 1.076 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.9543, allocations: 0.6243 MB / 1.077 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.955, allocations: 1.235 MB / 1.078 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/0.9569, allocations: 0.6841 MB / 1.079 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.676e-06/0.957, allocations: 0.8438 kB / 1.079 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.00546/0.9624, allocations: 1.778 MB / 1.08 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.9625, allocations: 62.22 kB / 1.08 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.9648, allocations: 1.248 MB / 1.082 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.965, allocations: 45.12 kB / 1.082 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/0.9656, allocations: 0.6481 MB / 1.082 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.9658, allocations: 239.8 kB / 1.083 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.9659, allocations: 14.94 kB / 1.083 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.966, allocations: 338.2 kB / 1.083 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.9677, allocations: 0.543 MB / 1.083 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.9695, allocations: 0.7677 MB / 1.084 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.9727, allocations: 1.189 MB / 1.085 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9727, allocations: 1.094 kB / 1.085 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00417/0.9769, allocations: 1.444 MB / 1.087 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.977, allocations: 210.7 kB / 1.087 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.9771, allocations: 2.969 kB / 1.087 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.9771, allocations: 9.375 kB / 1.087 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.9784, allocations: 275 kB / 1.087 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.9784, allocations: 7.359 kB / 1.087 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.9803, allocations: 241.6 kB / 1.087 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.9805, allocations: 36.78 kB / 1.088 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.9805, allocations: 3.25 kB / 1.088 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003538/0.984, allocations: 1.303 MB / 1.089 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.984, allocations: 2.281 kB / 1.089 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.9841, allocations: 6.969 kB / 1.089 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.9853, allocations: 273 kB / 1.089 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.9853, allocations: 11.3 kB / 1.089 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.9871, allocations: 233.6 kB / 1.089 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.9872, allocations: 34.98 kB / 1.089 GB, free: 80.53 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.0008596/0.9881, allocations: 417.5 kB / 1.09 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.9884, allocations: 145.4 kB / 1.09 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.9924, allocations: 1.505 MB / 1.091 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/0.9924, allocations: 17.2 kB / 1.091 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.9924, allocations: 6.688 kB / 1.091 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003419/0.9958, allocations: 1.282 MB / 1.093 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/1.004, allocations: 3.232 MB / 1.096 GB, free: 77.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.004, allocations: 3.75 kB / 1.096 GB, free: 77.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.005, allocations: 236.1 kB / 1.096 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/1.005, allocations: 7.406 kB / 1.096 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/1.005, allocations: 35.08 kB / 1.096 GB, free: 77.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/1.005, allocations: 12.45 kB / 1.096 GB, free: 77.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.005, allocations: 5.031 kB / 1.096 GB, free: 77.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005812/1.011, allocations: 2.302 MB / 1.098 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.012, allocations: 368.1 kB / 1.099 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/1.012, allocations: 28.17 kB / 1.099 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.014, allocations: 183.6 kB / 1.099 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.014, allocations: 73.97 kB / 1.099 GB, free: 76.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/1.014, allocations: 43.23 kB / 1.099 GB, free: 76.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001218/1.015, allocations: 0.8847 MB / 1.1 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.015, allocations: 1.156 kB / 1.1 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002394/1.018, allocations: 0.7806 MB / 1.101 GB, free: 75.85 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.001079/1.019, allocations: 0.5037 MB / 1.101 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005415/1.024, allocations: 2.072 MB / 1.103 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.024, allocations: 1.25 kB / 1.103 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/1.026, allocations: 0.7114 MB / 1.104 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/1.031, allocations: 0.7569 MB / 1.105 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/1.036, allocations: 3.161 MB / 1.108 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/1.036, allocations: 1.229 MB / 1.109 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001899/1.038, allocations: 366.7 kB / 1.109 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/1.039, allocations: 126.8 kB / 1.109 GB, free: 70.76 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/1.039, allocations: 0.9688 kB / 1.109 GB, free: 70.76 MB / 0.6823 GB Notification: Performance of Templates: time 0.04743/1.086, allocations: 30.39 MB / 1.139 GB, free: 46.4 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)