Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.636/2.636, allocations: 287.4 MB / 303.2 MB, free: 8.242 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.001316/0.001316, allocations: 182.9 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009119/0.0009117, allocations: 108.1 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005197/0.0005198, allocations: 16.38 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.48, allocations: 417 MB / 1.386 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/1.48, allocations: 94.58 kB / 1.387 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.324/4.804, allocations: 0.6217 GB / 2.008 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.424e-06/4.804, allocations: 0 / 2.008 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002154/4.804, allocations: 50.44 kB / 2.008 GB, free: 126.2 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.007085/4.811, allocations: 2.081 MB / 2.01 GB, free: 124 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/4.811, allocations: 12.03 kB / 2.01 GB, free: 124 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006447/4.818, allocations: 0.631 MB / 2.011 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005318/4.823, allocations: 1.657 MB / 2.013 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/4.823, allocations: 149.9 kB / 2.013 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/4.824, allocations: 108.5 kB / 2.013 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/4.829, allocations: 1.354 MB / 2.014 GB, free: 120 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/4.829, allocations: 0 / 2.014 GB, free: 120 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/4.829, allocations: 36 kB / 2.014 GB, free: 120 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/4.829, allocations: 28 kB / 2.014 GB, free: 120 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00638/4.835, allocations: 1.401 MB / 2.016 GB, free: 118.6 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.01168/4.847, allocations: 5.416 MB / 2.021 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/4.851, allocations: 1.112 MB / 2.022 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/4.854, allocations: 0.6543 MB / 2.023 GB, free: 111 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009878/4.855, allocations: 1.248 MB / 2.024 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003183/4.859, allocations: 0.7213 MB / 2.024 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=69): time 5.491e-06/4.859, allocations: 0 / 2.024 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69): time 0.009223/4.868, allocations: 1.867 MB / 2.026 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/4.868, allocations: 59.97 kB / 2.026 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/4.871, allocations: 1.296 MB / 2.028 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003649/4.871, allocations: 49.64 kB / 2.028 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/4.872, allocations: 0.6662 MB / 2.028 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/4.872, allocations: 236.6 kB / 2.029 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/4.872, allocations: 16 kB / 2.029 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/4.872, allocations: 333.9 kB / 2.029 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/4.875, allocations: 0.5602 MB / 2.029 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/4.878, allocations: 0.8253 MB / 2.03 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005495/4.884, allocations: 1.212 MB / 2.031 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/4.884, allocations: 0 / 2.031 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006641/4.89, allocations: 1.465 MB / 2.033 GB, free: 99.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/4.891, allocations: 206.2 kB / 2.033 GB, free: 99.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/4.891, allocations: 7.984 kB / 2.033 GB, free: 99.72 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/4.891, allocations: 8 kB / 2.033 GB, free: 99.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/4.893, allocations: 267.6 kB / 2.033 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/4.893, allocations: 7.938 kB / 2.033 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/4.896, allocations: 231.1 kB / 2.034 GB, free: 99.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/4.897, allocations: 51.97 kB / 2.034 GB, free: 99.17 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/4.897, allocations: 4 kB / 2.034 GB, free: 99.16 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006308/4.903, allocations: 1.309 MB / 2.035 GB, free: 97.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/4.903, allocations: 4 kB / 2.035 GB, free: 97.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/4.903, allocations: 8 kB / 2.035 GB, free: 97.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/4.905, allocations: 260 kB / 2.035 GB, free: 97.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/4.905, allocations: 8 kB / 2.035 GB, free: 97.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/4.909, allocations: 223.2 kB / 2.035 GB, free: 97.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/4.909, allocations: 51.97 kB / 2.035 GB, free: 97.3 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.001101/4.91, allocations: 428.8 kB / 2.036 GB, free: 96.88 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/4.91, allocations: 149.9 kB / 2.036 GB, free: 96.73 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006752/4.917, allocations: 1.586 MB / 2.038 GB, free: 95.13 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/4.917, allocations: 15.98 kB / 2.038 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/4.917, allocations: 0 / 2.038 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005882/4.923, allocations: 1.343 MB / 2.039 GB, free: 93.74 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/4.935, allocations: 3.399 MB / 2.042 GB, free: 90.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/4.935, allocations: 4 kB / 2.042 GB, free: 90.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/4.939, allocations: 235.7 kB / 2.042 GB, free: 89.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-05/4.939, allocations: 15.94 kB / 2.042 GB, free: 89.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/4.939, allocations: 31.91 kB / 2.042 GB, free: 89.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/4.939, allocations: 8 kB / 2.042 GB, free: 89.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/4.939, allocations: 4 kB / 2.042 GB, free: 89.89 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/4.954, allocations: 2.438 MB / 2.045 GB, free: 87.37 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/4.956, allocations: 479.8 kB / 2.045 GB, free: 86.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004549/4.956, allocations: 19.98 kB / 2.045 GB, free: 86.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/4.959, allocations: 187.6 kB / 2.045 GB, free: 86.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/4.959, allocations: 72.34 kB / 2.046 GB, free: 86.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/4.959, allocations: 47.97 kB / 2.046 GB, free: 86.54 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001859/4.961, allocations: 0.9254 MB / 2.047 GB, free: 85.62 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.81e-07/4.961, allocations: 4 kB / 2.047 GB, free: 85.62 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003504/4.965, allocations: 0.8344 MB / 2.047 GB, free: 84.78 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.001938/4.967, allocations: 0.7789 MB / 2.048 GB, free: 84.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008943/4.976, allocations: 2.054 MB / 2.05 GB, free: 81.99 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/4.976, allocations: 4 kB / 2.05 GB, free: 81.98 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/4.979, allocations: 0.7186 MB / 2.051 GB, free: 81.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00825/4.987, allocations: 0.7958 MB / 2.052 GB, free: 80.51 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/4.995, allocations: 3.235 MB / 2.055 GB, free: 77.19 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/4.995, allocations: 1.246 MB / 2.056 GB, free: 75.92 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003183/4.999, allocations: 374.5 kB / 2.056 GB, free: 75.58 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/4.999, allocations: 131.4 kB / 2.056 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/4.999, allocations: 0 / 2.056 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of Templates: time 0.08194/5.081, allocations: 33.96 MB / 2.09 GB, free: 41.99 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)