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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001249/0.001249, allocations: 180 kB / 377.1 MB, free: 1.531 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.862/1.862, allocations: 205.4 MB / 0.6367 GB, free: 8.531 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.0008655/0.0008655, allocations: 95.72 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004662, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3126, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7451/1.058, allocations: 142.1 MB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.058, allocations: 87.19 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01332/1.071, allocations: 6.236 MB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.435e-06/1.071, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.072, allocations: 4 kB / 1.133 GB, free: 28.34 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.0008784/1.072, allocations: 0.6075 MB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.072, allocations: 9.672 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/1.073, allocations: 42.72 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/1.073, allocations: 255.5 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/1.073, allocations: 11.94 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/1.073, allocations: 16.19 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/1.074, allocations: 160.5 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.074, allocations: 4 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.074, allocations: 4.844 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/1.074, allocations: 4.656 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/1.074, allocations: 123.9 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/1.075, allocations: 0.6053 MB / 1.135 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/1.075, allocations: 109.5 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/1.075, allocations: 1.406 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/1.075, allocations: 31.33 kB / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/1.075, allocations: 0 / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004747/1.076, allocations: 202 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/1.076, allocations: 55.92 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/1.076, allocations: 360.2 kB / 1.136 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/1.076, allocations: 29.7 kB / 1.136 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/1.076, allocations: 206 kB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/1.076, allocations: 37.3 kB / 1.136 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/1.076, allocations: 4 kB / 1.136 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.077, allocations: 346.8 kB / 1.136 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/1.077, allocations: 42.23 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/1.077, allocations: 57.78 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/1.077, allocations: 45.89 kB / 1.137 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.077, allocations: 0 / 1.137 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002939/1.077, allocations: 166.4 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.077, allocations: 8.562 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.077, allocations: 1.875 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.077, allocations: 2.078 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.077, allocations: 33.09 kB / 1.137 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.077, allocations: 0 / 1.137 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/1.078, allocations: 23.5 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/1.078, allocations: 4 kB / 1.137 GB, free: 24.91 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.0001373/1.078, allocations: 163.4 kB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/1.078, allocations: 42.02 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/1.078, allocations: 42.05 kB / 1.137 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.078, allocations: 4.656 kB / 1.137 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.078, allocations: 1.219 kB / 1.137 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.078, allocations: 0.6094 kB / 1.137 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/1.078, allocations: 316.7 kB / 1.137 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.078, allocations: 0 / 1.137 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/1.078, allocations: 25.25 kB / 1.137 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/1.078, allocations: 4.938 kB / 1.137 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.078, allocations: 0 / 1.137 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/1.078, allocations: 0.6094 kB / 1.137 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.078, allocations: 4 kB / 1.137 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/1.079, allocations: 309.1 kB / 1.138 GB, free: 24.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/1.079, allocations: 114 kB / 1.138 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/1.079, allocations: 4.609 kB / 1.138 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/1.079, allocations: 7.406 kB / 1.138 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/1.079, allocations: 11.14 kB / 1.138 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/1.079, allocations: 4 kB / 1.138 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002918/1.08, allocations: 285.8 kB / 1.138 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.02e-07/1.08, allocations: 4.062 kB / 1.138 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00028/1.08, allocations: 55.84 kB / 1.138 GB, free: 23.59 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.0001818/1.08, allocations: 124.6 kB / 1.138 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003009/1.08, allocations: 102.1 kB / 1.138 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.08, allocations: 0 / 1.138 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/1.08, allocations: 47.08 kB / 1.138 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/1.081, allocations: 39.72 kB / 1.138 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/1.082, allocations: 0.777 MB / 1.139 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/1.082, allocations: 0.8013 MB / 1.14 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.061e-05/1.082, allocations: 19.3 kB / 1.14 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/1.082, allocations: 11.44 kB / 1.14 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.082, allocations: 0 / 1.14 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.005803/1.088, allocations: 1.994 MB / 1.142 GB, free: 20.68 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)