Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 293 MB / 309 MB, free: 4.801 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.0009916/0.0009919, allocations: 172.6 kB / 378.7 MB, free: 1.016 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.528/1.528, allocations: 205.4 MB / 0.6383 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007502/0.00075, allocations: 90.88 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2617, allocations: 116.4 MB / 0.9904 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7581/1.02, allocations: 142.2 MB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.02, allocations: 91.34 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01398/1.034, allocations: 6.237 MB / 1.136 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/1.034, allocations: 4 kB / 1.136 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.034, allocations: 4 kB / 1.136 GB, free: 27.44 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000811/1.035, allocations: 0.604 MB / 1.136 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.035, allocations: 12.03 kB / 1.136 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.287e-05/1.035, allocations: 41.03 kB / 1.136 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/1.036, allocations: 269.1 kB / 1.136 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/1.036, allocations: 12.38 kB / 1.136 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/1.036, allocations: 16.38 kB / 1.136 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/1.036, allocations: 163.5 kB / 1.137 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.036, allocations: 0.8438 kB / 1.137 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/1.036, allocations: 11.06 kB / 1.137 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.036, allocations: 4 kB / 1.137 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/1.036, allocations: 122.2 kB / 1.137 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/1.037, allocations: 0.6034 MB / 1.137 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/1.038, allocations: 113.6 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/1.038, allocations: 64.34 kB / 1.137 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/1.038, allocations: 0 / 1.137 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/1.038, allocations: 35.97 kB / 1.138 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/1.038, allocations: 0 / 1.138 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004925/1.038, allocations: 196.8 kB / 1.138 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/1.038, allocations: 52.77 kB / 1.138 GB, free: 25.19 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/1.039, allocations: 407.8 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/1.039, allocations: 29.7 kB / 1.138 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/1.039, allocations: 209.9 kB / 1.138 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/1.039, allocations: 34.23 kB / 1.138 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/1.039, allocations: 0 / 1.138 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.039, allocations: 355.6 kB / 1.139 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/1.039, allocations: 42.47 kB / 1.139 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/1.04, allocations: 53.36 kB / 1.139 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/1.04, allocations: 104.6 kB / 1.139 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.04, allocations: 4 kB / 1.139 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003266/1.04, allocations: 164.2 kB / 1.139 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.04, allocations: 4 kB / 1.139 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.04, allocations: 4 kB / 1.139 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.04, allocations: 0.75 kB / 1.139 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/1.04, allocations: 36.14 kB / 1.139 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.04, allocations: 5.688 kB / 1.139 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/1.041, allocations: 21.22 kB / 1.139 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.041, allocations: 4 kB / 1.139 GB, free: 23.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001716/1.041, allocations: 159.3 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/1.041, allocations: 41.81 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/1.041, allocations: 41.06 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.041, allocations: 0 / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.041, allocations: 4.656 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.041, allocations: 4.453 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/1.041, allocations: 308.8 kB / 1.14 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.041, allocations: 0 / 1.14 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/1.041, allocations: 27.2 kB / 1.14 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.041, allocations: 3.938 kB / 1.14 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/1.042, allocations: 8 kB / 1.14 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.042, allocations: 8.688 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.042, allocations: 0 / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/1.042, allocations: 310.4 kB / 1.14 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/1.042, allocations: 106.1 kB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/1.042, allocations: 4.609 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.042, allocations: 15 kB / 1.14 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/1.042, allocations: 6.719 kB / 1.14 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/1.042, allocations: 5.734 kB / 1.14 GB, free: 22.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003512/1.043, allocations: 296.5 kB / 1.14 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.043, allocations: 0 / 1.14 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003139/1.043, allocations: 48 kB / 1.141 GB, free: 22.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002645/1.043, allocations: 122.7 kB / 1.141 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003159/1.044, allocations: 102.2 kB / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.044, allocations: 0 / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/1.044, allocations: 56.44 kB / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/1.044, allocations: 35.89 kB / 1.141 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/1.046, allocations: 0.7663 MB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/1.046, allocations: 0.7942 MB / 1.142 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.802e-05/1.046, allocations: 12.34 kB / 1.142 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/1.046, allocations: 15.44 kB / 1.142 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/1.046, allocations: 0.9375 kB / 1.142 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of Templates: time 0.006434/1.053, allocations: 2.024 MB / 1.144 GB, free: 19.61 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)