Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001051/0.001051, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008694/0.008694, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.476/1.476, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 278 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9149/0.9149, allocations: 169.5 MB / 0.5004 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004846, allocations: 16.5 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 88.55 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002036/0.1783, allocations: 1.719 MB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008322/0.1792, allocations: 0.5404 MB / 0.6873 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.1793, allocations: 4 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.856e-05/0.1794, allocations: 15.84 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.1795, allocations: 31.67 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1797, allocations: 71.92 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1799, allocations: 208 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1801, allocations: 105.2 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1802, allocations: 64.39 kB / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1803, allocations: 79.48 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.1804, allocations: 8.781 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.1804, allocations: 12 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.1805, allocations: 33.44 kB / 0.688 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.519e-05/0.1806, allocations: 101.1 kB / 0.688 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1808, allocations: 247.1 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1808, allocations: 4 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1809, allocations: 0.5312 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1809, allocations: 0 / 0.6883 GB, free: 11.79 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.0006621/0.1815, allocations: 0.4921 MB / 0.6888 GB, free: 11.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1816, allocations: 8.031 kB / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.1816, allocations: 28.66 kB / 0.6888 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1819, allocations: 249.4 kB / 0.689 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.182, allocations: 12.38 kB / 0.6891 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.182, allocations: 21.25 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.1824, allocations: 234.9 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1824, allocations: 3.938 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.1824, allocations: 11.98 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1825, allocations: 4 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.1828, allocations: 147.9 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008575/0.1836, allocations: 0.6127 MB / 0.6901 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.184, allocations: 134.7 kB / 0.6902 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1841, allocations: 48.84 kB / 0.6902 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1842, allocations: 0 / 0.6902 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1842, allocations: 42.56 kB / 0.6903 GB, free: 9.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1842, allocations: 0 / 0.6903 GB, free: 9.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004593/0.1847, allocations: 181.6 kB / 0.6904 GB, free: 9.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.1847, allocations: 136.5 kB / 0.6906 GB, free: 9.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1849, allocations: 210.9 kB / 0.6908 GB, free: 9.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.185, allocations: 29.7 kB / 0.6908 GB, free: 8.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.1851, allocations: 144.2 kB / 0.6909 GB, free: 8.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1851, allocations: 35.55 kB / 0.691 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1851, allocations: 25.7 kB / 0.691 GB, free: 8.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1852, allocations: 326.8 kB / 0.6913 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1854, allocations: 51.97 kB / 0.6914 GB, free: 8.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1855, allocations: 91.02 kB / 0.6914 GB, free: 8.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.1857, allocations: 97.62 kB / 0.6915 GB, free: 8.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1858, allocations: 0 / 0.6915 GB, free: 8.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003134/0.1861, allocations: 165.4 kB / 0.6917 GB, free: 8.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1861, allocations: 8 kB / 0.6917 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1861, allocations: 3.984 kB / 0.6917 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1861, allocations: 0 / 0.6917 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1862, allocations: 27.92 kB / 0.6917 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1863, allocations: 0 / 0.6917 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1864, allocations: 35.86 kB / 0.6918 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1864, allocations: 4 kB / 0.6918 GB, free: 7.953 MB / 494.1 MB 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.0001215/0.1866, allocations: 144.3 kB / 0.6919 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.1866, allocations: 15.81 kB / 0.6919 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.187, allocations: 155.3 kB / 0.6921 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.187, allocations: 7.938 kB / 0.6921 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.187, allocations: 0 / 0.6921 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.187, allocations: 7.922 kB / 0.6921 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1873, allocations: 273.5 kB / 0.6924 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1873, allocations: 0 / 0.6924 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.1874, allocations: 19.98 kB / 0.6924 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1874, allocations: 0 / 0.6924 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1874, allocations: 0 / 0.6924 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1874, allocations: 7.938 kB / 0.6924 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1874, allocations: 0 / 0.6924 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.1877, allocations: 243.2 kB / 0.6926 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.1878, allocations: 88.92 kB / 0.6927 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1878, allocations: 8 kB / 0.6927 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.188, allocations: 31.91 kB / 0.6927 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.1881, allocations: 27.98 kB / 0.6928 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1881, allocations: 8 kB / 0.6928 GB, free: 6.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1882, allocations: 147.2 kB / 0.6929 GB, free: 6.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1882, allocations: 0 / 0.6929 GB, free: 6.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1885, allocations: 35.84 kB / 0.6929 GB, free: 6.66 MB / 494.1 MB 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.0001465/0.1886, allocations: 115.1 kB / 0.6931 GB, free: 6.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.189, allocations: 130.5 kB / 0.6932 GB, free: 6.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.189, allocations: 0 / 0.6932 GB, free: 6.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1891, allocations: 47.98 kB / 0.6932 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1894, allocations: 28.3 kB / 0.6933 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.19, allocations: 404.5 kB / 0.6936 GB, free: 5.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1903, allocations: 0.7321 MB / 0.6944 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.046e-05/0.1904, allocations: 17.42 kB / 0.6944 GB, free: 5.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.1905, allocations: 23.42 kB / 0.6944 GB, free: 5.121 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1905, allocations: 0 / 0.6944 GB, free: 5.121 MB / 494.1 MB Notification: Performance of Templates: time 0.004448/0.195, allocations: 1.874 MB / 0.6962 GB, free: 3.293 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)