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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 293 MB / 309 MB, free: 4.812 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.001413/0.001413, allocations: 172.5 kB / 378.7 MB, free: 1.027 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.434/1.434, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.000765/0.0007651, allocations: 95.77 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.000421, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2376, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6091/0.8467, allocations: 142.1 MB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.847, allocations: 93.48 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007876/0.8549, allocations: 3.319 MB / 1.133 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8549, allocations: 0 / 1.133 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.855, allocations: 4 kB / 1.133 GB, free: 29.92 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.0005986/0.8556, allocations: 0.5048 MB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.8556, allocations: 8.031 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.8557, allocations: 28.66 kB / 1.133 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.8559, allocations: 235.2 kB / 1.133 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.8559, allocations: 15.7 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.8559, allocations: 17.06 kB / 1.133 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.8563, allocations: 226.5 kB / 1.134 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.8563, allocations: 2.062 kB / 1.134 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.8563, allocations: 11.94 kB / 1.134 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.8564, allocations: 7.938 kB / 1.134 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.8566, allocations: 148.7 kB / 1.134 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.8575, allocations: 0.6096 MB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.8578, allocations: 129.4 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.8579, allocations: 56.38 kB / 1.135 GB, free: 28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.858, allocations: 4.891 kB / 1.135 GB, free: 28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.858, allocations: 38.03 kB / 1.135 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.858, allocations: 0 / 1.135 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004163/0.8584, allocations: 184.3 kB / 1.135 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.8585, allocations: 132.5 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.8586, allocations: 219.1 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.8587, allocations: 29.7 kB / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.8587, allocations: 140 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.8588, allocations: 34.64 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.8588, allocations: 5.031 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.8589, allocations: 328.6 kB / 1.136 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.859, allocations: 50.47 kB / 1.136 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.8591, allocations: 84.55 kB / 1.136 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.8593, allocations: 93.62 kB / 1.136 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.8593, allocations: 0.7656 kB / 1.136 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002702/0.8596, allocations: 162.6 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.8596, allocations: 9.484 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8597, allocations: 0 / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8597, allocations: 0 / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.8598, allocations: 16.67 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8598, allocations: 5.109 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.86, allocations: 47.25 kB / 1.136 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.86, allocations: 4.656 kB / 1.136 GB, free: 26.46 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.0001014/0.8601, allocations: 145.1 kB / 1.136 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.8601, allocations: 15.81 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.8605, allocations: 158.4 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8605, allocations: 4.562 kB / 1.136 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.8605, allocations: 4.625 kB / 1.136 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8605, allocations: 3.375 kB / 1.136 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.8607, allocations: 270.2 kB / 1.137 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.8607, allocations: 3.938 kB / 1.137 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.8608, allocations: 15.56 kB / 1.137 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.8608, allocations: 1.469 kB / 1.137 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.8609, allocations: 11.47 kB / 1.137 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8609, allocations: 0 / 1.137 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8609, allocations: 3.938 kB / 1.137 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.8611, allocations: 235.1 kB / 1.137 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.8612, allocations: 96.92 kB / 1.137 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.8612, allocations: 12.11 kB / 1.137 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.8614, allocations: 30.89 kB / 1.137 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.8615, allocations: 26.11 kB / 1.137 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.8615, allocations: 6.203 kB / 1.137 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001054/0.8616, allocations: 149.4 kB / 1.137 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8616, allocations: 0 / 1.137 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002565/0.8619, allocations: 36.56 kB / 1.137 GB, free: 25.29 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.0001731/0.8621, allocations: 108.5 kB / 1.137 GB, free: 25.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.8624, allocations: 124.4 kB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8624, allocations: 0 / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.8625, allocations: 62.45 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.8628, allocations: 18.95 kB / 1.137 GB, free: 25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.8635, allocations: 383 kB / 1.138 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.8637, allocations: 0.731 MB / 1.139 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.941e-05/0.8638, allocations: 25.67 kB / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.8639, allocations: 18.95 kB / 1.139 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/0.8639, allocations: 0 / 1.139 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.005152/0.869, allocations: 1.884 MB / 1.14 GB, free: 22.82 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)