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.001762/0.001762, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002029/0.002029, allocations: 193.5 kB / 16.25 MB, free: 6.152 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.07/1.07, allocations: 135.2 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 68.58 kB / 0.5049 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1757, allocations: 80.94 MB / 0.584 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00357/0.1793, allocations: 2.075 MB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1804, allocations: 0.5533 MB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1806, allocations: 0 / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1807, allocations: 19.8 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.1808, allocations: 23.78 kB / 0.5866 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1811, allocations: 71.89 kB / 0.5866 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1814, allocations: 235.9 kB / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.1817, allocations: 107.6 kB / 0.587 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1819, allocations: 91.64 kB / 0.587 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.182, allocations: 95.53 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.1821, allocations: 24 kB / 0.5872 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.1822, allocations: 36 kB / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.1822, allocations: 59.81 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1824, allocations: 107.4 kB / 0.5874 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.1827, allocations: 267.4 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1827, allocations: 0 / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1827, allocations: 4 kB / 0.5876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1827, allocations: 0 / 0.5876 GB, free: 1.051 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.001037/0.1837, allocations: 0.518 MB / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.1838, allocations: 12.03 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.1839, allocations: 28.66 kB / 0.5882 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.1844, allocations: 248.7 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1844, allocations: 12.38 kB / 0.5884 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.1844, allocations: 24.12 kB / 0.5884 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.1849, allocations: 220.7 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1849, allocations: 0 / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.185, allocations: 12 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.185, allocations: 4 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.1853, allocations: 139.9 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1865, allocations: 0.5971 MB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.1869, allocations: 122.7 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.187, allocations: 44.84 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-05/0.1871, allocations: 11.98 kB / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.1871, allocations: 30.56 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.654e-06/0.1871, allocations: 0 / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000485/0.1876, allocations: 173.8 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.1877, allocations: 132.5 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1879, allocations: 210.9 kB / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.188, allocations: 33.8 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1881, allocations: 152.1 kB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1881, allocations: 27.56 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.1882, allocations: 37.69 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1883, allocations: 334.8 kB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1885, allocations: 47.97 kB / 0.5907 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1886, allocations: 89.39 kB / 0.5908 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1889, allocations: 92.44 kB / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1889, allocations: 0 / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003175/0.1892, allocations: 153.4 kB / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1892, allocations: 4 kB / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.1892, allocations: 3.938 kB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1892, allocations: 4 kB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1894, allocations: 23.92 kB / 0.591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1894, allocations: 3.984 kB / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1895, allocations: 39.78 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.1896, allocations: 4 kB / 0.5911 GB, free: 13.23 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.0001404/0.1897, allocations: 133.8 kB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.1898, allocations: 15.81 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.1901, allocations: 150.9 kB / 0.5914 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1902, allocations: 4 kB / 0.5914 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1902, allocations: 0 / 0.5914 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1902, allocations: 0 / 0.5914 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.1905, allocations: 269.5 kB / 0.5916 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1905, allocations: 0 / 0.5916 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.967e-05/0.1906, allocations: 15.98 kB / 0.5916 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1906, allocations: 0 / 0.5916 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1906, allocations: 7.938 kB / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1906, allocations: 7.922 kB / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1907, allocations: 0 / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.191, allocations: 227.4 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.1911, allocations: 92.91 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1911, allocations: 11.94 kB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1913, allocations: 19.92 kB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.1914, allocations: 27.95 kB / 0.592 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1914, allocations: 4 kB / 0.592 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000133/0.1915, allocations: 152.4 kB / 0.5922 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1915, allocations: 4 kB / 0.5922 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002789/0.1918, allocations: 39.84 kB / 0.5922 GB, free: 11.97 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.0001703/0.192, allocations: 111.2 kB / 0.5923 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.1923, allocations: 107.9 kB / 0.5924 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1923, allocations: 4.062 kB / 0.5924 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1925, allocations: 59.91 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1929, allocations: 16.05 kB / 0.5925 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.1936, allocations: 395 kB / 0.5929 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.194, allocations: 0.7397 MB / 0.5936 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.637e-05/0.1941, allocations: 25.41 kB / 0.5936 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.1941, allocations: 19.38 kB / 0.5936 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1941, allocations: 0 / 0.5936 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.00558/0.1997, allocations: 1.988 MB / 0.5956 GB, free: 8.504 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)