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.0009063/0.0009063, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 186.5 kB / 16.92 MB, free: 6.77 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: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9207/0.9207, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 12.22 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1709, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002176/0.1731, allocations: 1.724 MB / 0.5903 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.174, allocations: 0.5416 MB / 0.5908 GB, free: 332 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.174, allocations: 4 kB / 0.5908 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.1741, allocations: 19.84 kB / 0.5909 GB, free: 308 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.1742, allocations: 23.73 kB / 0.5909 GB, free: 284 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1745, allocations: 67.94 kB / 0.5909 GB, free: 216 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1747, allocations: 215.9 kB / 0.5912 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.1749, allocations: 111.7 kB / 0.5913 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1751, allocations: 67.64 kB / 0.5913 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1752, allocations: 71.56 kB / 0.5914 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1752, allocations: 4 kB / 0.5914 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.1753, allocations: 16 kB / 0.5914 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.1753, allocations: 31.83 kB / 0.5914 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.086e-05/0.1754, allocations: 105.1 kB / 0.5915 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1756, allocations: 199.8 kB / 0.5917 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1756, allocations: 0 / 0.5917 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1756, allocations: 4 kB / 0.5917 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.1757, allocations: 0 / 0.5917 GB, free: 15.38 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.0006829/0.1763, allocations: 494.6 kB / 0.5922 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1764, allocations: 15.97 kB / 0.5922 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.1764, allocations: 24.66 kB / 0.5922 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.1768, allocations: 256.7 kB / 0.5925 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.1768, allocations: 16.38 kB / 0.5925 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1768, allocations: 20.12 kB / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.1772, allocations: 224.8 kB / 0.5927 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1773, allocations: 0 / 0.5927 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1773, allocations: 4 kB / 0.5927 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1773, allocations: 4 kB / 0.5927 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1776, allocations: 159.8 kB / 0.5929 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.1785, allocations: 0.6049 MB / 0.5935 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.1789, allocations: 130.7 kB / 0.5936 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.179, allocations: 56.77 kB / 0.5937 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.1791, allocations: 4 kB / 0.5937 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1791, allocations: 38.56 kB / 0.5937 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1791, allocations: 0 / 0.5937 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004475/0.1796, allocations: 185.5 kB / 0.5939 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.1796, allocations: 128.5 kB / 0.594 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1798, allocations: 215 kB / 0.5942 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.1799, allocations: 29.7 kB / 0.5942 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.18, allocations: 152.1 kB / 0.5944 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.18, allocations: 27.64 kB / 0.5944 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1801, allocations: 21.7 kB / 0.5944 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1802, allocations: 326.8 kB / 0.5947 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1803, allocations: 51.97 kB / 0.5948 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1805, allocations: 100.2 kB / 0.5949 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.1807, allocations: 100.7 kB / 0.595 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1807, allocations: 0 / 0.595 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003071/0.181, allocations: 161.4 kB / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.181, allocations: 4 kB / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1811, allocations: 3.938 kB / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1811, allocations: 32 / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1812, allocations: 23.98 kB / 0.5952 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1812, allocations: 0 / 0.5952 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.1813, allocations: 39.81 kB / 0.5952 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1814, allocations: 0 / 0.5952 GB, free: 11.54 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.0001322/0.1815, allocations: 145.8 kB / 0.5953 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1816, allocations: 15.81 kB / 0.5954 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.1819, allocations: 163.2 kB / 0.5955 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1819, allocations: 0 / 0.5955 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1819, allocations: 0 / 0.5955 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1819, allocations: 4 kB / 0.5955 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1822, allocations: 269.4 kB / 0.5958 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1822, allocations: 0 / 0.5958 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.243e-05/0.1823, allocations: 15.98 kB / 0.5958 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1823, allocations: 3.938 kB / 0.5958 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1824, allocations: 11.92 kB / 0.5958 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1824, allocations: 3.938 kB / 0.5958 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1824, allocations: 0 / 0.5958 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.1827, allocations: 235.3 kB / 0.596 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.1828, allocations: 92.91 kB / 0.5961 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1828, allocations: 11.94 kB / 0.5961 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.183, allocations: 31.98 kB / 0.5962 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.1831, allocations: 19.95 kB / 0.5962 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1831, allocations: 7.984 kB / 0.5962 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001156/0.1832, allocations: 156.3 kB / 0.5963 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1832, allocations: 4 kB / 0.5963 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002704/0.1835, allocations: 39.84 kB / 0.5964 GB, free: 10.24 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.0001445/0.1836, allocations: 111.2 kB / 0.5965 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.1839, allocations: 119.9 kB / 0.5966 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1839, allocations: 0 / 0.5966 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1841, allocations: 60.09 kB / 0.5967 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1844, allocations: 25.91 kB / 0.5967 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.185, allocations: 429.8 kB / 0.5971 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.1853, allocations: 0.7322 MB / 0.5978 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.1854, allocations: 19.44 kB / 0.5978 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1854, allocations: 0 / 0.5978 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of Templates: time 0.003922/0.1893, allocations: 2.35 MB / 0.6001 GB, free: 6.363 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)