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.441/2.441, allocations: 284.8 MB / 297.3 MB, free: 6.355 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.001518/0.001517, allocations: 176.9 kB / 365.7 MB, free: 2.602 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 1.917/1.917, allocations: 205.1 MB / 0.6241 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 95.25 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.042e-05, allocations: 8 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.802, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/2.125, allocations: 416.8 MB / 1.377 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/2.126, allocations: 86.8 kB / 1.377 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.408/5.534, allocations: 0.6235 GB / 2.001 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.166e-06/5.534, allocations: 0 / 2.001 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002797/5.534, allocations: 49.47 kB / 2.001 GB, free: 158.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.005857/5.54, allocations: 1.772 MB / 2.002 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/5.54, allocations: 8.531 kB / 2.002 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006667/5.547, allocations: 0.6326 MB / 2.003 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/5.553, allocations: 1.649 MB / 2.005 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/5.553, allocations: 154.8 kB / 2.005 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/5.553, allocations: 103.3 kB / 2.005 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/5.557, allocations: 1.121 MB / 2.006 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/5.557, allocations: 4.469 kB / 2.006 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/5.557, allocations: 38.45 kB / 2.006 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/5.557, allocations: 24.28 kB / 2.006 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/5.56, allocations: 0.9782 MB / 2.007 GB, free: 156.9 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01261/5.573, allocations: 5.428 MB / 2.012 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/5.575, allocations: 0.7092 MB / 2.013 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/5.576, allocations: 459 kB / 2.013 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/5.577, allocations: 1.243 MB / 2.015 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/5.579, allocations: 0.5418 MB / 2.015 GB, free: 153 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.288e-06/5.579, allocations: 6.281 kB / 2.015 GB, free: 153 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.003097/5.582, allocations: 0.9023 MB / 2.016 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/5.582, allocations: 111.5 kB / 2.016 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/5.585, allocations: 1.175 MB / 2.017 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003419/5.585, allocations: 47.97 kB / 2.017 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/5.586, allocations: 0.6816 MB / 2.018 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/5.587, allocations: 232.2 kB / 2.018 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/5.587, allocations: 14.91 kB / 2.018 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/5.587, allocations: 332 kB / 2.019 GB, free: 152 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/5.588, allocations: 359.5 kB / 2.019 GB, free: 152 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/5.589, allocations: 0.6143 MB / 2.019 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/5.59, allocations: 409 kB / 2.02 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/5.59, allocations: 1.312 kB / 2.02 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003177/5.594, allocations: 1.057 MB / 2.021 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/5.594, allocations: 1.205 MB / 2.022 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/5.594, allocations: 3.984 kB / 2.022 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/5.594, allocations: 7.688 kB / 2.022 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/5.596, allocations: 278.5 kB / 2.022 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/5.597, allocations: 5.922 kB / 2.022 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/5.6, allocations: 238.4 kB / 2.023 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/5.6, allocations: 50.14 kB / 2.023 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/5.6, allocations: 10.19 kB / 2.023 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002622/5.603, allocations: 0.8968 MB / 2.024 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/5.603, allocations: 4.578 kB / 2.024 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/5.603, allocations: 6.188 kB / 2.024 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/5.605, allocations: 271.9 kB / 2.024 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/5.605, allocations: 8.781 kB / 2.024 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/5.609, allocations: 232.8 kB / 2.024 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/5.609, allocations: 50.89 kB / 2.024 GB, free: 150.1 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 () * 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.0004091/5.609, allocations: 155 kB / 2.024 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/5.61, allocations: 151.4 kB / 2.024 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/5.613, allocations: 1.11 MB / 2.025 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/5.613, allocations: 10.33 kB / 2.025 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/5.614, allocations: 0 / 2.025 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002291/5.616, allocations: 0.9329 MB / 2.026 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008294/5.624, allocations: 3.146 MB / 2.029 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/5.624, allocations: 9.109 kB / 2.029 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/5.626, allocations: 248.1 kB / 2.03 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/5.627, allocations: 11.28 kB / 2.03 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/5.627, allocations: 28.41 kB / 2.03 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.682e-05/5.627, allocations: 10.39 kB / 2.03 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/5.627, allocations: 9.688 kB / 2.03 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/5.631, allocations: 2.103 MB / 2.032 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/5.633, allocations: 480 kB / 2.032 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/5.633, allocations: 19.56 kB / 2.032 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/5.636, allocations: 190 kB / 2.032 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/5.636, allocations: 67.84 kB / 2.033 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/5.637, allocations: 52.66 kB / 2.033 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002243/5.639, allocations: 0.9485 MB / 2.034 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.884e-06/5.639, allocations: 0 / 2.034 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004136/5.643, allocations: 0.8571 MB / 2.034 GB, free: 147.5 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) * 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.002482/5.646, allocations: 0.8085 MB / 2.035 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004416/5.65, allocations: 1.486 MB / 2.037 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/5.65, allocations: 1.312 kB / 2.037 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/5.652, allocations: 0.5189 MB / 2.037 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007225/5.659, allocations: 0.7588 MB / 2.038 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/5.665, allocations: 2.057 MB / 2.04 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/5.666, allocations: 1.281 MB / 2.041 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004138/5.67, allocations: 498.4 kB / 2.042 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/5.671, allocations: 102.1 kB / 2.042 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.332e-06/5.671, allocations: 0 / 2.042 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.08993/5.761, allocations: 36.96 MB / 2.078 GB, free: 144.4 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)