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.667/1.667, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001141/0.00114, allocations: 182 kB / 371.6 MB, free: 3.363 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.849/1.849, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001211/0.001211, allocations: 91.53 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.239e-05/4.277e-05, allocations: 0 / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3172, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.319, allocations: 141.9 MB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/1.319, allocations: 89.17 kB / 1.119 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00803/1.327, allocations: 3.288 MB / 1.122 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.327, allocations: 0 / 1.122 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.182e-05/1.327, allocations: 8 kB / 1.122 GB, free: 40.54 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005453/1.328, allocations: 485.9 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.328, allocations: 11.97 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.389e-05/1.328, allocations: 57.52 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/1.328, allocations: 23.72 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/1.328, allocations: 229.6 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.328, allocations: 21.5 kB / 1.123 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/1.328, allocations: 18.69 kB / 1.123 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/1.329, allocations: 201.2 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.329, allocations: 1.547 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.329, allocations: 10.31 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.329, allocations: 4 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/1.329, allocations: 123.3 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/1.33, allocations: 0.6125 MB / 1.124 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/1.33, allocations: 121.6 kB / 1.124 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/1.33, allocations: 39.27 kB / 1.124 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/1.33, allocations: 7.938 kB / 1.124 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.33, allocations: 37.28 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/1.33, allocations: 4 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002899/1.331, allocations: 116.8 kB / 1.124 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.331, allocations: 132.5 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/1.331, allocations: 188.5 kB / 1.124 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/1.331, allocations: 33.08 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/1.331, allocations: 137.3 kB / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/1.331, allocations: 29.91 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/1.331, allocations: 4 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/1.331, allocations: 327.8 kB / 1.125 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/1.331, allocations: 42.75 kB / 1.125 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/1.331, allocations: 66.38 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/1.331, allocations: 35.02 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.331, allocations: 4 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001898/1.332, allocations: 123.4 kB / 1.125 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.332, allocations: 7.953 kB / 1.125 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.332, allocations: 0 / 1.125 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.332, allocations: 4 kB / 1.125 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.332, allocations: 27.52 kB / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.332, allocations: 0 / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/1.332, allocations: 39.19 kB / 1.125 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/1.332, allocations: 7.5 kB / 1.125 GB, free: 37.75 MB / 0.7448 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 7.125e-05/1.332, allocations: 113.1 kB / 1.125 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/1.332, allocations: 15.81 kB / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/1.332, allocations: 141.5 kB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.332, allocations: 0 / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.332, allocations: 4.938 kB / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/1.332, allocations: 1.219 kB / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/1.333, allocations: 267.5 kB / 1.126 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.333, allocations: 4 kB / 1.126 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/1.333, allocations: 19.52 kB / 1.126 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.333, allocations: 0 / 1.126 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/1.333, allocations: 4.625 kB / 1.126 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/1.333, allocations: 7.891 kB / 1.126 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.333, allocations: 4 kB / 1.126 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/1.333, allocations: 211.7 kB / 1.126 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/1.333, allocations: 88.92 kB / 1.126 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/1.333, allocations: 11.25 kB / 1.126 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/1.333, allocations: 33.64 kB / 1.126 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/1.334, allocations: 32.97 kB / 1.126 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.334, allocations: 0.75 kB / 1.126 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001249/1.334, allocations: 154 kB / 1.126 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.334, allocations: 4 kB / 1.126 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000242/1.334, allocations: 42.16 kB / 1.126 GB, free: 36.77 MB / 0.7448 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.0005892/1.335, allocations: 0.7576 MB / 1.127 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002159/1.335, allocations: 90.05 kB / 1.127 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.335, allocations: 11.38 kB / 1.127 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/1.335, allocations: 42.94 kB / 1.127 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/1.335, allocations: 22.09 kB / 1.127 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/1.336, allocations: 261.3 kB / 1.127 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/1.336, allocations: 0.7391 MB / 1.128 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.927e-05/1.336, allocations: 18.33 kB / 1.128 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/1.336, allocations: 62.16 kB / 1.128 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.336, allocations: 0 / 1.128 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/1.352, allocations: 3.73 MB / 1.132 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.352, allocations: 193.8 kB / 1.132 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/3.081, allocations: 2.5 kB / 1.132 GB, free: 32.64 MB / 0.7448 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)