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.0011/0.0011, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001095/0.001096, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.231/1.231, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002303/0.002303, allocations: 281.3 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8965/0.8965, allocations: 169.2 MB / 0.4985 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.0016, allocations: 88.36 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.163, allocations: 86.97 MB / 0.6803 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003128/0.1661, allocations: 2.075 MB / 0.6823 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.1671, allocations: 0.5494 MB / 0.6828 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.1672, allocations: 0 / 0.6828 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1673, allocations: 19.8 kB / 0.6829 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.1674, allocations: 23.8 kB / 0.6829 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1677, allocations: 75.94 kB / 0.683 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1679, allocations: 224 kB / 0.6832 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.1682, allocations: 115.9 kB / 0.6833 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1683, allocations: 95.62 kB / 0.6834 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1684, allocations: 95.48 kB / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.1685, allocations: 27.94 kB / 0.6835 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.1686, allocations: 35.98 kB / 0.6835 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.1686, allocations: 55.83 kB / 0.6836 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.1687, allocations: 107.4 kB / 0.6837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.169, allocations: 203.5 kB / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.169, allocations: 0 / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.169, allocations: 0 / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.169, allocations: 7.938 kB / 0.6839 GB, free: 4.848 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.0007653/0.1698, allocations: 0.5181 MB / 0.6844 GB, free: 4.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1698, allocations: 8.031 kB / 0.6844 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1699, allocations: 36.66 kB / 0.6844 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1702, allocations: 248.7 kB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1702, allocations: 16.38 kB / 0.6847 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.1703, allocations: 16.38 kB / 0.6847 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1707, allocations: 232.8 kB / 0.6849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1707, allocations: 0 / 0.6849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.1707, allocations: 8 kB / 0.6849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1707, allocations: 4 kB / 0.6849 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.171, allocations: 143.9 kB / 0.6851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008668/0.1719, allocations: 0.5933 MB / 0.6857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.1723, allocations: 114.7 kB / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1724, allocations: 52.84 kB / 0.6858 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1724, allocations: 4 kB / 0.6858 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1725, allocations: 30.56 kB / 0.6858 GB, free: 2.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1725, allocations: 0 / 0.6858 GB, free: 2.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004288/0.1729, allocations: 169.6 kB / 0.686 GB, free: 2.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.173, allocations: 136.5 kB / 0.6861 GB, free: 2.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1732, allocations: 214.9 kB / 0.6863 GB, free: 2.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1732, allocations: 33.7 kB / 0.6864 GB, free: 2.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.1733, allocations: 152.4 kB / 0.6865 GB, free: 1.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.1733, allocations: 31.64 kB / 0.6865 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.1734, allocations: 37.7 kB / 0.6866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1735, allocations: 326.8 kB / 0.6869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1736, allocations: 47.92 kB / 0.6869 GB, free: 1.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1738, allocations: 95.25 kB / 0.687 GB, free: 1.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.174, allocations: 85.69 kB / 0.6871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.174, allocations: 4 kB / 0.6871 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002937/0.1743, allocations: 161.4 kB / 0.6873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1743, allocations: 9.812 kB / 0.6873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1743, allocations: 0 / 0.6873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1743, allocations: 4 kB / 0.6873 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1744, allocations: 23.86 kB / 0.6873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1745, allocations: 0 / 0.6873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1746, allocations: 27.81 kB / 0.6873 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1746, allocations: 8 kB / 0.6873 GB, free: 1.031 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.0001242/0.1748, allocations: 133.9 kB / 0.6875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.1748, allocations: 19.81 kB / 0.6875 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.1751, allocations: 147 kB / 0.6876 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1751, allocations: 3.938 kB / 0.6876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1752, allocations: 0 / 0.6876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1752, allocations: 0 / 0.6876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.1754, allocations: 273.4 kB / 0.6879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1755, allocations: 0 / 0.6879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.1756, allocations: 15.98 kB / 0.6879 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1756, allocations: 7.938 kB / 0.6879 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1756, allocations: 4 kB / 0.6879 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1756, allocations: 7.938 kB / 0.6879 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1756, allocations: 0 / 0.6879 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1759, allocations: 227.2 kB / 0.6881 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.1759, allocations: 92.92 kB / 0.6882 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.176, allocations: 7.984 kB / 0.6882 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2937/0.4697, allocations: 20.81 kB / 0.6883 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4699, allocations: 19.25 kB / 0.6883 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.4699, allocations: 12.14 kB / 0.6883 GB, free: 18.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.47, allocations: 146.9 kB / 0.6884 GB, free: 18.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4701, allocations: 0 / 0.6884 GB, free: 18.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000371/0.4704, allocations: 40.67 kB / 0.6885 GB, free: 18.18 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.0001629/0.4706, allocations: 110.4 kB / 0.6886 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.471, allocations: 112 kB / 0.6887 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.471, allocations: 0.625 kB / 0.6887 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4711, allocations: 60.03 kB / 0.6887 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.4715, allocations: 19.69 kB / 0.6888 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.4722, allocations: 414.2 kB / 0.6892 GB, free: 17.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.4724, allocations: 0.7362 MB / 0.6899 GB, free: 17.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.4724, allocations: 24.77 kB / 0.6899 GB, free: 17.12 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4724, allocations: 0 / 0.6899 GB, free: 17.12 MB / 494.1 MB Notification: Performance of Templates: time 0.005091/0.4775, allocations: 2.377 MB / 0.6922 GB, free: 17 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)