Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 303.4 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 176.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008519/0.000852, allocations: 92.97 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 15.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1833, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001801/0.1851, allocations: 1.682 MB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000855/0.186, allocations: 0.5776 MB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1862, allocations: 0 / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1863, allocations: 11.86 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.1864, allocations: 27.72 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1867, allocations: 55.94 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1868, allocations: 207.9 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.187, allocations: 90.03 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1872, allocations: 59.72 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1873, allocations: 75.55 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.1873, allocations: 8 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.1874, allocations: 15.98 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.1874, allocations: 27.86 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.1875, allocations: 53.64 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1877, allocations: 199.7 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1877, allocations: 3.984 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1877, allocations: 0 / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.1877, allocations: 0 / 0.9826 GB, free: 24.57 MB / 0.6198 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.0007099/0.1884, allocations: 498.5 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1885, allocations: 16.02 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1885, allocations: 27.72 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1888, allocations: 251.5 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1888, allocations: 19.98 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1889, allocations: 16 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.1892, allocations: 224.8 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1893, allocations: 3.938 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1893, allocations: 8 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1893, allocations: 4 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1896, allocations: 148.4 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.1904, allocations: 0.6052 MB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.1908, allocations: 122.7 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1909, allocations: 56.89 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.191, allocations: 4 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.191, allocations: 34.52 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.191, allocations: 3.984 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004854/0.1915, allocations: 185.8 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1915, allocations: 132.5 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1917, allocations: 214.9 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1917, allocations: 29.8 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.1918, allocations: 148.1 kB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1918, allocations: 35.53 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.1918, allocations: 4 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.1919, allocations: 326.8 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.192, allocations: 55.91 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1922, allocations: 90.52 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1923, allocations: 43.98 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1923, allocations: 0 / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002806/0.1926, allocations: 165.4 kB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1926, allocations: 7.953 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1926, allocations: 4 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1926, allocations: 0 / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1928, allocations: 19.98 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1928, allocations: 3.984 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.1929, allocations: 39.91 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.1929, allocations: 4 kB / 0.986 GB, free: 20.82 MB / 0.6198 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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.1931, allocations: 135 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1931, allocations: 15.81 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.1934, allocations: 166.8 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1934, allocations: 0 / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1934, allocations: 4 kB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1934, allocations: 0 / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1937, allocations: 261.5 kB / 0.9866 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1937, allocations: 4 kB / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.1938, allocations: 19.98 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1938, allocations: 0 / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1938, allocations: 7.984 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1938, allocations: 3.953 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1938, allocations: 4 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.1941, allocations: 235.3 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.1941, allocations: 104.8 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1942, allocations: 8 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1943, allocations: 23.98 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.1944, allocations: 35.89 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1944, allocations: 4 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.737e-05/0.1945, allocations: 148.7 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1945, allocations: 4 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002511/0.1948, allocations: 39.84 kB / 0.9872 GB, free: 19.52 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.1949, allocations: 115.2 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.1952, allocations: 117.6 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1952, allocations: 0 / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1954, allocations: 55.98 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1957, allocations: 23.95 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.1962, allocations: 380.5 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.1964, allocations: 0.7283 MB / 0.9885 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.78e-05/0.1965, allocations: 17.47 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.1966, allocations: 23.42 kB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.1966, allocations: 0 / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.004179/0.2008, allocations: 1.82 MB / 0.9904 GB, free: 16.25 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)