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.728/1.728, allocations: 288.2 MB / 303.2 MB, free: 8.109 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.00114/0.00114, allocations: 187.2 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.6305 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 94.58 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004526, allocations: 11.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7863/1.024, allocations: 141.2 MB / 1.117 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.024, allocations: 83.66 kB / 1.117 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01356/1.038, allocations: 6.238 MB / 1.124 GB, free: 31.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/1.038, allocations: 0 / 1.124 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.864e-05/1.038, allocations: 3.875 kB / 1.124 GB, free: 31.21 MB / 0.698 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.0008385/1.039, allocations: 0.6133 MB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.039, allocations: 11.67 kB / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/1.039, allocations: 46.52 kB / 1.124 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/1.039, allocations: 45.36 kB / 1.124 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/1.039, allocations: 247.8 kB / 1.124 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/1.039, allocations: 13.91 kB / 1.124 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/1.039, allocations: 18.81 kB / 1.124 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/1.04, allocations: 152.6 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.04, allocations: 0 / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/1.04, allocations: 6.75 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.04, allocations: 3.844 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/1.04, allocations: 131 kB / 1.125 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/1.041, allocations: 0.6059 MB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/1.041, allocations: 105 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/1.041, allocations: 0 / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/1.041, allocations: 42.31 kB / 1.126 GB, free: 29.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/1.041, allocations: 3.844 kB / 1.126 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004511/1.042, allocations: 197.4 kB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.042, allocations: 55.36 kB / 1.126 GB, free: 29.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/1.042, allocations: 357.7 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/1.042, allocations: 28.77 kB / 1.126 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.042, allocations: 212.8 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/1.042, allocations: 33.66 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.042, allocations: 0 / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.042, allocations: 348.3 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/1.043, allocations: 45.38 kB / 1.127 GB, free: 29.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/1.043, allocations: 52.36 kB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/1.043, allocations: 54.3 kB / 1.127 GB, free: 29.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.043, allocations: 0 / 1.127 GB, free: 29.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000296/1.043, allocations: 159.5 kB / 1.127 GB, free: 29.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.043, allocations: 3.844 kB / 1.127 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.043, allocations: 0 / 1.127 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.043, allocations: 7.938 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.043, allocations: 34.17 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.043, allocations: 3.844 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/1.043, allocations: 22.03 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.043, allocations: 3.875 kB / 1.127 GB, free: 29.17 MB / 0.698 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 () * Number of clocked 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 0.0001509/1.044, allocations: 167.9 kB / 1.127 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/1.044, allocations: 34.91 kB / 1.127 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/1.044, allocations: 42.47 kB / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.044, allocations: 0 / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.044, allocations: 0 / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.044, allocations: 0 / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/1.044, allocations: 313.5 kB / 1.128 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.044, allocations: 3.844 kB / 1.128 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/1.044, allocations: 28.53 kB / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.044, allocations: 0 / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.044, allocations: 4 kB / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.044, allocations: 2.859 kB / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.044, allocations: 0 / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/1.045, allocations: 310 kB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/1.045, allocations: 108.3 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/1.045, allocations: 14.22 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/1.045, allocations: 10.53 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/1.045, allocations: 6.5 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.045, allocations: 0 / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002507/1.045, allocations: 296.5 kB / 1.128 GB, free: 28.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.045, allocations: 0 / 1.128 GB, free: 28.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002884/1.046, allocations: 45.81 kB / 1.128 GB, free: 28.45 MB / 0.698 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.0007766/1.046, allocations: 0.8671 MB / 1.129 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002691/1.047, allocations: 96.02 kB / 1.129 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.047, allocations: 0 / 1.129 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/1.047, allocations: 55.48 kB / 1.129 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/1.047, allocations: 41.66 kB / 1.129 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/1.05, allocations: 2.07 MB / 1.131 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/1.05, allocations: 0.8116 MB / 1.132 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.325e-05/1.05, allocations: 12.12 kB / 1.132 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.05, allocations: 97.73 kB / 1.132 GB, free: 26.08 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/1.05, allocations: 0 / 1.132 GB, free: 26.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/1.067, allocations: 5.902 MB / 1.138 GB, free: 23.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/1.067, allocations: 209.4 kB / 1.138 GB, free: 23.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/3.046, allocations: 7.75 kB / 1.138 GB, free: 23.4 MB / 0.698 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)