Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.577/1.577, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 184.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008434/0.000843, allocations: 101 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004732, allocations: 12 kB / 0.9088 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7505, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9077/1.658, allocations: 420.7 MB / 1.437 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.659, allocations: 93.25 kB / 1.437 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.778/3.437, allocations: 0.6331 GB / 2.07 GB, free: 1.828 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.653e-06/3.437, allocations: 0 / 2.07 GB, free: 1.828 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001884/3.437, allocations: 43.98 kB / 2.07 GB, free: 1.785 MB / 0.948 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.004632/3.442, allocations: 2.075 MB / 2.072 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/3.442, allocations: 8.031 kB / 2.072 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/3.445, allocations: 0.631 MB / 2.073 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/3.449, allocations: 1.665 MB / 2.075 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/3.45, allocations: 149.9 kB / 2.075 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002942/3.45, allocations: 104.5 kB / 2.075 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/3.453, allocations: 1.35 MB / 2.076 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/3.453, allocations: 7.938 kB / 2.076 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/3.453, allocations: 36 kB / 2.076 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/3.453, allocations: 24 kB / 2.076 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/3.457, allocations: 1.397 MB / 2.078 GB, free: 10.17 MB / 0.9636 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.008622/3.466, allocations: 5.406 MB / 2.083 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/3.468, allocations: 0.9581 MB / 2.084 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/3.47, allocations: 0.6586 MB / 2.084 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000998/3.471, allocations: 1.247 MB / 2.086 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/3.472, allocations: 0.7483 MB / 2.086 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 3.367e-06/3.473, allocations: 4 kB / 2.086 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.005175/3.478, allocations: 1.852 MB / 2.088 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/3.478, allocations: 111.4 kB / 2.088 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/3.48, allocations: 1.312 MB / 2.09 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/3.48, allocations: 45.7 kB / 2.09 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/3.481, allocations: 0.6815 MB / 2.09 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/3.481, allocations: 228.7 kB / 2.091 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/3.481, allocations: 12 kB / 2.091 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001239/3.481, allocations: 337.9 kB / 2.091 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/3.483, allocations: 0.5602 MB / 2.091 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/3.484, allocations: 0.8282 MB / 2.092 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/3.487, allocations: 1.204 MB / 2.093 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/3.487, allocations: 4 kB / 2.093 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00381/3.491, allocations: 1.454 MB / 2.095 GB, free: 7.641 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/3.491, allocations: 215.8 kB / 2.095 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/3.491, allocations: 0 / 2.095 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/3.492, allocations: 8 kB / 2.095 GB, free: 7.375 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/3.493, allocations: 267.6 kB / 2.095 GB, free: 7.113 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.657e-05/3.493, allocations: 15.92 kB / 2.095 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/3.495, allocations: 223.1 kB / 2.096 GB, free: 6.879 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/3.495, allocations: 55.95 kB / 2.096 GB, free: 6.824 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/3.495, allocations: 8 kB / 2.096 GB, free: 6.816 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003338/3.498, allocations: 1.309 MB / 2.097 GB, free: 5.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/3.498, allocations: 4 kB / 2.097 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/3.498, allocations: 4 kB / 2.097 GB, free: 5.492 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/3.5, allocations: 267.9 kB / 2.097 GB, free: 5.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/3.5, allocations: 11.98 kB / 2.097 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/3.501, allocations: 227.1 kB / 2.097 GB, free: 4.996 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/3.502, allocations: 43.98 kB / 2.097 GB, free: 4.953 MB / 0.9792 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.001016/3.503, allocations: 424.9 kB / 2.098 GB, free: 4.527 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/3.503, allocations: 146.2 kB / 2.098 GB, free: 4.383 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/3.507, allocations: 1.526 MB / 2.099 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/3.507, allocations: 11.98 kB / 2.099 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/3.507, allocations: 4 kB / 2.099 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003162/3.51, allocations: 1.339 MB / 2.101 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5071/4.018, allocations: 3.542 MB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/4.018, allocations: 2.406 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/4.019, allocations: 235.5 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/4.019, allocations: 10.09 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/4.019, allocations: 27.97 kB / 2.105 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/4.019, allocations: 11.84 kB / 2.105 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/4.019, allocations: 5.969 kB / 2.105 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/4.024, allocations: 2.428 MB / 2.107 GB, free: 147.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/4.026, allocations: 480.4 kB / 2.107 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/4.026, allocations: 19.5 kB / 2.107 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/4.027, allocations: 182.9 kB / 2.108 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/4.027, allocations: 81.03 kB / 2.108 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/4.027, allocations: 48.25 kB / 2.108 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001323/4.029, allocations: 0.9249 MB / 2.109 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.6e-07/4.029, allocations: 0 / 2.109 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002291/4.031, allocations: 0.8382 MB / 2.109 GB, free: 147.6 MB / 0.9792 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.001475/4.032, allocations: 0.7902 MB / 2.11 GB, free: 147.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004691/4.037, allocations: 2.049 MB / 2.112 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/4.037, allocations: 0 / 2.112 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/4.039, allocations: 0.7186 MB / 2.113 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004582/4.043, allocations: 0.7846 MB / 2.114 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/4.048, allocations: 3.235 MB / 2.117 GB, free: 145.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/4.049, allocations: 1.247 MB / 2.118 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001823/4.05, allocations: 374.2 kB / 2.118 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/4.051, allocations: 132.6 kB / 2.118 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of SimCode: time 8.71e-07/4.051, allocations: 2.406 kB / 2.118 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.05339/4.104, allocations: 34.31 MB / 2.152 GB, free: 144.5 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)