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.695/1.695, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001507/0.001507, allocations: 183.9 kB / 377.1 MB, free: 1.52 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.775/1.775, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0009603/0.0009604, allocations: 91.86 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004491, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9989/1.333, allocations: 142 MB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.333, allocations: 89.45 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008706/1.342, allocations: 3.308 MB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.854e-06/1.342, allocations: 0 / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.342, allocations: 4 kB / 1.13 GB, free: 30.76 MB / 0.7292 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.0007102/1.343, allocations: 0.5025 MB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.343, allocations: 8.031 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/1.343, allocations: 56.58 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/1.343, allocations: 24.28 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/1.343, allocations: 236.8 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/1.343, allocations: 12 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/1.343, allocations: 21.41 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/1.344, allocations: 226.2 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.344, allocations: 0 / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/1.344, allocations: 4.938 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.344, allocations: 4 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/1.344, allocations: 149.9 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009136/1.345, allocations: 0.6197 MB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/1.345, allocations: 121.8 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/1.346, allocations: 8 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.346, allocations: 41.88 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/1.346, allocations: 4.75 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004797/1.346, allocations: 188 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/1.346, allocations: 132.5 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/1.346, allocations: 187.8 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/1.346, allocations: 33.7 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/1.347, allocations: 139.1 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/1.347, allocations: 35.06 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-06/1.347, allocations: 4 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/1.347, allocations: 325.8 kB / 1.133 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/1.347, allocations: 59.97 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/1.347, allocations: 78.09 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/1.347, allocations: 47.09 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.347, allocations: 4 kB / 1.134 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/1.347, allocations: 154.7 kB / 1.134 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.347, allocations: 5.188 kB / 1.134 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.347, allocations: 3.953 kB / 1.134 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.347, allocations: 0.5625 kB / 1.134 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/1.348, allocations: 23.47 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.348, allocations: 0.6094 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/1.348, allocations: 36.03 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/1.348, allocations: 10.31 kB / 1.134 GB, free: 27.38 MB / 0.7292 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 () * Number of clocked 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 0.00012/1.348, allocations: 149.3 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/1.348, allocations: 19.72 kB / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/1.348, allocations: 159.5 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.348, allocations: 3.953 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.348, allocations: 5.344 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.348, allocations: 0 / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/1.349, allocations: 271.6 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.349, allocations: 0.5 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/1.349, allocations: 19.56 kB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.349, allocations: 0 / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.349, allocations: 0 / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.349, allocations: 0.8125 kB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.349, allocations: 3.953 kB / 1.134 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/1.349, allocations: 249.4 kB / 1.135 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/1.349, allocations: 89.77 kB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/1.349, allocations: 8 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/1.349, allocations: 30.84 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/1.349, allocations: 34.62 kB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/1.349, allocations: 0 / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001246/1.35, allocations: 157.9 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.35, allocations: 0 / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002577/1.35, allocations: 35.91 kB / 1.135 GB, free: 26.2 MB / 0.7292 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) * Number of clocked states: 0 () * 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/1.35, allocations: 0.7816 MB / 1.136 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002926/1.351, allocations: 121.7 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.351, allocations: 0 / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/1.351, allocations: 63.95 kB / 1.136 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/1.351, allocations: 20 kB / 1.136 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/1.353, allocations: 1.082 MB / 1.137 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/1.353, allocations: 0.7427 MB / 1.138 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.864e-05/1.353, allocations: 16.19 kB / 1.138 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/1.353, allocations: 67.52 kB / 1.138 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.353, allocations: 4 kB / 1.138 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/1.377, allocations: 3.748 MB / 1.142 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.377, allocations: 214.4 kB / 1.142 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/3.402, allocations: 0 / 1.142 GB, free: 21.11 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)