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: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.00122/0.00122, allocations: 172.8 kB / 366.7 MB, free: 1.699 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.81/1.81, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0009706/0.0009704, allocations: 103.8 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.041e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7453, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.9417, allocations: 141.3 MB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.9419, allocations: 95.92 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008993/0.951, allocations: 3.273 MB / 1.115 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.951, allocations: 2.438 kB / 1.115 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.951, allocations: 4 kB / 1.115 GB, free: 5.641 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.0006438/0.9517, allocations: 473.9 kB / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9517, allocations: 12.03 kB / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.9518, allocations: 23.72 kB / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.9521, allocations: 247.4 kB / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.9521, allocations: 4 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.9522, allocations: 12 kB / 1.115 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002333/0.9524, allocations: 107.8 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.9527, allocations: 179.6 kB / 1.116 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9527, allocations: 0 / 1.116 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.9528, allocations: 0 / 1.116 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.9528, allocations: 4 kB / 1.116 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009005/0.9537, allocations: 0.5667 MB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.954, allocations: 110.8 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.774e-05/0.9541, allocations: 40.98 kB / 1.116 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.9541, allocations: 0 / 1.116 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.9542, allocations: 38.56 kB / 1.116 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.9542, allocations: 0 / 1.116 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002872/0.9545, allocations: 111.2 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.9546, allocations: 136.5 kB / 1.117 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.9547, allocations: 162.2 kB / 1.117 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.9548, allocations: 29.7 kB / 1.117 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.9548, allocations: 143.2 kB / 1.117 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.9549, allocations: 27.61 kB / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.9549, allocations: 4 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9551, allocations: 318.8 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.9551, allocations: 40 kB / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.9552, allocations: 69.67 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.9553, allocations: 27.98 kB / 1.117 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9553, allocations: 4 kB / 1.117 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001963/0.9555, allocations: 125.4 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.9555, allocations: 5.25 kB / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9556, allocations: 0 / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.9556, allocations: 0 / 1.117 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9557, allocations: 25.92 kB / 1.117 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9557, allocations: 7.094 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.9559, allocations: 31.95 kB / 1.117 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.9559, allocations: 4 kB / 1.117 GB, free: 2.371 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.272e-05/0.956, allocations: 113 kB / 1.118 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.956, allocations: 15.81 kB / 1.118 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.9563, allocations: 127.4 kB / 1.118 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9563, allocations: 0 / 1.118 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.9563, allocations: 3.953 kB / 1.118 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.9563, allocations: 0 / 1.118 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.9566, allocations: 234.1 kB / 1.118 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.9566, allocations: 4 kB / 1.118 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.9567, allocations: 23.92 kB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.9567, allocations: 0 / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.9567, allocations: 5.812 kB / 1.118 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9567, allocations: 0 / 1.118 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9567, allocations: 0 / 1.118 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.957, allocations: 211.2 kB / 1.118 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.957, allocations: 92.91 kB / 1.118 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.9571, allocations: 4 kB / 1.118 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.9573, allocations: 37.47 kB / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.9574, allocations: 19.95 kB / 1.118 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.9574, allocations: 4 kB / 1.118 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.9575, allocations: 120.1 kB / 1.118 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9575, allocations: 0 / 1.118 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002462/0.9577, allocations: 39.92 kB / 1.118 GB, free: 1.25 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.0001732/0.9579, allocations: 107.2 kB / 1.119 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.9581, allocations: 83.94 kB / 1.119 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9581, allocations: 4 kB / 1.119 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.9582, allocations: 45.8 kB / 1.119 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.9584, allocations: 21.39 kB / 1.119 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.9589, allocations: 201.7 kB / 1.119 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.9592, allocations: 0.7326 MB / 1.12 GB, free: 8 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.9593, allocations: 21.2 kB / 1.12 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.9594, allocations: 19.42 kB / 1.12 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9594, allocations: 0 / 1.12 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.00427/0.9637, allocations: 1.623 MB / 1.121 GB, free: 14.41 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)