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.721/1.721, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001036/0.001036, allocations: 177 kB / 371.8 MB, free: 10.25 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.784/1.784, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.000873/0.000873, allocations: 111.3 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 20.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2238, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9305/1.154, allocations: 417.3 MB / 1.387 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.155, allocations: 94.2 kB / 1.387 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.554/3.709, allocations: 0.6248 GB / 2.012 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.457e-06/3.709, allocations: 4 kB / 2.012 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003148/3.709, allocations: 43.05 kB / 2.012 GB, free: 120.5 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.008551/3.718, allocations: 2.066 MB / 2.014 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/3.718, allocations: 12.03 kB / 2.014 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/3.724, allocations: 0.632 MB / 2.014 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006759/3.731, allocations: 1.647 MB / 2.016 GB, free: 116 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003991/3.731, allocations: 149.4 kB / 2.016 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006475/3.732, allocations: 100 kB / 2.016 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005825/3.738, allocations: 1.323 MB / 2.018 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.442e-05/3.738, allocations: 11.91 kB / 2.018 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/3.738, allocations: 36 kB / 2.018 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/3.738, allocations: 24 kB / 2.018 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00572/3.744, allocations: 1.382 MB / 2.019 GB, free: 112.9 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.01226/3.756, allocations: 5.379 MB / 2.024 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009597/3.766, allocations: 1.363 MB / 2.026 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/3.767, allocations: 1.239 MB / 2.027 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003173/3.77, allocations: 0.7056 MB / 2.027 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 5.932e-06/3.77, allocations: 0 / 2.027 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.008779/3.779, allocations: 1.824 MB / 2.029 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/3.779, allocations: 67.86 kB / 2.029 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/3.783, allocations: 1.142 MB / 2.03 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/3.783, allocations: 45.7 kB / 2.03 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008772/3.784, allocations: 0.6666 MB / 2.031 GB, free: 99.83 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/3.784, allocations: 236.6 kB / 2.031 GB, free: 99.59 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/3.784, allocations: 16 kB / 2.031 GB, free: 99.58 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001045/3.785, allocations: 334 kB / 2.032 GB, free: 99.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/3.787, allocations: 0.5484 MB / 2.032 GB, free: 98.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/3.79, allocations: 0.8205 MB / 2.033 GB, free: 97.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/3.793, allocations: 0.597 MB / 2.034 GB, free: 97.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/3.793, allocations: 4 kB / 2.034 GB, free: 97.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006151/3.799, allocations: 1.446 MB / 2.035 GB, free: 95.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/3.799, allocations: 1.202 MB / 2.036 GB, free: 94.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/3.799, allocations: 4 kB / 2.036 GB, free: 94.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/3.799, allocations: 4 kB / 2.036 GB, free: 94.37 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/3.801, allocations: 271.7 kB / 2.036 GB, free: 94.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/3.801, allocations: 11.94 kB / 2.036 GB, free: 94.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/3.805, allocations: 239 kB / 2.037 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/3.805, allocations: 47.97 kB / 2.037 GB, free: 93.81 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/3.805, allocations: 5.25 kB / 2.037 GB, free: 93.81 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005627/3.811, allocations: 1.293 MB / 2.038 GB, free: 92.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/3.811, allocations: 4 kB / 2.038 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/3.811, allocations: 4 kB / 2.038 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/3.813, allocations: 279.1 kB / 2.038 GB, free: 92.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/3.813, allocations: 4 kB / 2.038 GB, free: 92.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/3.816, allocations: 231.2 kB / 2.039 GB, free: 92 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/3.817, allocations: 47.97 kB / 2.039 GB, free: 91.95 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.001701/3.818, allocations: 416.8 kB / 2.039 GB, free: 91.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009202/3.819, allocations: 142.2 kB / 2.039 GB, free: 91.39 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007226/3.826, allocations: 1.515 MB / 2.041 GB, free: 89.87 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/3.826, allocations: 8 kB / 2.041 GB, free: 89.86 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/3.827, allocations: 0 / 2.041 GB, free: 89.86 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005344/3.832, allocations: 1.339 MB / 2.042 GB, free: 88.49 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/3.843, allocations: 3.377 MB / 2.045 GB, free: 84.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/3.844, allocations: 4 kB / 2.045 GB, free: 84.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/3.845, allocations: 243.7 kB / 2.045 GB, free: 84.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.163e-05/3.846, allocations: 8 kB / 2.045 GB, free: 84.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/3.846, allocations: 27.98 kB / 2.045 GB, free: 84.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/3.846, allocations: 15.92 kB / 2.045 GB, free: 84.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/3.846, allocations: 7.953 kB / 2.045 GB, free: 84.65 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008929/3.855, allocations: 2.681 MB / 2.048 GB, free: 81.72 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/3.856, allocations: 494.2 kB / 2.049 GB, free: 81.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007027/3.857, allocations: 16 kB / 2.049 GB, free: 81.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/3.859, allocations: 183.7 kB / 2.049 GB, free: 81.01 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/3.86, allocations: 72.36 kB / 2.049 GB, free: 80.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/3.86, allocations: 47.97 kB / 2.049 GB, free: 80.89 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002353/3.862, allocations: 0.9202 MB / 2.05 GB, free: 79.97 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.9e-07/3.862, allocations: 0 / 2.05 GB, free: 79.97 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003547/3.866, allocations: 0.8538 MB / 2.051 GB, free: 79.12 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.001809/3.868, allocations: 0.7997 MB / 2.051 GB, free: 78.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004995/3.873, allocations: 2.046 MB / 2.053 GB, free: 76.29 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/3.873, allocations: 4 kB / 2.053 GB, free: 76.29 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/3.874, allocations: 0.7186 MB / 2.054 GB, free: 75.57 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/3.879, allocations: 0.7499 MB / 2.055 GB, free: 74.86 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/3.884, allocations: 3.166 MB / 2.058 GB, free: 71.62 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/3.885, allocations: 1.261 MB / 2.059 GB, free: 70.33 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002029/3.887, allocations: 380 kB / 2.06 GB, free: 69.98 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/3.887, allocations: 123.4 kB / 2.06 GB, free: 69.86 MB / 0.9323 GB Notification: Performance of SimCode: time 1.653e-06/3.887, allocations: 0 / 2.06 GB, free: 69.86 MB / 0.9323 GB Notification: Performance of Templates: time 0.04735/3.935, allocations: 33.19 MB / 2.092 GB, free: 37.2 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)