Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.891/1.891, allocations: 288.3 MB / 303.2 MB, free: 8.246 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.0009807/0.0009807, allocations: 189 kB / 371.8 MB, free: 10.23 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.852/1.852, allocations: 205.4 MB / 0.6306 GB, free: 9.941 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.0009299/0.0009301, allocations: 98.78 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 15.28 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.261, allocations: 417.3 MB / 1.387 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/1.262, allocations: 91.52 kB / 1.387 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.309/3.571, allocations: 0.6253 GB / 2.012 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.394e-06/3.571, allocations: 0 / 2.012 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001473/3.571, allocations: 46.17 kB / 2.012 GB, free: 119.8 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.00447/3.575, allocations: 2.103 MB / 2.014 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/3.575, allocations: 8.031 kB / 2.014 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/3.579, allocations: 0.6398 MB / 2.015 GB, free: 117 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/3.582, allocations: 1.674 MB / 2.017 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/3.583, allocations: 141.4 kB / 2.017 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/3.583, allocations: 108 kB / 2.017 GB, free: 115 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/3.585, allocations: 1.338 MB / 2.018 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/3.586, allocations: 4 kB / 2.018 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/3.586, allocations: 39.94 kB / 2.018 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/3.586, allocations: 27.98 kB / 2.018 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/3.589, allocations: 1.397 MB / 2.02 GB, free: 112.2 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.006655/3.596, allocations: 5.423 MB / 2.025 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/3.598, allocations: 0.9714 MB / 2.026 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/3.598, allocations: 1.239 MB / 2.027 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/3.6, allocations: 0.7214 MB / 2.028 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 2.975e-06/3.6, allocations: 0 / 2.028 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.004829/3.605, allocations: 1.852 MB / 2.03 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/3.605, allocations: 67.92 kB / 2.03 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/3.607, allocations: 1.184 MB / 2.031 GB, free: 100 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/3.607, allocations: 45.7 kB / 2.031 GB, free: 100 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/3.607, allocations: 0.6901 MB / 2.032 GB, free: 99.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/3.607, allocations: 228.6 kB / 2.032 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/3.607, allocations: 19.94 kB / 2.032 GB, free: 99.05 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/3.608, allocations: 334 kB / 2.032 GB, free: 98.72 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/3.609, allocations: 0.5562 MB / 2.033 GB, free: 98.16 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/3.61, allocations: 0.8361 MB / 2.033 GB, free: 97.21 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/3.612, allocations: 0.6048 MB / 2.034 GB, free: 96.61 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/3.612, allocations: 0 / 2.034 GB, free: 96.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003496/3.615, allocations: 1.473 MB / 2.036 GB, free: 95.12 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/3.616, allocations: 1.201 MB / 2.037 GB, free: 93.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/3.616, allocations: 8 kB / 2.037 GB, free: 93.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/3.616, allocations: 4 kB / 2.037 GB, free: 93.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.617, allocations: 275 kB / 2.037 GB, free: 93.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/3.617, allocations: 11.94 kB / 2.037 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/3.619, allocations: 242.9 kB / 2.037 GB, free: 93.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/3.619, allocations: 47.97 kB / 2.037 GB, free: 93.23 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/3.619, allocations: 5.562 kB / 2.037 GB, free: 93.22 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003077/3.622, allocations: 1.317 MB / 2.039 GB, free: 91.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/3.622, allocations: 4 kB / 2.039 GB, free: 91.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/3.622, allocations: 4 kB / 2.039 GB, free: 91.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/3.623, allocations: 275.7 kB / 2.039 GB, free: 91.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/3.623, allocations: 4 kB / 2.039 GB, free: 91.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/3.625, allocations: 234.8 kB / 2.039 GB, free: 91.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/3.625, allocations: 47.97 kB / 2.039 GB, free: 91.34 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.0008386/3.626, allocations: 416.8 kB / 2.039 GB, free: 90.93 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/3.626, allocations: 150.1 kB / 2.04 GB, free: 90.78 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/3.63, allocations: 1.542 MB / 2.041 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/3.63, allocations: 8 kB / 2.041 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/3.63, allocations: 4 kB / 2.041 GB, free: 89.21 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002911/3.633, allocations: 1.355 MB / 2.042 GB, free: 87.83 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006487/3.639, allocations: 3.433 MB / 2.046 GB, free: 84.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/3.639, allocations: 4 kB / 2.046 GB, free: 84.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/3.64, allocations: 246.8 kB / 2.046 GB, free: 83.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/3.64, allocations: 8 kB / 2.046 GB, free: 83.98 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/3.641, allocations: 31.97 kB / 2.046 GB, free: 83.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/3.641, allocations: 19.88 kB / 2.046 GB, free: 83.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/3.641, allocations: 7.953 kB / 2.046 GB, free: 83.93 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/3.646, allocations: 2.733 MB / 2.049 GB, free: 80.95 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/3.647, allocations: 491.7 kB / 2.049 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/3.647, allocations: 23.98 kB / 2.049 GB, free: 80.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/3.649, allocations: 179.7 kB / 2.049 GB, free: 80.23 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/3.649, allocations: 76.36 kB / 2.05 GB, free: 80.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/3.649, allocations: 47.97 kB / 2.05 GB, free: 80.11 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00184/3.651, allocations: 0.9605 MB / 2.051 GB, free: 79.15 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.11e-07/3.651, allocations: 0 / 2.051 GB, free: 79.15 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003195/3.654, allocations: 0.85 MB / 2.051 GB, free: 78.3 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.001636/3.656, allocations: 0.81 MB / 2.052 GB, free: 77.55 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004874/3.661, allocations: 2.07 MB / 2.054 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/3.661, allocations: 0 / 2.054 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/3.663, allocations: 0.7303 MB / 2.055 GB, free: 74.72 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/3.666, allocations: 0.7521 MB / 2.056 GB, free: 74 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/3.671, allocations: 3.234 MB / 2.059 GB, free: 70.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/3.671, allocations: 1.281 MB / 2.06 GB, free: 69.38 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001832/3.673, allocations: 381.1 kB / 2.06 GB, free: 69.04 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/3.674, allocations: 127.4 kB / 2.061 GB, free: 68.91 MB / 0.9323 GB Notification: Performance of SimCode: time 6.92e-07/3.674, allocations: 0 / 2.061 GB, free: 68.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.05152/3.725, allocations: 33.47 MB / 2.093 GB, free: 35.97 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)