Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.71/2.71, allocations: 287.5 MB / 302.5 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001567, allocations: 168.2 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 97.92 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006878/0.0006878, allocations: 15.95 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2201, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.571, allocations: 416.9 MB / 1.386 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/1.571, allocations: 98.69 kB / 1.386 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.463/5.034, allocations: 0.6253 GB / 2.011 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.524e-06/5.034, allocations: 0 / 2.011 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002283/5.034, allocations: 47.92 kB / 2.011 GB, free: 122.3 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.007362/5.042, allocations: 2.097 MB / 2.013 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/5.042, allocations: 11.97 kB / 2.013 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/5.048, allocations: 0.6355 MB / 2.014 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005477/5.054, allocations: 1.674 MB / 2.015 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/5.054, allocations: 149.4 kB / 2.015 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/5.054, allocations: 100 kB / 2.016 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004894/5.059, allocations: 1.339 MB / 2.017 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/5.059, allocations: 0 / 2.017 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/5.06, allocations: 47.94 kB / 2.017 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/5.06, allocations: 24 kB / 2.017 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006621/5.066, allocations: 1.397 MB / 2.018 GB, free: 114.7 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.01159/5.078, allocations: 5.432 MB / 2.024 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/5.082, allocations: 0.9783 MB / 2.025 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/5.083, allocations: 1.235 MB / 2.026 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003294/5.087, allocations: 0.7213 MB / 2.026 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.919e-06/5.087, allocations: 0 / 2.026 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.009374/5.096, allocations: 1.863 MB / 2.028 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/5.096, allocations: 59.97 kB / 2.028 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/5.099, allocations: 1.184 MB / 2.029 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000335/5.099, allocations: 45.7 kB / 2.03 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/5.1, allocations: 0.682 MB / 2.03 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/5.101, allocations: 228.7 kB / 2.03 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/5.101, allocations: 12 kB / 2.03 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001013/5.101, allocations: 330 kB / 2.031 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/5.104, allocations: 0.564 MB / 2.031 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/5.107, allocations: 0.8331 MB / 2.032 GB, free: 99.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/5.11, allocations: 0.6048 MB / 2.033 GB, free: 99.12 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/5.11, allocations: 7.875 kB / 2.033 GB, free: 99.12 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006729/5.117, allocations: 1.473 MB / 2.034 GB, free: 97.63 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002879/5.117, allocations: 1.201 MB / 2.035 GB, free: 96.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/5.117, allocations: 0 / 2.035 GB, free: 96.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/5.117, allocations: 12 kB / 2.035 GB, free: 96.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/5.119, allocations: 275.6 kB / 2.036 GB, free: 96.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/5.119, allocations: 4 kB / 2.036 GB, free: 96.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/5.123, allocations: 242.9 kB / 2.036 GB, free: 95.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/5.123, allocations: 51.97 kB / 2.036 GB, free: 95.74 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/5.123, allocations: 4 kB / 2.036 GB, free: 95.74 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006044/5.129, allocations: 1.317 MB / 2.037 GB, free: 94.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/5.129, allocations: 4.062 kB / 2.037 GB, free: 94.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/5.129, allocations: 8 kB / 2.037 GB, free: 94.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/5.131, allocations: 267.7 kB / 2.037 GB, free: 94.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/5.131, allocations: 11.92 kB / 2.037 GB, free: 94.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/5.134, allocations: 231.2 kB / 2.038 GB, free: 93.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/5.135, allocations: 51.91 kB / 2.038 GB, free: 93.85 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.001052/5.136, allocations: 416.9 kB / 2.038 GB, free: 93.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/5.136, allocations: 150.1 kB / 2.038 GB, free: 93.29 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006673/5.143, allocations: 1.53 MB / 2.04 GB, free: 91.75 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/5.143, allocations: 11.98 kB / 2.04 GB, free: 91.73 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/5.143, allocations: 0 / 2.04 GB, free: 91.73 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005749/5.149, allocations: 1.359 MB / 2.041 GB, free: 90.34 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/5.16, allocations: 3.425 MB / 2.044 GB, free: 86.76 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/5.16, allocations: 7.938 kB / 2.044 GB, free: 86.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/5.162, allocations: 244.2 kB / 2.045 GB, free: 86.51 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/5.162, allocations: 8 kB / 2.045 GB, free: 86.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/5.163, allocations: 27.97 kB / 2.045 GB, free: 86.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/5.163, allocations: 15.89 kB / 2.045 GB, free: 86.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/5.163, allocations: 8 kB / 2.045 GB, free: 86.45 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009952/5.173, allocations: 2.733 MB / 2.047 GB, free: 83.47 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/5.174, allocations: 487.7 kB / 2.048 GB, free: 82.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/5.174, allocations: 20 kB / 2.048 GB, free: 82.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/5.177, allocations: 187.7 kB / 2.048 GB, free: 82.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/5.178, allocations: 72.31 kB / 2.048 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/5.178, allocations: 59.91 kB / 2.048 GB, free: 82.62 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002088/5.18, allocations: 0.9566 MB / 2.049 GB, free: 81.67 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.31e-07/5.18, allocations: 0 / 2.049 GB, free: 81.67 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003964/5.184, allocations: 0.8501 MB / 2.05 GB, free: 80.82 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.002069/5.186, allocations: 0.8217 MB / 2.051 GB, free: 80.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009233/5.195, allocations: 2.066 MB / 2.053 GB, free: 77.98 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/5.195, allocations: 8.125 kB / 2.053 GB, free: 77.97 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00328/5.199, allocations: 0.7185 MB / 2.053 GB, free: 77.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006889/5.206, allocations: 0.7475 MB / 2.054 GB, free: 76.53 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/5.213, allocations: 3.251 MB / 2.057 GB, free: 73.21 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/5.214, allocations: 1.273 MB / 2.059 GB, free: 71.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003079/5.217, allocations: 378.8 kB / 2.059 GB, free: 71.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/5.218, allocations: 123.4 kB / 2.059 GB, free: 71.43 MB / 0.9323 GB Notification: Performance of SimCode: time 1.442e-06/5.218, allocations: 0 / 2.059 GB, free: 71.43 MB / 0.9323 GB Notification: Performance of Templates: time 0.08117/5.299, allocations: 33.46 MB / 2.092 GB, free: 38.51 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)