Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.3 MB / 261.9 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 169 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009585/0.0009584, allocations: 94.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.584e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1888, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6286/0.8174, allocations: 134.9 MB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.8177, allocations: 86.19 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.8326, allocations: 6.254 MB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8327, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.8327, allocations: 8 kB / 1.03 GB, free: 10.26 MB / 0.6511 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.0006499/0.8334, allocations: 0.5389 MB / 1.03 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.8334, allocations: 12.03 kB / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.8335, allocations: 52.73 kB / 1.03 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.8335, allocations: 47.44 kB / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.8338, allocations: 253.2 kB / 1.031 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.8338, allocations: 11.69 kB / 1.031 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.8339, allocations: 15.38 kB / 1.031 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.8341, allocations: 136.3 kB / 1.031 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.8341, allocations: 4 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.8342, allocations: 3.25 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8342, allocations: 7.984 kB / 1.031 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.8344, allocations: 86.56 kB / 1.031 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.8352, allocations: 0.5962 MB / 1.032 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.8354, allocations: 99.22 kB / 1.032 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.8355, allocations: 46.36 kB / 1.032 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.8355, allocations: 4 kB / 1.032 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.8356, allocations: 34.56 kB / 1.032 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.8356, allocations: 0 / 1.032 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002464/0.8358, allocations: 126 kB / 1.032 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.8359, allocations: 51.41 kB / 1.032 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.8362, allocations: 354.4 kB / 1.032 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.8363, allocations: 25.7 kB / 1.032 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.8364, allocations: 214.2 kB / 1.032 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.8365, allocations: 30.5 kB / 1.032 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.8365, allocations: 4 kB / 1.032 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8366, allocations: 352 kB / 1.033 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.8367, allocations: 19.56 kB / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.8367, allocations: 43.58 kB / 1.033 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.55e-05/0.8368, allocations: 29.5 kB / 1.033 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8368, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001777/0.837, allocations: 130.5 kB / 1.033 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.837, allocations: 11.97 kB / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.837, allocations: 7.969 kB / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8371, allocations: 4 kB / 1.033 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.8372, allocations: 28.12 kB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.8372, allocations: 0 / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.8374, allocations: 31.58 kB / 1.033 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.8374, allocations: 0 / 1.033 GB, free: 7.172 MB / 0.6511 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 7.193e-05/0.8374, allocations: 116 kB / 1.033 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.8375, allocations: 35.53 kB / 1.033 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.8376, allocations: 38.45 kB / 1.033 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8376, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8376, allocations: 3.953 kB / 1.033 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8376, allocations: 3.984 kB / 1.033 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.8379, allocations: 306.5 kB / 1.034 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.838, allocations: 0 / 1.034 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.8381, allocations: 31.59 kB / 1.034 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8381, allocations: 4 kB / 1.034 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.8381, allocations: 0 / 1.034 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8381, allocations: 0 / 1.034 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8382, allocations: 4 kB / 1.034 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.8384, allocations: 253.3 kB / 1.034 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.8385, allocations: 108.7 kB / 1.034 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.8386, allocations: 3.5 kB / 1.034 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.8387, allocations: 16.06 kB / 1.034 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.8388, allocations: 7.984 kB / 1.034 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.8388, allocations: 0 / 1.034 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002548/0.839, allocations: 291.1 kB / 1.034 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.463e-06/0.839, allocations: 0 / 1.034 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002725/0.8393, allocations: 55.73 kB / 1.034 GB, free: 5.996 MB / 0.6511 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.0006175/0.8399, allocations: 0.8151 MB / 1.035 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.8401, allocations: 63.5 kB / 1.035 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8401, allocations: 128 / 1.035 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/0.8402, allocations: 43.56 kB / 1.035 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.8405, allocations: 30.98 kB / 1.035 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.8415, allocations: 0.5299 MB / 1.036 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.8418, allocations: 0.8093 MB / 1.037 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.87e-05/0.8419, allocations: 13.2 kB / 1.037 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.842, allocations: 98.59 kB / 1.037 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.842, allocations: 4 kB / 1.037 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.8614, allocations: 5.987 MB / 1.043 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.8617, allocations: 176.1 kB / 1.043 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.775, allocations: 0 / 1.043 GB, free: 13.63 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)