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.0008685/0.0008686, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006145/0.006145, allocations: 175 kB / 16.27 MB, free: 6.613 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9544/0.9544, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003183, allocations: 8 kB / 0.5076 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1656, allocations: 82.33 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00256/0.1682, allocations: 1.72 MB / 0.5897 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1694, allocations: 0.5456 MB / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1696, allocations: 0 / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.1697, allocations: 15.86 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1698, allocations: 31.66 kB / 0.5902 GB, free: 264 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1701, allocations: 67.95 kB / 0.5903 GB, free: 196 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.1704, allocations: 220 kB / 0.5905 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1707, allocations: 95.64 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1708, allocations: 67.53 kB / 0.5907 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.171, allocations: 71.56 kB / 0.5907 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.171, allocations: 4 kB / 0.5908 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.1711, allocations: 23.98 kB / 0.5908 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1712, allocations: 27.84 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1713, allocations: 109.1 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1716, allocations: 243.4 kB / 0.5911 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1716, allocations: 4 kB / 0.5911 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.199e-06/0.1716, allocations: 0 / 0.5911 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.1717, allocations: 3.938 kB / 0.5911 GB, free: 15.32 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.00085/0.1725, allocations: 494.6 kB / 0.5916 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1726, allocations: 12.03 kB / 0.5916 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.1726, allocations: 24.66 kB / 0.5917 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.173, allocations: 268.7 kB / 0.5919 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1731, allocations: 12.38 kB / 0.5919 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.1731, allocations: 20.12 kB / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1736, allocations: 220.8 kB / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1736, allocations: 0 / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.1737, allocations: 11.94 kB / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1737, allocations: 11.94 kB / 0.5922 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.1741, allocations: 147.9 kB / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1752, allocations: 0.6011 MB / 0.5929 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.1757, allocations: 126.7 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1758, allocations: 60.83 kB / 0.5931 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.1759, allocations: 4 kB / 0.5931 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1759, allocations: 30.56 kB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1759, allocations: 0 / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005297/0.1765, allocations: 189.5 kB / 0.5933 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.1765, allocations: 128.5 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.1768, allocations: 211 kB / 0.5936 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.1768, allocations: 29.7 kB / 0.5936 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.177, allocations: 152.1 kB / 0.5938 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.177, allocations: 27.64 kB / 0.5938 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.1771, allocations: 25.7 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1772, allocations: 326.8 kB / 0.5942 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1774, allocations: 51.97 kB / 0.5942 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1775, allocations: 96.2 kB / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.1778, allocations: 104.7 kB / 0.5944 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1778, allocations: 0 / 0.5944 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003278/0.1781, allocations: 161.4 kB / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.1782, allocations: 4 kB / 0.5945 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1782, allocations: 3.938 kB / 0.5946 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1782, allocations: 4 kB / 0.5946 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1783, allocations: 15.98 kB / 0.5946 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1783, allocations: 11.88 kB / 0.5946 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1785, allocations: 39.84 kB / 0.5946 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1785, allocations: 8 kB / 0.5946 GB, free: 11.47 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.0001234/0.1786, allocations: 130.2 kB / 0.5948 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.1787, allocations: 15.81 kB / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.179, allocations: 166.8 kB / 0.5949 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1791, allocations: 0 / 0.5949 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1791, allocations: 0 / 0.5949 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1791, allocations: 48 / 0.5949 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.1794, allocations: 277.4 kB / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1794, allocations: 4 kB / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.1795, allocations: 19.98 kB / 0.5952 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1795, allocations: 4 kB / 0.5952 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1796, allocations: 7.922 kB / 0.5952 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1796, allocations: 0 / 0.5952 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1796, allocations: 0 / 0.5952 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1799, allocations: 239.3 kB / 0.5955 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.18, allocations: 92.91 kB / 0.5955 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.18, allocations: 7.938 kB / 0.5956 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1802, allocations: 27.98 kB / 0.5956 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.1803, allocations: 27.89 kB / 0.5956 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1803, allocations: 3.984 kB / 0.5956 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001344/0.1805, allocations: 160.4 kB / 0.5958 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1805, allocations: 0 / 0.5958 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000286/0.1808, allocations: 39.84 kB / 0.5958 GB, free: 10.18 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.0001901/0.181, allocations: 107.2 kB / 0.5959 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.1813, allocations: 120 kB / 0.596 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1813, allocations: 0 / 0.596 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1815, allocations: 64.03 kB / 0.5961 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1818, allocations: 16 kB / 0.5961 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.1825, allocations: 408.4 kB / 0.5965 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1828, allocations: 0.7244 MB / 0.5972 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.089e-05/0.1829, allocations: 25.41 kB / 0.5972 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.183, allocations: 15.44 kB / 0.5972 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.183, allocations: 0 / 0.5972 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.005321/0.1883, allocations: 1.889 MB / 0.5991 GB, free: 6.812 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)