Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006027/0.006027, allocations: 100.8 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 195.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 69.02 kB / 0.5856 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1578, allocations: 80.93 MB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003395/0.1613, allocations: 2.04 MB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1624, allocations: 0.5649 MB / 0.6672 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1626, allocations: 4 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1628, allocations: 27.66 kB / 0.6672 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.1629, allocations: 35.67 kB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1633, allocations: 87.83 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1636, allocations: 220 kB / 0.6676 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.1638, allocations: 123.5 kB / 0.6677 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.164, allocations: 87.66 kB / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1642, allocations: 103.5 kB / 0.6679 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.1642, allocations: 28 kB / 0.6679 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.1643, allocations: 36 kB / 0.6679 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1644, allocations: 55.77 kB / 0.668 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1645, allocations: 103.5 kB / 0.6681 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.1648, allocations: 271 kB / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1649, allocations: 0 / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1649, allocations: 0 / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.1649, allocations: 0 / 0.6683 GB, free: 2.004 MB / 0.4981 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.0008236/0.1657, allocations: 0.5219 MB / 0.6688 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1658, allocations: 9.109 kB / 0.6688 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.1658, allocations: 28.66 kB / 0.6689 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1662, allocations: 248.6 kB / 0.6691 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1662, allocations: 16.31 kB / 0.6691 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.1663, allocations: 23.94 kB / 0.6691 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.1667, allocations: 220.8 kB / 0.6694 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1667, allocations: 0 / 0.6694 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1667, allocations: 8 kB / 0.6694 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1667, allocations: 4 kB / 0.6694 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1671, allocations: 143.7 kB / 0.6695 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.168, allocations: 0.5895 MB / 0.6701 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.1684, allocations: 118.9 kB / 0.6702 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1685, allocations: 48.84 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.1686, allocations: 11.98 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1686, allocations: 34.55 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1686, allocations: 0 / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000462/0.1691, allocations: 173.6 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.1691, allocations: 132.5 kB / 0.6706 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1693, allocations: 212.2 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.1694, allocations: 33.72 kB / 0.6708 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.1695, allocations: 148.1 kB / 0.6709 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1695, allocations: 27.56 kB / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.1696, allocations: 33.7 kB / 0.671 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1697, allocations: 334.8 kB / 0.6713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1699, allocations: 43.98 kB / 0.6714 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.17, allocations: 88.27 kB / 0.6715 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.1702, allocations: 97.61 kB / 0.6715 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1702, allocations: 4 kB / 0.6716 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003024/0.1705, allocations: 153 kB / 0.6717 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1706, allocations: 7.938 kB / 0.6717 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1706, allocations: 4 kB / 0.6717 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1706, allocations: 0 / 0.6717 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1707, allocations: 15.98 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1707, allocations: 0 / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1709, allocations: 35.84 kB / 0.6718 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1709, allocations: 8 kB / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.171, allocations: 137.8 kB / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.1711, allocations: 19.75 kB / 0.6719 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.1714, allocations: 147 kB / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1714, allocations: 0 / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1715, allocations: 4 kB / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1715, allocations: 4 kB / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.1718, allocations: 273.4 kB / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1718, allocations: 0 / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.1719, allocations: 15.98 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1719, allocations: 3.938 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1719, allocations: 4 kB / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1719, allocations: 0 / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1719, allocations: 0 / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1722, allocations: 235.3 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1723, allocations: 96.84 kB / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.1723, allocations: 11.94 kB / 0.6727 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1725, allocations: 23.92 kB / 0.6727 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.1726, allocations: 23.95 kB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1726, allocations: 4 kB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001244/0.1727, allocations: 159.5 kB / 0.6729 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1727, allocations: 0 / 0.6729 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002878/0.173, allocations: 35.91 kB / 0.6729 GB, free: 12.93 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.1732, allocations: 116.5 kB / 0.673 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1736, allocations: 107.9 kB / 0.6731 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1736, allocations: 0 / 0.6731 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1738, allocations: 60.03 kB / 0.6732 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1741, allocations: 19.62 kB / 0.6732 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.1748, allocations: 324.9 kB / 0.6735 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1751, allocations: 0.728 MB / 0.6742 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.1752, allocations: 13.42 kB / 0.6742 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.1753, allocations: 27.42 kB / 0.6743 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1753, allocations: 0 / 0.6743 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.005737/0.181, allocations: 2.186 MB / 0.6764 GB, free: 9.324 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)