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.001263/0.001263, allocations: 100.1 kB / 15.88 MB, free: 12 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.001467/0.001467, allocations: 196 kB / 16.79 MB, free: 6.809 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 72.38 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1815, allocations: 80.92 MB / 0.5844 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003556/0.1851, allocations: 2.083 MB / 0.5864 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1862, allocations: 0.5455 MB / 0.5869 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.1863, allocations: 3.938 kB / 0.5869 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.1864, allocations: 19.78 kB / 0.5869 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.399e-05/0.1865, allocations: 31.73 kB / 0.587 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1868, allocations: 67.94 kB / 0.587 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.187, allocations: 212 kB / 0.5872 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.1873, allocations: 111.6 kB / 0.5874 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1874, allocations: 83.64 kB / 0.5874 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1875, allocations: 95.53 kB / 0.5875 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.1876, allocations: 12 kB / 0.5875 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.1876, allocations: 15.98 kB / 0.5875 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.1877, allocations: 39.84 kB / 0.5876 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.78e-05/0.1878, allocations: 99.34 kB / 0.5877 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.188, allocations: 203.8 kB / 0.5879 GB, free: 1.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.188, allocations: 0 / 0.5879 GB, free: 1.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1881, allocations: 0 / 0.5879 GB, free: 1.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1881, allocations: 0 / 0.5879 GB, free: 1.359 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.0008026/0.1889, allocations: 0.5142 MB / 0.5884 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1889, allocations: 12.03 kB / 0.5884 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.189, allocations: 28.64 kB / 0.5884 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1893, allocations: 248.7 kB / 0.5887 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1894, allocations: 16.38 kB / 0.5887 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1894, allocations: 24.12 kB / 0.5887 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1898, allocations: 220.7 kB / 0.5889 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1898, allocations: 3.984 kB / 0.5889 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1899, allocations: 4 kB / 0.5889 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1899, allocations: 4 kB / 0.5889 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.1902, allocations: 135.9 kB / 0.589 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009866/0.1912, allocations: 0.6088 MB / 0.5896 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.1915, allocations: 118.7 kB / 0.5898 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1917, allocations: 48.84 kB / 0.5898 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.1917, allocations: 4 kB / 0.5898 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1918, allocations: 30.56 kB / 0.5898 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1918, allocations: 0 / 0.5898 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.00047/0.1923, allocations: 177.4 kB / 0.59 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.1923, allocations: 132.5 kB / 0.5901 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.1925, allocations: 218.9 kB / 0.5903 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1926, allocations: 29.7 kB / 0.5904 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1927, allocations: 144.2 kB / 0.5905 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1927, allocations: 35.48 kB / 0.5905 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.1928, allocations: 37.7 kB / 0.5906 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1929, allocations: 330.8 kB / 0.5909 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.1931, allocations: 39.98 kB / 0.5909 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1932, allocations: 92.27 kB / 0.591 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1934, allocations: 92.81 kB / 0.5911 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1934, allocations: 0 / 0.5911 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002999/0.1937, allocations: 157.4 kB / 0.5913 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1938, allocations: 4 kB / 0.5913 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1938, allocations: 7.938 kB / 0.5913 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1938, allocations: 0 / 0.5913 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1939, allocations: 19.92 kB / 0.5913 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.1939, allocations: 0 / 0.5913 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1941, allocations: 31.83 kB / 0.5913 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1941, allocations: 7.984 kB / 0.5913 GB, free: 13.55 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.0001417/0.1943, allocations: 133.9 kB / 0.5914 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.1943, allocations: 15.81 kB / 0.5915 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.1947, allocations: 146.9 kB / 0.5916 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1947, allocations: 4.031 kB / 0.5916 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1947, allocations: 7.984 kB / 0.5916 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1947, allocations: 4 kB / 0.5916 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.195, allocations: 265.5 kB / 0.5919 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.195, allocations: 0 / 0.5919 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1951, allocations: 19.98 kB / 0.5919 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1951, allocations: 3.938 kB / 0.5919 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1951, allocations: 15.88 kB / 0.5919 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1952, allocations: 0 / 0.5919 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1952, allocations: 480 / 0.5919 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.1955, allocations: 223.2 kB / 0.5921 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1956, allocations: 100.9 kB / 0.5922 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.1956, allocations: 7.938 kB / 0.5922 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.1958, allocations: 23.97 kB / 0.5922 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.1959, allocations: 23.95 kB / 0.5923 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1959, allocations: 4 kB / 0.5923 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000138/0.196, allocations: 152.4 kB / 0.5924 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.196, allocations: 0 / 0.5924 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002637/0.1963, allocations: 39.84 kB / 0.5925 GB, free: 12.29 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.0001794/0.1965, allocations: 119.2 kB / 0.5926 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.1968, allocations: 103.9 kB / 0.5927 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1968, allocations: 0 / 0.5927 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1969, allocations: 59.91 kB / 0.5927 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1973, allocations: 16.06 kB / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.198, allocations: 424.4 kB / 0.5931 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1983, allocations: 0.7283 MB / 0.5939 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.1984, allocations: 23.42 kB / 0.5939 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1984, allocations: 0 / 0.5939 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.00413/0.2026, allocations: 2.378 MB / 0.5962 GB, free: 8.402 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)