Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.584/1.584, allocations: 285.4 MB / 298 MB, free: 5.965 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.001033/0.001033, allocations: 184.8 kB / 366.4 MB, free: 2.066 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.439/1.439, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008221/0.0008224, allocations: 86.64 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.948e-05, allocations: 8 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6412, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.8239, allocations: 141.1 MB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.8242, allocations: 79.95 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.8391, allocations: 6.233 MB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8391, allocations: 0 / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.8391, allocations: 8 kB / 1.115 GB, free: 4.285 MB / 0.7136 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.000617/0.8398, allocations: 0.5481 MB / 1.115 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8398, allocations: 12.03 kB / 1.115 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.056e-05/0.8399, allocations: 54.48 kB / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.84, allocations: 43.36 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.8402, allocations: 249.2 kB / 1.116 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.8402, allocations: 14.38 kB / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.8403, allocations: 21.97 kB / 1.116 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.8405, allocations: 134.7 kB / 1.116 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8406, allocations: 0 / 1.116 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.8406, allocations: 8 kB / 1.116 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8406, allocations: 4 kB / 1.116 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.8408, allocations: 87.98 kB / 1.116 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.8416, allocations: 0.5977 MB / 1.117 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.8418, allocations: 90.61 kB / 1.117 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.8419, allocations: 44.86 kB / 1.117 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.842, allocations: 4 kB / 1.117 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.842, allocations: 38.56 kB / 1.117 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.842, allocations: 0 / 1.117 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002351/0.8422, allocations: 121.3 kB / 1.117 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.8423, allocations: 57.66 kB / 1.117 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.8427, allocations: 351.2 kB / 1.117 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.8427, allocations: 29.7 kB / 1.117 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.8429, allocations: 215.8 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.8429, allocations: 35.45 kB / 1.118 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.8429, allocations: 0 / 1.118 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8431, allocations: 346.8 kB / 1.118 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.8431, allocations: 24 kB / 1.118 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.8432, allocations: 40.78 kB / 1.118 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.071e-05/0.8433, allocations: 35.92 kB / 1.118 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8433, allocations: 0 / 1.118 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001862/0.8435, allocations: 138.1 kB / 1.118 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.8435, allocations: 4 kB / 1.118 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.8435, allocations: 0 / 1.118 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.8435, allocations: 0 / 1.118 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.8437, allocations: 27.98 kB / 1.118 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.8437, allocations: 6.141 kB / 1.118 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.8438, allocations: 27.86 kB / 1.118 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.8438, allocations: 0 / 1.118 GB, free: 0.707 MB / 0.7136 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 6.961e-05/0.8439, allocations: 112.9 kB / 1.118 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.844, allocations: 35.53 kB / 1.118 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.844, allocations: 43.44 kB / 1.118 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.844, allocations: 0 / 1.118 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.844, allocations: 0 / 1.118 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8441, allocations: 4.516 kB / 1.118 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.8444, allocations: 313.4 kB / 1.119 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8444, allocations: 0 / 1.119 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.8445, allocations: 33.8 kB / 1.119 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8445, allocations: 0 / 1.119 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.8446, allocations: 0 / 1.119 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8446, allocations: 1.312 kB / 1.119 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8446, allocations: 0 / 1.119 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.8449, allocations: 259 kB / 1.119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.845, allocations: 104.8 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.845, allocations: 5.656 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.8452, allocations: 11.98 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.8452, allocations: 11.98 kB / 1.119 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.8452, allocations: 0 / 1.119 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002831/0.8455, allocations: 293.1 kB / 1.119 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8455, allocations: 0 / 1.119 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002643/0.8458, allocations: 43.84 kB / 1.119 GB, free: 15.38 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 () * 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.0006261/0.8464, allocations: 0.8237 MB / 1.12 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.8466, allocations: 68 kB / 1.12 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8466, allocations: 0 / 1.12 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.8467, allocations: 35.94 kB / 1.12 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.847, allocations: 38.17 kB / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/0.8479, allocations: 0.5314 MB / 1.121 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.8483, allocations: 0.8043 MB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.113e-05/0.8484, allocations: 13.2 kB / 1.122 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.8485, allocations: 99.39 kB / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/0.8485, allocations: 0 / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.8651, allocations: 5.987 MB / 1.128 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.8653, allocations: 173.5 kB / 1.128 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.843, allocations: 2.25 kB / 1.128 GB, free: 6.984 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)