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.001571/0.001571, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001144/0.001144, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00223/0.00223, allocations: 295.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9791/0.9791, allocations: 169.2 MB / 0.4988 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001986, allocations: 98.36 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1757, allocations: 86.97 MB / 0.6808 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004079/0.1799, allocations: 2.026 MB / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1812, allocations: 0.5649 MB / 0.6834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.1814, allocations: 0 / 0.6834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1816, allocations: 27.67 kB / 0.6834 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1818, allocations: 39.59 kB / 0.6834 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1822, allocations: 75.92 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.1825, allocations: 232 kB / 0.6837 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1828, allocations: 107.9 kB / 0.6838 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.183, allocations: 95.62 kB / 0.6839 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1831, allocations: 99.48 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.1832, allocations: 24 kB / 0.684 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.1833, allocations: 35.98 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.1833, allocations: 55.83 kB / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.1835, allocations: 107.4 kB / 0.6842 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.1838, allocations: 267.1 kB / 0.6845 GB, free: 4.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1838, allocations: 4 kB / 0.6845 GB, free: 4.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1838, allocations: 0 / 0.6845 GB, free: 4.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1838, allocations: 0 / 0.6845 GB, free: 4.402 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.0008896/0.1847, allocations: 0.5142 MB / 0.685 GB, free: 3.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1848, allocations: 12.03 kB / 0.685 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.1848, allocations: 24.66 kB / 0.685 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1852, allocations: 252.7 kB / 0.6853 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1852, allocations: 16.36 kB / 0.6853 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.1853, allocations: 20.38 kB / 0.6853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1857, allocations: 229.5 kB / 0.6855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1857, allocations: 4 kB / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.1857, allocations: 8 kB / 0.6855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.1858, allocations: 4 kB / 0.6855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1861, allocations: 139.9 kB / 0.6857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000996/0.1871, allocations: 0.5972 MB / 0.6863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.1875, allocations: 114.7 kB / 0.6864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1876, allocations: 56.83 kB / 0.6864 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.1876, allocations: 4 kB / 0.6864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1877, allocations: 38.5 kB / 0.6865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.1877, allocations: 0 / 0.6865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004728/0.1882, allocations: 165.6 kB / 0.6866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.1883, allocations: 140.5 kB / 0.6868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1885, allocations: 214.9 kB / 0.687 GB, free: 1.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.1885, allocations: 33.64 kB / 0.687 GB, free: 1.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1886, allocations: 152 kB / 0.6871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1887, allocations: 27.64 kB / 0.6872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.1888, allocations: 37.7 kB / 0.6872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1889, allocations: 326.8 kB / 0.6875 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.189, allocations: 47.97 kB / 0.6876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1892, allocations: 88.27 kB / 0.6876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1894, allocations: 88.94 kB / 0.6877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1894, allocations: 0 / 0.6877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003243/0.1898, allocations: 157.4 kB / 0.6879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1898, allocations: 6.188 kB / 0.6879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1898, allocations: 0 / 0.6879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1898, allocations: 4 kB / 0.6879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1899, allocations: 23.86 kB / 0.6879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.19, allocations: 0 / 0.6879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1901, allocations: 35.81 kB / 0.6879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.1901, allocations: 4 kB / 0.6879 GB, free: 0.5938 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.0001331/0.1903, allocations: 137.9 kB / 0.6881 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.1903, allocations: 15.81 kB / 0.6881 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.1907, allocations: 143 kB / 0.6882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1907, allocations: 3.938 kB / 0.6882 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1907, allocations: 0 / 0.6882 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1907, allocations: 480 / 0.6882 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3152/0.5059, allocations: 273.1 kB / 0.6885 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.506, allocations: 1.188 kB / 0.6885 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.5061, allocations: 15.84 kB / 0.6885 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.5061, allocations: 2.047 kB / 0.6885 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.5062, allocations: 9.891 kB / 0.6885 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5062, allocations: 2.625 kB / 0.6885 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5062, allocations: 1.297 kB / 0.6885 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.5066, allocations: 235.1 kB / 0.6888 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.5066, allocations: 91.53 kB / 0.6888 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.5067, allocations: 7.984 kB / 0.6888 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.5069, allocations: 22.16 kB / 0.6889 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.507, allocations: 26.58 kB / 0.6889 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.507, allocations: 6.859 kB / 0.6889 GB, free: 17.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.5071, allocations: 146 kB / 0.689 GB, free: 17.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5071, allocations: 0 / 0.689 GB, free: 17.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.5075, allocations: 39.14 kB / 0.6891 GB, free: 17.8 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.0001609/0.5076, allocations: 110.6 kB / 0.6892 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.508, allocations: 117.7 kB / 0.6893 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.508, allocations: 0.5625 kB / 0.6893 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.5081, allocations: 56.33 kB / 0.6893 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.5085, allocations: 21.48 kB / 0.6894 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.5091, allocations: 350.7 kB / 0.6897 GB, free: 17.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.5093, allocations: 0.731 MB / 0.6904 GB, free: 16.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.5093, allocations: 25.73 kB / 0.6904 GB, free: 16.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5093, allocations: 3.75 kB / 0.6904 GB, free: 16.8 MB / 494.1 MB Notification: Performance of Templates: time 0.004778/0.5141, allocations: 2.376 MB / 0.6928 GB, free: 16.66 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)