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.662/1.662, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.00136/0.001361, allocations: 180.7 kB / 371.6 MB, free: 3.391 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.494/1.494, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001017/0.001017, allocations: 93.48 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.099e-05/5.103e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2586, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7606/1.019, allocations: 142.1 MB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.02, allocations: 82.58 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01277/1.032, allocations: 6.24 MB / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/1.032, allocations: 0 / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.032, allocations: 8 kB / 1.125 GB, free: 38.38 MB / 0.7448 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.0005895/1.033, allocations: 0.5347 MB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.033, allocations: 19.5 kB / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/1.033, allocations: 45.88 kB / 1.125 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/1.033, allocations: 48.78 kB / 1.125 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/1.033, allocations: 248.6 kB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.033, allocations: 11.88 kB / 1.126 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/1.033, allocations: 11.94 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/1.034, allocations: 134.9 kB / 1.126 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.034, allocations: 0 / 1.126 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/1.034, allocations: 3.875 kB / 1.126 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.034, allocations: 8.438 kB / 1.126 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/1.034, allocations: 92.03 kB / 1.126 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/1.035, allocations: 0.6038 MB / 1.127 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/1.035, allocations: 86.12 kB / 1.127 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.038e-05/1.035, allocations: 52.12 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/1.035, allocations: 4 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/1.035, allocations: 34.69 kB / 1.127 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/1.035, allocations: 0 / 1.127 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002251/1.035, allocations: 124.2 kB / 1.127 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/1.035, allocations: 56.16 kB / 1.127 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/1.036, allocations: 358.3 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/1.036, allocations: 29.7 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.036, allocations: 209.7 kB / 1.127 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/1.036, allocations: 30.75 kB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/1.036, allocations: 0 / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/1.036, allocations: 350 kB / 1.128 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/1.036, allocations: 22.19 kB / 1.128 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/1.036, allocations: 44.02 kB / 1.128 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/1.036, allocations: 29.88 kB / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.036, allocations: 0 / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001641/1.036, allocations: 134.7 kB / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.036, allocations: 4 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.036, allocations: 0 / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.036, allocations: 4 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.036, allocations: 31.39 kB / 1.128 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.036, allocations: 3.953 kB / 1.128 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/1.037, allocations: 23.36 kB / 1.128 GB, free: 35.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/1.037, allocations: 8.562 kB / 1.128 GB, free: 35.55 MB / 0.7448 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 5.011e-05/1.037, allocations: 102.6 kB / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/1.037, allocations: 45.44 kB / 1.128 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/1.037, allocations: 38.11 kB / 1.128 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.037, allocations: 4 kB / 1.128 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.037, allocations: 0 / 1.128 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.037, allocations: 7.234 kB / 1.128 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/1.037, allocations: 311 kB / 1.129 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.037, allocations: 0 / 1.129 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/1.037, allocations: 28.3 kB / 1.129 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.037, allocations: 0 / 1.129 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.037, allocations: 1.188 kB / 1.129 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.037, allocations: 4 kB / 1.129 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.037, allocations: 4.781 kB / 1.129 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/1.037, allocations: 258.3 kB / 1.129 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/1.038, allocations: 104.7 kB / 1.129 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/1.038, allocations: 3.25 kB / 1.129 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.038, allocations: 11.61 kB / 1.129 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/1.038, allocations: 7.469 kB / 1.129 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.038, allocations: 7.875 kB / 1.129 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000216/1.038, allocations: 286.9 kB / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/1.038, allocations: 0 / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002507/1.038, allocations: 51.34 kB / 1.129 GB, free: 34.49 MB / 0.7448 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.0004737/1.039, allocations: 0.8125 MB / 1.13 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001332/1.039, allocations: 65.97 kB / 1.13 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.039, allocations: 0 / 1.13 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/1.039, allocations: 38.47 kB / 1.13 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/1.039, allocations: 37.2 kB / 1.13 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/1.04, allocations: 0.5332 MB / 1.131 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/1.04, allocations: 0.8031 MB / 1.132 GB, free: 32.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.271e-05/1.04, allocations: 16.59 kB / 1.132 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/1.041, allocations: 106 kB / 1.132 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.041, allocations: 0 / 1.132 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/1.058, allocations: 5.979 MB / 1.137 GB, free: 28.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/1.058, allocations: 167.5 kB / 1.138 GB, free: 28.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/3.145, allocations: 4 kB / 1.138 GB, free: 28.52 MB / 0.7448 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)