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.592/1.592, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001037/0.001037, allocations: 178.2 kB / 371.6 MB, free: 3.363 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.454/1.454, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008888/0.0008888, allocations: 92.02 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.14e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.285, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6806/0.9657, allocations: 142.1 MB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.9659, allocations: 86.94 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01324/0.9792, allocations: 6.23 MB / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9793, allocations: 0 / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.9793, allocations: 4 kB / 1.125 GB, free: 38.39 MB / 0.7448 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.000497/0.9798, allocations: 0.5428 MB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.9798, allocations: 8.031 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.9799, allocations: 49.16 kB / 1.125 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.9801, allocations: 251 kB / 1.126 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.9801, allocations: 14.02 kB / 1.126 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.9802, allocations: 14.5 kB / 1.126 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.9804, allocations: 131.1 kB / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.9804, allocations: 0 / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.9805, allocations: 10.55 kB / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.9805, allocations: 4 kB / 1.126 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.9806, allocations: 86.94 kB / 1.126 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.9813, allocations: 0.604 MB / 1.126 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.9815, allocations: 92.38 kB / 1.126 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.941e-05/0.9816, allocations: 50.61 kB / 1.126 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.9816, allocations: 4 kB / 1.127 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.9817, allocations: 30.75 kB / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.9817, allocations: 3.172 kB / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002185/0.9819, allocations: 118.1 kB / 1.127 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.982, allocations: 58.67 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.9823, allocations: 358.1 kB / 1.127 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.9823, allocations: 25.7 kB / 1.127 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.9824, allocations: 213.7 kB / 1.127 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.9825, allocations: 33.89 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.9825, allocations: 3 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.9825, allocations: 348.9 kB / 1.128 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.9826, allocations: 21.44 kB / 1.128 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.9826, allocations: 46.17 kB / 1.128 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.9827, allocations: 30.41 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9827, allocations: 0.5625 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001486/0.9829, allocations: 132.3 kB / 1.128 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9829, allocations: 4 kB / 1.128 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9829, allocations: 0.5469 kB / 1.128 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9829, allocations: 4 kB / 1.128 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.9831, allocations: 27.17 kB / 1.128 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.9831, allocations: 7.312 kB / 1.128 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.9832, allocations: 27.92 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.9832, allocations: 5.234 kB / 1.128 GB, free: 35.61 MB / 0.7448 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 () * 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 4.773e-05/0.9833, allocations: 105 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.9833, allocations: 35.53 kB / 1.128 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.9834, allocations: 46.48 kB / 1.128 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9834, allocations: 4 kB / 1.128 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.9834, allocations: 0 / 1.128 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.9834, allocations: 0.9375 kB / 1.128 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.9837, allocations: 311.7 kB / 1.128 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9837, allocations: 0 / 1.128 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.9838, allocations: 23.47 kB / 1.128 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9838, allocations: 3.938 kB / 1.128 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.9838, allocations: 3.875 kB / 1.128 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9838, allocations: 0 / 1.128 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9838, allocations: 4 kB / 1.128 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.9841, allocations: 260.6 kB / 1.129 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.9842, allocations: 104.7 kB / 1.129 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.9842, allocations: 4.688 kB / 1.129 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.9843, allocations: 11.47 kB / 1.129 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.9844, allocations: 7.562 kB / 1.129 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.9844, allocations: 0 / 1.129 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000219/0.9846, allocations: 292.7 kB / 1.129 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9846, allocations: 1.125 kB / 1.129 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002525/0.9849, allocations: 51.09 kB / 1.129 GB, free: 34.54 MB / 0.7448 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 () * 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.0001701/0.9851, allocations: 135.4 kB / 1.129 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.9852, allocations: 67.19 kB / 1.129 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9852, allocations: 0 / 1.129 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.9853, allocations: 34 kB / 1.129 GB, free: 34.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.9855, allocations: 34.09 kB / 1.129 GB, free: 34.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.9862, allocations: 462.4 kB / 1.13 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.9865, allocations: 0.8073 MB / 1.131 GB, free: 33.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.552e-05/0.9865, allocations: 8.641 kB / 1.131 GB, free: 33.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.9866, allocations: 15.44 kB / 1.131 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of SimCode: time 5.2e-07/0.9866, allocations: 0 / 1.131 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.005022/0.9916, allocations: 2.111 MB / 1.133 GB, free: 31.98 MB / 0.7448 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)