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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.000991/0.000991, allocations: 176.9 kB / 366.7 MB, free: 1.633 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.506/1.506, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009166/0.0009166, allocations: 86.48 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.578e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.6491, allocations: 116.3 MB / 0.9733 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.8352, allocations: 141.4 MB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.8355, allocations: 84.52 kB / 1.112 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.8499, allocations: 6.164 MB / 1.118 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.265e-06/0.85, allocations: 4 kB / 1.118 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.85, allocations: 4 kB / 1.118 GB, free: 2.375 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.0006338/0.8506, allocations: 0.5513 MB / 1.118 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.8507, allocations: 8.031 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.8508, allocations: 39.53 kB / 1.118 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.851, allocations: 263.4 kB / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.851, allocations: 11.23 kB / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.8511, allocations: 8 kB / 1.118 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001933/0.8513, allocations: 79.98 kB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.8515, allocations: 113.2 kB / 1.119 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.8515, allocations: 0 / 1.119 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.8515, allocations: 0 / 1.119 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.8515, allocations: 7.984 kB / 1.119 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.8523, allocations: 0.5437 MB / 1.119 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.8526, allocations: 97.64 kB / 1.119 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.8526, allocations: 48.89 kB / 1.119 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.8527, allocations: 0 / 1.119 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.8527, allocations: 30.56 kB / 1.119 GB, free: 460 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.8527, allocations: 4 kB / 1.119 GB, free: 456 kB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002075/0.8529, allocations: 109.3 kB / 1.119 GB, free: 340 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.853, allocations: 55.41 kB / 1.119 GB, free: 272 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.8533, allocations: 313.3 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.8533, allocations: 29.7 kB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.8535, allocations: 212 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.8535, allocations: 31.47 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/0.8535, allocations: 0 / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8537, allocations: 350.8 kB / 1.12 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.8538, allocations: 24 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.8538, allocations: 37.09 kB / 1.12 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.8539, allocations: 31.94 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8539, allocations: 4 kB / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001576/0.8541, allocations: 118.2 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8541, allocations: 4 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8541, allocations: 4 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.8541, allocations: 0 / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.8543, allocations: 27.97 kB / 1.121 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.8543, allocations: 4 kB / 1.121 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.8544, allocations: 19.88 kB / 1.121 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.8544, allocations: 5.859 kB / 1.121 GB, free: 15.04 MB / 0.7292 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 9.905e-05/0.8545, allocations: 111 kB / 1.121 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001764/0.8547, allocations: 113.2 kB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.8548, allocations: 31.62 kB / 1.121 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.8548, allocations: 31.27 kB / 1.121 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.8548, allocations: 4 kB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8549, allocations: 4 kB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.8549, allocations: 3.953 kB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.8552, allocations: 278 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8552, allocations: 0 / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.8554, allocations: 27.92 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8554, allocations: 0 / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.8554, allocations: 7.625 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.8554, allocations: 0 / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8554, allocations: 7.281 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.8557, allocations: 243 kB / 1.121 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.8558, allocations: 108.7 kB / 1.122 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.8559, allocations: 4 kB / 1.122 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.856, allocations: 7.984 kB / 1.122 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.8561, allocations: 11.92 kB / 1.122 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.8561, allocations: 4 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002501/0.8563, allocations: 251 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8563, allocations: 0 / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002741/0.8566, allocations: 43.84 kB / 1.122 GB, free: 13.7 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.0007475/0.8574, allocations: 0.8102 MB / 1.123 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.8576, allocations: 62.19 kB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8576, allocations: 0 / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.8577, allocations: 31.94 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.858, allocations: 21.86 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.8591, allocations: 0.5186 MB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.8596, allocations: 0.8089 MB / 1.124 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.538e-05/0.8596, allocations: 8.547 kB / 1.124 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.8598, allocations: 95.41 kB / 1.124 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.8598, allocations: 4 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.8836, allocations: 4.686 MB / 1.129 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.8839, allocations: 148.8 kB / 1.129 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.912, allocations: 1.375 kB / 1.129 GB, free: 6.531 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)