Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001291/0.001291, allocations: 192.1 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7447 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002268, allocations: 66.34 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.439, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00393/0.4429, allocations: 2.495 MB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.4439, allocations: 0.5199 MB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.444, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.4444, allocations: 127.8 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.4446, allocations: 75.48 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.4447, allocations: 35.97 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.445, allocations: 242.5 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.4452, allocations: 102.1 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4453, allocations: 75.67 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.4454, allocations: 103.5 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.4455, allocations: 16 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.4455, allocations: 12 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.779e-05/0.4456, allocations: 71.69 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4458, allocations: 151 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.4461, allocations: 326.7 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4461, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4461, allocations: 3.938 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.4461, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 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.0008107/0.4469, allocations: 0.6417 MB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4469, allocations: 8.031 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.447, allocations: 44.38 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.4474, allocations: 306.2 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.4474, allocations: 8.375 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.4474, allocations: 16.38 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.4477, allocations: 139.8 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4477, allocations: 4.188 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4478, allocations: 15.88 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4478, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.448, allocations: 91.95 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.4488, allocations: 0.6012 MB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.4491, allocations: 90.59 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.4492, allocations: 40.84 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4492, allocations: 8 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.4492, allocations: 34.56 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4492, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003503/0.4496, allocations: 141.1 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.4496, allocations: 55.41 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.45, allocations: 390 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.45, allocations: 29.7 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4502, allocations: 216 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.4502, allocations: 35.53 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.4503, allocations: 29.62 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4504, allocations: 358.7 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.4505, allocations: 27.98 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.4506, allocations: 59.36 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4508, allocations: 91.36 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4508, allocations: 0 / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002448/0.451, allocations: 149.5 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4511, allocations: 4 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4511, allocations: 4.094 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4512, allocations: 4 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4513, allocations: 27.98 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4513, allocations: 0 / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.4514, allocations: 11.84 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.4514, allocations: 7.984 kB / 1.075 GB, free: 2.723 MB / 0.8262 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.0001426/0.4516, allocations: 169.7 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.4516, allocations: 35.53 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.4517, allocations: 39.22 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4517, allocations: 4 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4517, allocations: 0 / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4517, allocations: 3.984 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.4521, allocations: 305.5 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4521, allocations: 0 / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.4522, allocations: 20 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4522, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4522, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4522, allocations: 3.984 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4522, allocations: 4 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.4526, allocations: 254.9 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.4527, allocations: 108.8 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4527, allocations: 4 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4528, allocations: 3.984 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.4529, allocations: 7.984 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4529, allocations: 12 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000253/0.4532, allocations: 279.1 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4532, allocations: 0 / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002832/0.4535, allocations: 51.78 kB / 1.077 GB, free: 1.344 MB / 0.8262 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.0001106/0.4536, allocations: 95.44 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.4538, allocations: 83.78 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.4538, allocations: 0 / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.4539, allocations: 40.11 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.4543, allocations: 29.48 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4555, allocations: 0.7562 MB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4558, allocations: 0.7945 MB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.086e-05/0.4559, allocations: 16.62 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.456, allocations: 15.44 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.456, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.004329/0.4603, allocations: 1.188 MB / 1.079 GB, free: 14.28 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)