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.0009891/0.0009891, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.787/1.787, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.0005816/0.0005817, allocations: 12 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5936/0.5942, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002653/0.5969, allocations: 1.995 MB / 0.7299 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.5977, allocations: 0.497 MB / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.5978, allocations: 4 kB / 0.7304 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.5981, allocations: 115.5 kB / 0.7305 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.5982, allocations: 95.77 kB / 0.7306 GB, free: 8.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.858e-05/0.5984, allocations: 31.91 kB / 0.7307 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.5986, allocations: 175.5 kB / 0.7308 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.5988, allocations: 83.23 kB / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.5989, allocations: 75.67 kB / 0.731 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.5991, allocations: 87.58 kB / 0.7311 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.5991, allocations: 11.98 kB / 0.7311 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.5991, allocations: 8 kB / 0.7311 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.5992, allocations: 67.75 kB / 0.7311 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.5993, allocations: 85.52 kB / 0.7312 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.5995, allocations: 251.3 kB / 0.7315 GB, free: 7.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5996, allocations: 0 / 0.7315 GB, free: 7.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.995e-06/0.5996, allocations: 0 / 0.7315 GB, free: 7.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.5996, allocations: 7.938 kB / 0.7315 GB, free: 7.809 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.0008044/0.6004, allocations: 0.6017 MB / 0.7321 GB, free: 7.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.6004, allocations: 12.03 kB / 0.7321 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.6005, allocations: 39.53 kB / 0.7321 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.6009, allocations: 289.2 kB / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.6009, allocations: 12 kB / 0.7324 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.6009, allocations: 12 kB / 0.7324 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.6012, allocations: 133.6 kB / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6012, allocations: 0 / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.6012, allocations: 8 kB / 0.7325 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.6013, allocations: 4 kB / 0.7325 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.6015, allocations: 99.7 kB / 0.7326 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.6023, allocations: 0.5821 MB / 0.7332 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.6025, allocations: 94.55 kB / 0.7333 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.6026, allocations: 0 / 0.7333 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6026, allocations: 42.56 kB / 0.7333 GB, free: 5.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.6026, allocations: 0 / 0.7333 GB, free: 5.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003322/0.603, allocations: 149.4 kB / 0.7335 GB, free: 5.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.603, allocations: 55.36 kB / 0.7335 GB, free: 5.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.6034, allocations: 386 kB / 0.7339 GB, free: 5.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.6034, allocations: 25.7 kB / 0.7339 GB, free: 5.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.6036, allocations: 219.9 kB / 0.7341 GB, free: 4.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.6036, allocations: 31.55 kB / 0.7342 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.6036, allocations: 0 / 0.7342 GB, free: 4.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6038, allocations: 350.8 kB / 0.7345 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.6039, allocations: 31.92 kB / 0.7345 GB, free: 4.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.234e-05/0.604, allocations: 55.36 kB / 0.7346 GB, free: 4.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.599e-05/0.6041, allocations: 35.98 kB / 0.7346 GB, free: 4.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6041, allocations: 0 / 0.7346 GB, free: 4.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002425/0.6043, allocations: 149.2 kB / 0.7348 GB, free: 4.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6044, allocations: 4 kB / 0.7348 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6044, allocations: 0 / 0.7348 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6044, allocations: 4 kB / 0.7348 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.6045, allocations: 23.98 kB / 0.7348 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6045, allocations: 0 / 0.7348 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.6046, allocations: 19.8 kB / 0.7348 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.6046, allocations: 4 kB / 0.7348 GB, free: 4.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.6048, allocations: 169.8 kB / 0.735 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.6049, allocations: 35.53 kB / 0.735 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.6049, allocations: 39.22 kB / 0.735 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6049, allocations: 0 / 0.735 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6049, allocations: 480 / 0.735 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.605, allocations: 0 / 0.735 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.6053, allocations: 313.5 kB / 0.7353 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6053, allocations: 0 / 0.7353 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.6054, allocations: 19.98 kB / 0.7354 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6054, allocations: 7.938 kB / 0.7354 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6054, allocations: 0 / 0.7354 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6055, allocations: 4 kB / 0.7354 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6055, allocations: 0 / 0.7354 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.6058, allocations: 254.9 kB / 0.7356 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.59e-05/0.6059, allocations: 116.7 kB / 0.7357 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.6059, allocations: 0 / 0.7357 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.6061, allocations: 8.062 kB / 0.7357 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.6061, allocations: 11.92 kB / 0.7357 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6061, allocations: 4 kB / 0.7357 GB, free: 3.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002572/0.6064, allocations: 271.1 kB / 0.736 GB, free: 2.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6064, allocations: 0 / 0.736 GB, free: 2.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002599/0.6066, allocations: 47.84 kB / 0.7361 GB, free: 2.785 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 (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.0001339/0.6068, allocations: 103.2 kB / 0.7362 GB, free: 2.676 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.607, allocations: 75.91 kB / 0.7362 GB, free: 2.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.607, allocations: 3.938 kB / 0.7362 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.6071, allocations: 35.92 kB / 0.7363 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.6074, allocations: 25.98 kB / 0.7363 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.6085, allocations: 0.8058 MB / 0.7371 GB, free: 1.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.6089, allocations: 0.8114 MB / 0.7379 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.779e-05/0.609, allocations: 16.64 kB / 0.7379 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.609, allocations: 11.44 kB / 0.7379 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.609, allocations: 0 / 0.7379 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of Templates: time 0.004275/0.6133, allocations: 1.165 MB / 0.739 GB, free: 15.69 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: