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.666/1.666, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001017/0.001017, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.515/1.515, allocations: 205.4 MB / 0.6317 GB, free: 9.867 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.0008469/0.0008467, allocations: 100.9 kB / 0.745 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 12.25 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.291, allocations: 417.3 MB / 1.388 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.292, allocations: 95.12 kB / 1.388 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.447/3.738, allocations: 0.6211 GB / 2.009 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.016e-06/3.739, allocations: 0 / 2.009 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001606/3.739, allocations: 43.98 kB / 2.009 GB, free: 123.6 MB / 0.9323 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.00537/3.744, allocations: 2.055 MB / 2.011 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/3.744, allocations: 8.031 kB / 2.011 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/3.748, allocations: 0.631 MB / 2.012 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/3.752, allocations: 1.628 MB / 2.014 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/3.752, allocations: 149.9 kB / 2.014 GB, free: 119 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/3.752, allocations: 100.6 kB / 2.014 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/3.755, allocations: 1.342 MB / 2.015 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/3.755, allocations: 7.938 kB / 2.015 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/3.755, allocations: 36 kB / 2.015 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/3.755, allocations: 24 kB / 2.015 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/3.758, allocations: 1.378 MB / 2.017 GB, free: 116 MB / 0.9323 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.008399/3.767, allocations: 5.36 MB / 2.022 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/3.772, allocations: 1.354 MB / 2.023 GB, free: 109 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/3.774, allocations: 0.6471 MB / 2.024 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/3.775, allocations: 1.243 MB / 2.025 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/3.777, allocations: 0.7405 MB / 2.026 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 5.35e-06/3.777, allocations: 3.938 kB / 2.026 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.005368/3.782, allocations: 1.821 MB / 2.028 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/3.782, allocations: 115.4 kB / 2.028 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/3.784, allocations: 1.255 MB / 2.029 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/3.784, allocations: 45.7 kB / 2.029 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005523/3.785, allocations: 0.6658 MB / 2.03 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/3.785, allocations: 232.7 kB / 2.03 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/3.785, allocations: 8 kB / 2.03 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/3.785, allocations: 341.9 kB / 2.03 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/3.787, allocations: 0.5445 MB / 2.031 GB, free: 101 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/3.788, allocations: 0.8166 MB / 2.031 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/3.791, allocations: 1.192 MB / 2.033 GB, free: 98.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/3.791, allocations: 0 / 2.033 GB, free: 98.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003634/3.795, allocations: 1.434 MB / 2.034 GB, free: 97.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/3.795, allocations: 209.8 kB / 2.034 GB, free: 97.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/3.795, allocations: 0 / 2.034 GB, free: 97.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/3.795, allocations: 8 kB / 2.034 GB, free: 97.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/3.796, allocations: 271.6 kB / 2.035 GB, free: 96.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/3.796, allocations: 4 kB / 2.035 GB, free: 96.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/3.798, allocations: 242.6 kB / 2.035 GB, free: 96.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/3.798, allocations: 51.97 kB / 2.035 GB, free: 96.55 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/3.798, allocations: 4 kB / 2.035 GB, free: 96.55 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003113/3.801, allocations: 1.282 MB / 2.036 GB, free: 95.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/3.802, allocations: 0 / 2.036 GB, free: 95.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/3.802, allocations: 8 kB / 2.036 GB, free: 95.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/3.803, allocations: 271.9 kB / 2.036 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/3.803, allocations: 7.984 kB / 2.036 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/3.805, allocations: 227.2 kB / 2.037 GB, free: 94.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/3.805, allocations: 47.97 kB / 2.037 GB, free: 94.71 MB / 0.9323 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 (87): * Single equations (assignments): 86 * 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.00101/3.806, allocations: 416.8 kB / 2.037 GB, free: 94.29 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/3.806, allocations: 142.2 kB / 2.037 GB, free: 94.15 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/3.81, allocations: 1.498 MB / 2.039 GB, free: 92.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/3.81, allocations: 12 kB / 2.039 GB, free: 92.63 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/3.81, allocations: 0 / 2.039 GB, free: 92.63 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002902/3.813, allocations: 1.324 MB / 2.04 GB, free: 91.27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/3.82, allocations: 3.488 MB / 2.043 GB, free: 87.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/3.82, allocations: 8 kB / 2.043 GB, free: 87.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/3.821, allocations: 244.2 kB / 2.044 GB, free: 87.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/3.821, allocations: 8 kB / 2.044 GB, free: 87.37 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/3.821, allocations: 27.97 kB / 2.044 GB, free: 87.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/3.821, allocations: 11.94 kB / 2.044 GB, free: 87.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/3.821, allocations: 4 kB / 2.044 GB, free: 87.33 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/3.826, allocations: 2.387 MB / 2.046 GB, free: 84.87 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/3.828, allocations: 475.8 kB / 2.046 GB, free: 84.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005176/3.828, allocations: 16 kB / 2.046 GB, free: 84.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/3.83, allocations: 183.7 kB / 2.047 GB, free: 84.17 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/3.83, allocations: 76.34 kB / 2.047 GB, free: 84.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.202e-05/3.83, allocations: 47.95 kB / 2.047 GB, free: 84.05 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0013/3.831, allocations: 0.8851 MB / 2.048 GB, free: 83.16 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/3.831, allocations: 0 / 2.048 GB, free: 83.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002744/3.834, allocations: 0.8266 MB / 2.048 GB, free: 82.34 MB / 0.9323 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.001464/3.836, allocations: 0.7796 MB / 2.049 GB, free: 81.61 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004902/3.84, allocations: 2.035 MB / 2.051 GB, free: 79.55 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/3.841, allocations: 0 / 2.051 GB, free: 79.55 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/3.842, allocations: 0.7147 MB / 2.052 GB, free: 78.83 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/3.847, allocations: 0.7824 MB / 2.053 GB, free: 78.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/3.852, allocations: 3.171 MB / 2.056 GB, free: 74.85 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/3.853, allocations: 1.23 MB / 2.057 GB, free: 73.59 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002004/3.855, allocations: 373.5 kB / 2.057 GB, free: 73.25 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/3.855, allocations: 123.4 kB / 2.057 GB, free: 73.12 MB / 0.9323 GB Notification: Performance of SimCode: time 1.783e-06/3.855, allocations: 0 / 2.057 GB, free: 73.12 MB / 0.9323 GB Notification: Performance of Templates: time 0.05413/3.909, allocations: 34.05 MB / 2.091 GB, free: 39.61 MB / 0.9323 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)