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.001558/0.001557, allocations: 108 kB / 15.6 MB, free: 132 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.001742/0.001742, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.942/0.942, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 64.28 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1801, allocations: 80.92 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003543/0.1836, allocations: 2.032 MB / 0.5864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1847, allocations: 0.5611 MB / 0.5869 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.1848, allocations: 4 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.185, allocations: 23.67 kB / 0.5869 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.1851, allocations: 43.59 kB / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1854, allocations: 79.91 kB / 0.5871 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.1857, allocations: 227.9 kB / 0.5873 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.1859, allocations: 115.6 kB / 0.5874 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.186, allocations: 87.66 kB / 0.5875 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1862, allocations: 103.5 kB / 0.5876 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.1862, allocations: 24 kB / 0.5876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.333e-05/0.1863, allocations: 32 kB / 0.5876 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.399e-05/0.1864, allocations: 55.83 kB / 0.5877 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1865, allocations: 107.4 kB / 0.5878 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1868, allocations: 267.4 kB / 0.588 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1868, allocations: 0 / 0.588 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1868, allocations: 0 / 0.588 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1869, allocations: 0 / 0.588 GB, free: 0.7852 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.0007714/0.1876, allocations: 0.522 MB / 0.5885 GB, free: 220 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1877, allocations: 11.97 kB / 0.5885 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.1877, allocations: 28.66 kB / 0.5886 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1881, allocations: 248.7 kB / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1881, allocations: 12.38 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1881, allocations: 24.12 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.1885, allocations: 228.6 kB / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1886, allocations: 3.938 kB / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1886, allocations: 8 kB / 0.5891 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.1886, allocations: 7.984 kB / 0.5891 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.1889, allocations: 139.9 kB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.1899, allocations: 0.5972 MB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.1903, allocations: 122.7 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1904, allocations: 48.84 kB / 0.59 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.1904, allocations: 0 / 0.59 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1905, allocations: 38.56 kB / 0.59 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.1905, allocations: 0 / 0.59 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004758/0.191, allocations: 173.5 kB / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.191, allocations: 128.5 kB / 0.5903 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1912, allocations: 214.9 kB / 0.5905 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1913, allocations: 37.69 kB / 0.5905 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.1914, allocations: 140.2 kB / 0.5907 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1914, allocations: 35.53 kB / 0.5907 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.1915, allocations: 33.7 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1916, allocations: 330.8 kB / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1918, allocations: 47.92 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1919, allocations: 91.27 kB / 0.5912 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1921, allocations: 81.69 kB / 0.5913 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1921, allocations: 3.984 kB / 0.5913 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002985/0.1924, allocations: 157.4 kB / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1925, allocations: 8.031 kB / 0.5914 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1925, allocations: 7.922 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1925, allocations: 0 / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1926, allocations: 31.92 kB / 0.5915 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1926, allocations: 0 / 0.5915 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1928, allocations: 27.81 kB / 0.5915 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1928, allocations: 7.938 kB / 0.5915 GB, free: 12.96 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.0001368/0.1929, allocations: 140.2 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.193, allocations: 15.81 kB / 0.5916 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.1933, allocations: 159.2 kB / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1934, allocations: 0 / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1934, allocations: 0 / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1934, allocations: 0 / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.1936, allocations: 265.5 kB / 0.592 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1936, allocations: 0 / 0.592 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.1937, allocations: 19.98 kB / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1938, allocations: 0 / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1938, allocations: 3.938 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1938, allocations: 0 / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1938, allocations: 3.938 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.1941, allocations: 227.3 kB / 0.5923 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.1942, allocations: 88.92 kB / 0.5924 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.1942, allocations: 19.92 kB / 0.5924 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1944, allocations: 15.98 kB / 0.5924 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1945, allocations: 27.89 kB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1945, allocations: 8.047 kB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001125/0.1946, allocations: 143.2 kB / 0.5926 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1946, allocations: 0 / 0.5926 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002719/0.1949, allocations: 39.84 kB / 0.5926 GB, free: 11.71 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.0001636/0.1951, allocations: 119.2 kB / 0.5927 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1954, allocations: 107.9 kB / 0.5928 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1954, allocations: 0 / 0.5928 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1955, allocations: 59.91 kB / 0.5929 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1959, allocations: 20.31 kB / 0.5929 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.1966, allocations: 341 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1969, allocations: 0.7319 MB / 0.5939 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.144e-05/0.197, allocations: 21.42 kB / 0.594 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.197, allocations: 27.42 kB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.197, allocations: 3.938 kB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.005303/0.2024, allocations: 2.152 MB / 0.5961 GB, free: 8.117 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)