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.001245/0.001245, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001248/0.001248, allocations: 187 kB / 17.34 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241 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.8592/0.8592, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.58 kB / 0.5863 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1617, allocations: 80.92 MB / 0.6653 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003695/0.1654, allocations: 2.035 MB / 0.6673 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1667, allocations: 0.5805 MB / 0.6679 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1669, allocations: 0 / 0.6679 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1671, allocations: 19.73 kB / 0.6679 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1672, allocations: 35.59 kB / 0.6679 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.1676, allocations: 83.84 kB / 0.668 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.1679, allocations: 228 kB / 0.6682 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.1682, allocations: 115.5 kB / 0.6683 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1684, allocations: 87.64 kB / 0.6684 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1685, allocations: 107.5 kB / 0.6685 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.1686, allocations: 24 kB / 0.6685 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.925e-05/0.1687, allocations: 35.98 kB / 0.6686 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1688, allocations: 59.78 kB / 0.6686 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1689, allocations: 103.5 kB / 0.6687 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.1693, allocations: 275 kB / 0.669 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1693, allocations: 0 / 0.669 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1693, allocations: 0 / 0.669 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.1693, allocations: 4 kB / 0.669 GB, free: 2.145 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.0009033/0.1702, allocations: 0.5063 MB / 0.6695 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.1703, allocations: 17.11 kB / 0.6695 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1704, allocations: 24.66 kB / 0.6695 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1707, allocations: 256.5 kB / 0.6698 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1707, allocations: 16.38 kB / 0.6698 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1708, allocations: 19.94 kB / 0.6698 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.1712, allocations: 224.7 kB / 0.67 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1712, allocations: 0 / 0.67 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1712, allocations: 8 kB / 0.67 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1713, allocations: 4 kB / 0.67 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1716, allocations: 143.7 kB / 0.6702 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009735/0.1726, allocations: 0.5895 MB / 0.6707 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.1729, allocations: 118.8 kB / 0.6708 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1731, allocations: 52.77 kB / 0.6709 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.1731, allocations: 8.188 kB / 0.6709 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.1731, allocations: 34.5 kB / 0.6709 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1732, allocations: 3.938 kB / 0.6709 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004652/0.1736, allocations: 173.3 kB / 0.6711 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.1737, allocations: 132.5 kB / 0.6712 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1739, allocations: 212.2 kB / 0.6714 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1739, allocations: 29.7 kB / 0.6715 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.1741, allocations: 144.2 kB / 0.6716 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1741, allocations: 35.53 kB / 0.6716 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.1742, allocations: 33.7 kB / 0.6717 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1743, allocations: 326.8 kB / 0.672 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1744, allocations: 51.97 kB / 0.672 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1746, allocations: 88.27 kB / 0.6721 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1748, allocations: 97 kB / 0.6722 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1748, allocations: 0 / 0.6722 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000311/0.1751, allocations: 145.5 kB / 0.6723 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1751, allocations: 11.88 kB / 0.6724 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1752, allocations: 8.031 kB / 0.6724 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1752, allocations: 0 / 0.6724 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1753, allocations: 15.98 kB / 0.6724 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1753, allocations: 0 / 0.6724 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1755, allocations: 31.81 kB / 0.6724 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1755, allocations: 8 kB / 0.6724 GB, free: 14.35 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.0001397/0.1756, allocations: 135.7 kB / 0.6725 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.1757, allocations: 31.67 kB / 0.6726 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.176, allocations: 139.4 kB / 0.6727 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.176, allocations: 0 / 0.6727 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1761, allocations: 4.047 kB / 0.6727 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1761, allocations: 3.984 kB / 0.6727 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1764, allocations: 269.5 kB / 0.673 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1764, allocations: 7.938 kB / 0.673 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.1765, allocations: 11.98 kB / 0.673 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1765, allocations: 7.938 kB / 0.673 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1765, allocations: 7.984 kB / 0.673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1765, allocations: 0 / 0.673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1765, allocations: 0 / 0.673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1768, allocations: 231.2 kB / 0.6732 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.1769, allocations: 96.86 kB / 0.6733 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.177, allocations: 7.938 kB / 0.6733 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1771, allocations: 27.97 kB / 0.6734 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.1772, allocations: 23.97 kB / 0.6734 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1772, allocations: 0 / 0.6734 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000125/0.1774, allocations: 159.5 kB / 0.6735 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1774, allocations: 0 / 0.6735 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002834/0.1776, allocations: 35.91 kB / 0.6736 GB, free: 13.08 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.0001725/0.1778, allocations: 116.6 kB / 0.6737 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1781, allocations: 107.9 kB / 0.6738 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1782, allocations: 0 / 0.6738 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1783, allocations: 59.91 kB / 0.6738 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1787, allocations: 16.28 kB / 0.6739 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.1793, allocations: 366.6 kB / 0.6742 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1796, allocations: 0.728 MB / 0.6749 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.1797, allocations: 19.44 kB / 0.6749 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1797, allocations: 0 / 0.6749 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.004854/0.1846, allocations: 2.387 MB / 0.6773 GB, free: 9.227 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)