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.001592/0.001592, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001749/0.001749, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9521/0.9521, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 64.72 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 81.02 MB / 0.5845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00328/0.1673, allocations: 2.086 MB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1683, allocations: 0.5533 MB / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.1684, allocations: 0 / 0.5871 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1685, allocations: 15.8 kB / 0.5871 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.1686, allocations: 23.73 kB / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1689, allocations: 71.94 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1692, allocations: 224 kB / 0.5874 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.1694, allocations: 115.6 kB / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1696, allocations: 95.62 kB / 0.5876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1697, allocations: 103.5 kB / 0.5877 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1697, allocations: 24 kB / 0.5877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.1698, allocations: 28 kB / 0.5878 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.1699, allocations: 51.84 kB / 0.5878 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.17, allocations: 111.4 kB / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.1703, allocations: 271.4 kB / 0.5882 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1703, allocations: 0 / 0.5882 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1703, allocations: 0 / 0.5882 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1704, allocations: 4 kB / 0.5882 GB, free: 0.5234 MB / 494.1 MB 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.1712, allocations: 0.518 MB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1712, allocations: 12.03 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.1713, allocations: 28.66 kB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1716, allocations: 248.7 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1717, allocations: 16.38 kB / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1717, allocations: 16.12 kB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1721, allocations: 216.8 kB / 0.5892 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1721, allocations: 3.938 kB / 0.5892 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1721, allocations: 16 kB / 0.5892 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1722, allocations: 4 kB / 0.5892 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1725, allocations: 135.9 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.1734, allocations: 0.5972 MB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.1738, allocations: 126.6 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1739, allocations: 48.84 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.1739, allocations: 4 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.174, allocations: 30.56 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.174, allocations: 0 / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004553/0.1744, allocations: 181.5 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.1745, allocations: 132.5 kB / 0.5904 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1748, allocations: 210.9 kB / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1748, allocations: 33.7 kB / 0.5907 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1749, allocations: 144.2 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1749, allocations: 31.55 kB / 0.5908 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.175, allocations: 37.7 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1752, allocations: 330.8 kB / 0.5912 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1753, allocations: 51.91 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1755, allocations: 84.27 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.1757, allocations: 97.19 kB / 0.5914 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1757, allocations: 0 / 0.5914 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/0.176, allocations: 149.4 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.176, allocations: 7.984 kB / 0.5916 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.176, allocations: 3.938 kB / 0.5916 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1761, allocations: 4 kB / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1762, allocations: 19.92 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1762, allocations: 3.938 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1763, allocations: 35.86 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1764, allocations: 0 / 0.5916 GB, free: 12.71 MB / 0.4981 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.0001392/0.1765, allocations: 140.2 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1766, allocations: 19.81 kB / 0.5918 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.1769, allocations: 147.3 kB / 0.5919 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1769, allocations: 4 kB / 0.5919 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1769, allocations: 4.078 kB / 0.5919 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1769, allocations: 3.938 kB / 0.5919 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.1772, allocations: 269.5 kB / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1772, allocations: 0 / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.1773, allocations: 15.98 kB / 0.5922 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1774, allocations: 0 / 0.5922 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1774, allocations: 7.938 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.1774, allocations: 4 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1774, allocations: 3.938 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1777, allocations: 223.3 kB / 0.5924 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.1778, allocations: 92.92 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1778, allocations: 11.94 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.178, allocations: 19.97 kB / 0.5925 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.178, allocations: 23.91 kB / 0.5926 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1781, allocations: 7.984 kB / 0.5926 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001361/0.1782, allocations: 156.4 kB / 0.5927 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1782, allocations: 0 / 0.5927 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002672/0.1785, allocations: 39.84 kB / 0.5928 GB, free: 11.45 MB / 0.4981 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.0001684/0.1787, allocations: 103.2 kB / 0.5929 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.179, allocations: 119.9 kB / 0.593 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.179, allocations: 4.062 kB / 0.593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1791, allocations: 51.92 kB / 0.593 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1795, allocations: 20.27 kB / 0.593 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/0.1802, allocations: 399.8 kB / 0.5934 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1806, allocations: 0.7358 MB / 0.5941 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.1807, allocations: 29.39 kB / 0.5942 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.1807, allocations: 19.42 kB / 0.5942 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1807, allocations: 0 / 0.5942 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.005164/0.1859, allocations: 1.984 MB / 0.5961 GB, free: 7.992 MB / 0.4981 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)