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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 211.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002782/0.002782, allocations: 292.3 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.302/1.302, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 111.1 kB / 0.74 GB, free: 27.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1677, allocations: 95.37 MB / 0.8331 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003799/0.1715, allocations: 2.009 MB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1728, allocations: 0.6233 MB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.173, allocations: 4 kB / 0.8357 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1731, allocations: 27.67 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1732, allocations: 35.66 kB / 0.8358 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1736, allocations: 99.83 kB / 0.8359 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.1739, allocations: 232 kB / 0.8361 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1742, allocations: 80.03 kB / 0.8362 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.1744, allocations: 103.6 kB / 0.8363 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1746, allocations: 91.48 kB / 0.8363 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.1746, allocations: 24 kB / 0.8364 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.1747, allocations: 28 kB / 0.8364 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.1748, allocations: 59.77 kB / 0.8365 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.552e-05/0.1749, allocations: 87.58 kB / 0.8365 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.1753, allocations: 282.8 kB / 0.8368 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1753, allocations: 0 / 0.8368 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1753, allocations: 0 / 0.8368 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1753, allocations: 4 kB / 0.8368 GB, free: 4.02 MB / 0.5762 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.0008386/0.1761, allocations: 465.2 kB / 0.8373 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1762, allocations: 13.33 kB / 0.8373 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.1765, allocations: 40.78 kB / 0.8373 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.1769, allocations: 207.2 kB / 0.8375 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1769, allocations: 16.38 kB / 0.8375 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.177, allocations: 16.38 kB / 0.8375 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.1775, allocations: 306.1 kB / 0.8378 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1775, allocations: 4 kB / 0.8378 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1775, allocations: 4 kB / 0.8378 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1775, allocations: 11.94 kB / 0.8378 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.1778, allocations: 139.9 kB / 0.838 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.1788, allocations: 479.7 kB / 0.8384 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.1791, allocations: 118.7 kB / 0.8386 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1793, allocations: 40.84 kB / 0.8386 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1793, allocations: 4 kB / 0.8386 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1793, allocations: 34.56 kB / 0.8386 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1793, allocations: 0 / 0.8386 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000461/0.1798, allocations: 161.7 kB / 0.8388 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.1799, allocations: 140.5 kB / 0.8389 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1801, allocations: 195.1 kB / 0.8391 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1801, allocations: 37.69 kB / 0.8391 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1802, allocations: 144.4 kB / 0.8393 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.1803, allocations: 35.72 kB / 0.8393 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.1803, allocations: 33.7 kB / 0.8393 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1805, allocations: 326.8 kB / 0.8397 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1806, allocations: 43.98 kB / 0.8397 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.1808, allocations: 169.3 kB / 0.8399 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.181, allocations: 91.81 kB / 0.8399 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.181, allocations: 0 / 0.8399 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003069/0.1813, allocations: 149.5 kB / 0.8401 GB, free: 420 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1813, allocations: 4 kB / 0.8401 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1813, allocations: 8 kB / 0.8401 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1814, allocations: 48 / 0.8401 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1815, allocations: 28 kB / 0.8401 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1815, allocations: 3.938 kB / 0.8401 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1816, allocations: 28.28 kB / 0.8402 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1816, allocations: 0 / 0.8402 GB, free: 348 kB / 0.5762 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.0001417/0.1818, allocations: 141.8 kB / 0.8403 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.1818, allocations: 15.91 kB / 0.8403 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.1819, allocations: 25.33 kB / 0.8403 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1819, allocations: 0 / 0.8403 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1819, allocations: 7.938 kB / 0.8403 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1819, allocations: 0 / 0.8403 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.1821, allocations: 185.2 kB / 0.8405 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1821, allocations: 0 / 0.8405 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.1822, allocations: 19.92 kB / 0.8405 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1822, allocations: 0 / 0.8405 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1823, allocations: 4 kB / 0.8405 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1823, allocations: 0 / 0.8405 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1823, allocations: 0 / 0.8405 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1826, allocations: 231.3 kB / 0.8408 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.1826, allocations: 15.91 kB / 0.8408 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.1827, allocations: 4 kB / 0.8408 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1828, allocations: 23.97 kB / 0.8408 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.1829, allocations: 23.95 kB / 0.8408 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1829, allocations: 7.875 kB / 0.8408 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001249/0.183, allocations: 135.2 kB / 0.841 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.183, allocations: 0 / 0.841 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002794/0.1833, allocations: 43.83 kB / 0.841 GB, free: 15.42 MB / 0.5919 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.0001336/0.1834, allocations: 111.2 kB / 0.8411 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.1838, allocations: 107.9 kB / 0.8412 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1838, allocations: 0 / 0.8412 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1839, allocations: 47.92 kB / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1842, allocations: 29.83 kB / 0.8413 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.1849, allocations: 329.3 kB / 0.8416 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.185, allocations: 125 kB / 0.8417 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.052e-05/0.1851, allocations: 17.42 kB / 0.8417 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.1852, allocations: 19.42 kB / 0.8418 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1852, allocations: 0 / 0.8418 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.006128/0.1913, allocations: 2.274 MB / 0.844 GB, free: 12.39 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.347233494743705] Failed to read output from testmodel.py, exit status != 0: 0.19887098670005798 0.21561170100000002 0.03699555 Calling exit ...