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.589/1.589, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001135/0.001135, allocations: 172.9 kB / 361.4 MB, free: 6.852 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.393/1.393, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009762/0.0009758, allocations: 97.25 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.094e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5966/0.5966, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.7836, allocations: 140.4 MB / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.784, allocations: 90.75 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.7997, allocations: 6.166 MB / 1.108 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7997, allocations: 0 / 1.108 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.7998, allocations: 8 kB / 1.108 GB, free: 9.016 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.0007526/0.8005, allocations: 0.5429 MB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.8006, allocations: 16.03 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.8007, allocations: 40.56 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.801, allocations: 258.7 kB / 1.109 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.801, allocations: 4 kB / 1.109 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.801, allocations: 12 kB / 1.109 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002014/0.8012, allocations: 77.25 kB / 1.109 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.8015, allocations: 117.2 kB / 1.109 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.8015, allocations: 0 / 1.109 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.8015, allocations: 0 / 1.109 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.8015, allocations: 8.875 kB / 1.109 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.8024, allocations: 0.5515 MB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.8026, allocations: 82.61 kB / 1.109 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.8027, allocations: 47.72 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.8028, allocations: 4 kB / 1.109 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.8028, allocations: 36.62 kB / 1.109 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.8028, allocations: 0 / 1.109 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000232/0.803, allocations: 114.8 kB / 1.11 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.8031, allocations: 51.41 kB / 1.11 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.8035, allocations: 317.3 kB / 1.11 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.8035, allocations: 25.7 kB / 1.11 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.8037, allocations: 212 kB / 1.11 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.8037, allocations: 35.45 kB / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.8037, allocations: 0 / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8039, allocations: 350.8 kB / 1.111 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.8039, allocations: 20 kB / 1.111 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.804, allocations: 45.22 kB / 1.111 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.804, allocations: 30.94 kB / 1.111 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8041, allocations: 0 / 1.111 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001856/0.8042, allocations: 125.2 kB / 1.111 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8043, allocations: 5.094 kB / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.8043, allocations: 0 / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8043, allocations: 0 / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.8045, allocations: 27.98 kB / 1.111 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8045, allocations: 32 / 1.111 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.8046, allocations: 23.83 kB / 1.111 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.8046, allocations: 4 kB / 1.111 GB, free: 5.684 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 7.712e-05/0.8047, allocations: 108.9 kB / 1.111 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001685/0.8049, allocations: 105.3 kB / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.8049, allocations: 31.62 kB / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.805, allocations: 39.27 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.805, allocations: 4 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.805, allocations: 0.8438 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.805, allocations: 7.938 kB / 1.111 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.8053, allocations: 274 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.8054, allocations: 0 / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.8055, allocations: 27.92 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.8055, allocations: 9.359 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.8056, allocations: 0 / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8056, allocations: 0 / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8056, allocations: 0 / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.8059, allocations: 250 kB / 1.112 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.8059, allocations: 104.7 kB / 1.112 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.806, allocations: 0 / 1.112 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.8061, allocations: 11.98 kB / 1.112 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.8062, allocations: 11.98 kB / 1.112 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.8062, allocations: 0 / 1.112 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002366/0.8064, allocations: 259 kB / 1.112 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8064, allocations: 3.938 kB / 1.112 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002927/0.8067, allocations: 39.84 kB / 1.112 GB, free: 4.344 MB / 0.7136 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.0006668/0.8074, allocations: 0.8124 MB / 1.113 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.8075, allocations: 64.77 kB / 1.113 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8076, allocations: 0 / 1.113 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.653e-05/0.8076, allocations: 35.94 kB / 1.113 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.8079, allocations: 19.09 kB / 1.113 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.8089, allocations: 0.5154 MB / 1.113 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.8093, allocations: 0.8055 MB / 1.114 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.8094, allocations: 4.562 kB / 1.114 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.8095, allocations: 107.4 kB / 1.114 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of SimCode: time 4.3e-07/0.8095, allocations: 3 kB / 1.114 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.8331, allocations: 4.676 MB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.8334, allocations: 169.2 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.007, allocations: 3.094 kB / 1.119 GB, free: 13.18 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)