Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.843/1.843, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001986/0.001986, allocations: 176.8 kB / 366.7 MB, free: 1.703 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.105/2.105, allocations: 205.3 MB / 0.626 GB, free: 7.137 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.00102/0.00102, allocations: 93.67 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.682e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7497, allocations: 116.3 MB / 0.9734 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.9538, allocations: 141.3 MB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.9541, allocations: 98.98 kB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009786/0.964, allocations: 3.268 MB / 1.115 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.964, allocations: 0 / 1.115 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.964, allocations: 8 kB / 1.115 GB, free: 5.5 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006707/0.9647, allocations: 476.6 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.9648, allocations: 12.03 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.9648, allocations: 25.59 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.9651, allocations: 247.4 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.9652, allocations: 4 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.9652, allocations: 12 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002394/0.9655, allocations: 111.8 kB / 1.115 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.9658, allocations: 173 kB / 1.116 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.9658, allocations: 4 kB / 1.116 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.9658, allocations: 4 kB / 1.116 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9658, allocations: 4 kB / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.9667, allocations: 0.5589 MB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.9671, allocations: 103 kB / 1.116 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.9672, allocations: 46.48 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.9672, allocations: 0 / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.9672, allocations: 42.56 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.9672, allocations: 0 / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002901/0.9675, allocations: 109.4 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.9676, allocations: 132.5 kB / 1.117 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.9678, allocations: 162.2 kB / 1.117 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.9678, allocations: 29.7 kB / 1.117 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.9679, allocations: 151.2 kB / 1.117 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.968, allocations: 27.61 kB / 1.117 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.968, allocations: 0 / 1.117 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9681, allocations: 326.8 kB / 1.117 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.9682, allocations: 39.38 kB / 1.117 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.9683, allocations: 67.42 kB / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.524e-05/0.9684, allocations: 33.48 kB / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9684, allocations: 0 / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002072/0.9686, allocations: 121.4 kB / 1.118 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.9686, allocations: 5.406 kB / 1.118 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.9686, allocations: 7.984 kB / 1.118 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9686, allocations: 0 / 1.118 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.9688, allocations: 23.94 kB / 1.118 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.9688, allocations: 0 / 1.118 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.969, allocations: 34.11 kB / 1.118 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.969, allocations: 3.984 kB / 1.118 GB, free: 2.227 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.25e-05/0.9691, allocations: 105 kB / 1.118 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001908/0.9693, allocations: 113.4 kB / 1.118 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.9693, allocations: 19.8 kB / 1.118 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.9696, allocations: 127.3 kB / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9696, allocations: 0 / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9696, allocations: 0 / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.9696, allocations: 8 kB / 1.118 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.9699, allocations: 234.1 kB / 1.118 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9699, allocations: 0 / 1.118 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.97, allocations: 19.92 kB / 1.118 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.97, allocations: 3.938 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.97, allocations: 0 / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.9701, allocations: 3.719 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.9701, allocations: 7.953 kB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.9703, allocations: 203.3 kB / 1.118 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.9704, allocations: 96.84 kB / 1.118 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.9704, allocations: 4 kB / 1.118 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.9706, allocations: 34.12 kB / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.9707, allocations: 23.91 kB / 1.119 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.9707, allocations: 12 kB / 1.119 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.954e-05/0.9708, allocations: 125.2 kB / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9708, allocations: 0 / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002617/0.9711, allocations: 35.92 kB / 1.119 GB, free: 0.9844 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0005983/0.9717, allocations: 0.7435 MB / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.9719, allocations: 87.92 kB / 1.12 GB, free: 132 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9719, allocations: 4 kB / 1.12 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.972, allocations: 41.31 kB / 1.12 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.9722, allocations: 17.42 kB / 1.12 GB, free: 68 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.9729, allocations: 243.3 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.9733, allocations: 0.7443 MB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.884e-05/0.9734, allocations: 14.23 kB / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.9735, allocations: 59.41 kB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.9735, allocations: 4 kB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.9973, allocations: 3.048 MB / 1.124 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.9977, allocations: 175.7 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.704, allocations: 1.25 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)