Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001873, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 251.7 MB / 0.5092 GB, free: 3.141 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5529, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004412/0.5574, allocations: 2.471 MB / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.5584, allocations: 0.5401 MB / 0.7274 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.5585, allocations: 4 kB / 0.7275 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.559, allocations: 130.4 kB / 0.7276 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.5592, allocations: 91.22 kB / 0.7277 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.5593, allocations: 39.95 kB / 0.7277 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.5595, allocations: 250.6 kB / 0.7279 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.5598, allocations: 99.12 kB / 0.728 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.5599, allocations: 87.66 kB / 0.7281 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.56, allocations: 99.5 kB / 0.7282 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.5601, allocations: 20 kB / 0.7282 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.5601, allocations: 16 kB / 0.7282 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.5603, allocations: 99.61 kB / 0.7283 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.5604, allocations: 151 kB / 0.7285 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.5608, allocations: 334.6 kB / 0.7288 GB, free: 8.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5608, allocations: 0 / 0.7288 GB, free: 8.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5608, allocations: 0 / 0.7288 GB, free: 8.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.5608, allocations: 0 / 0.7288 GB, free: 8.504 MB / 0.545 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.000903/0.5617, allocations: 0.6492 MB / 0.7294 GB, free: 7.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5618, allocations: 16.03 kB / 0.7295 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.5618, allocations: 40.47 kB / 0.7295 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.5622, allocations: 306.1 kB / 0.7298 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.5623, allocations: 12.38 kB / 0.7298 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.5623, allocations: 16.38 kB / 0.7298 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.5626, allocations: 134 kB / 0.7299 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5626, allocations: 192 / 0.7299 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5627, allocations: 7.938 kB / 0.7299 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.5627, allocations: 4 kB / 0.73 GB, free: 7.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.5629, allocations: 107.6 kB / 0.7301 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.5638, allocations: 0.5858 MB / 0.7306 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.5641, allocations: 86.61 kB / 0.7307 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.5642, allocations: 44.89 kB / 0.7308 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.5642, allocations: 3.938 kB / 0.7308 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.5643, allocations: 42.56 kB / 0.7308 GB, free: 6.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 3.056e-06/0.5643, allocations: 0 / 0.7308 GB, free: 6.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000386/0.5647, allocations: 141.1 kB / 0.7309 GB, free: 6.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5647, allocations: 63.33 kB / 0.731 GB, free: 6.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.5651, allocations: 385.9 kB / 0.7314 GB, free: 5.695 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.5651, allocations: 29.7 kB / 0.7314 GB, free: 5.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.5653, allocations: 216 kB / 0.7316 GB, free: 5.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.5653, allocations: 31.55 kB / 0.7316 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.5654, allocations: 29.72 kB / 0.7317 GB, free: 5.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5656, allocations: 350.7 kB / 0.732 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.5656, allocations: 27.98 kB / 0.732 GB, free: 5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5657, allocations: 53.55 kB / 0.7321 GB, free: 4.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.5659, allocations: 91.36 kB / 0.7322 GB, free: 4.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5659, allocations: 0 / 0.7322 GB, free: 4.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000252/0.5662, allocations: 145.1 kB / 0.7323 GB, free: 4.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5662, allocations: 11.94 kB / 0.7323 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.5662, allocations: 480 / 0.7323 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.5663, allocations: 0 / 0.7323 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.5664, allocations: 36.08 kB / 0.7323 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5664, allocations: 7.938 kB / 0.7323 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.5665, allocations: 7.984 kB / 0.7324 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.5665, allocations: 3.938 kB / 0.7324 GB, free: 4.621 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.5667, allocations: 165.8 kB / 0.7325 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.5667, allocations: 35.53 kB / 0.7325 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.5668, allocations: 43.2 kB / 0.7326 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5668, allocations: 0 / 0.7326 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5668, allocations: 0 / 0.7326 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5668, allocations: 4 kB / 0.7326 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.5672, allocations: 317.4 kB / 0.7329 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5672, allocations: 0 / 0.7329 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5673, allocations: 19.94 kB / 0.7329 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5673, allocations: 3.984 kB / 0.7329 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5674, allocations: 0 / 0.7329 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5674, allocations: 4 kB / 0.7329 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5674, allocations: 0 / 0.7329 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.5677, allocations: 254.9 kB / 0.7332 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.5678, allocations: 116.7 kB / 0.7333 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.5679, allocations: 0 / 0.7333 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.5679, allocations: 0 / 0.7333 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.568, allocations: 11.98 kB / 0.7333 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.568, allocations: 4 kB / 0.7333 GB, free: 3.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002577/0.5683, allocations: 275.1 kB / 0.7336 GB, free: 3.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5683, allocations: 0 / 0.7336 GB, free: 3.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002779/0.5686, allocations: 51.84 kB / 0.7336 GB, free: 3.242 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.5687, allocations: 99.25 kB / 0.7337 GB, free: 3.137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.569, allocations: 79.84 kB / 0.7338 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.569, allocations: 0 / 0.7338 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.5691, allocations: 36.2 kB / 0.7338 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.5695, allocations: 32.7 kB / 0.7338 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5706, allocations: 0.6684 MB / 0.7345 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.571, allocations: 0.802 MB / 0.7353 GB, free: 1.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.161e-05/0.5711, allocations: 16.58 kB / 0.7353 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.5711, allocations: 15.44 kB / 0.7353 GB, free: 1.445 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.5712, allocations: 0 / 0.7353 GB, free: 1.445 MB / 0.545 GB Notification: Performance of Templates: time 0.005137/0.5763, allocations: 1.271 MB / 0.7365 GB, free: 192 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)