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.001426/0.001426, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001548/0.001548, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 179] 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.002493/0.002493, allocations: 229.4 kB / 260 MB, free: 448 kB / 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 0.9235/0.9235, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 179] 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.003121/0.003121, allocations: 95.86 kB / 0.6474 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4275, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003242/0.4307, allocations: 1.99 MB / 0.7424 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.4319, allocations: 0.6338 MB / 0.743 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.4321, allocations: 2.812 kB / 0.743 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.4323, allocations: 20.67 kB / 0.743 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.4323, allocations: 39.11 kB / 0.7431 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.4327, allocations: 99.48 kB / 0.7432 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.4329, allocations: 228.8 kB / 0.7434 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.4331, allocations: 78.83 kB / 0.7435 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.4333, allocations: 97.61 kB / 0.7436 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4334, allocations: 96.48 kB / 0.7437 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.4335, allocations: 23.31 kB / 0.7437 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.4336, allocations: 38.42 kB / 0.7437 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.4336, allocations: 51.42 kB / 0.7438 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.4337, allocations: 90.69 kB / 0.7439 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.434, allocations: 285.8 kB / 0.7441 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.434, allocations: 0.9844 kB / 0.7441 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.434, allocations: 0 / 0.7441 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.434, allocations: 1.375 kB / 0.7441 GB, free: 15.08 MB / 0.5919 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.000695/0.4347, allocations: 470.6 kB / 0.7446 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4348, allocations: 11 kB / 0.7446 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.4351, allocations: 49.33 kB / 0.7446 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.4354, allocations: 201.8 kB / 0.7448 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.4354, allocations: 11 kB / 0.7448 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.4355, allocations: 20.67 kB / 0.7449 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.4358, allocations: 305.8 kB / 0.7451 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4359, allocations: 0 / 0.7451 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.4359, allocations: 10.53 kB / 0.7452 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4359, allocations: 3.531 kB / 0.7452 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.4362, allocations: 140.6 kB / 0.7453 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.4369, allocations: 479.5 kB / 0.7458 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.4372, allocations: 113.7 kB / 0.7459 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4373, allocations: 46.92 kB / 0.7459 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4373, allocations: 1.375 kB / 0.7459 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.4374, allocations: 34.06 kB / 0.7459 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.4374, allocations: 0 / 0.7459 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0004056/0.4378, allocations: 166.1 kB / 0.7461 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.4378, allocations: 129.9 kB / 0.7462 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4379, allocations: 195.8 kB / 0.7464 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.438, allocations: 33.2 kB / 0.7464 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.438, allocations: 153.1 kB / 0.7466 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.4381, allocations: 31.12 kB / 0.7466 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.4381, allocations: 39.64 kB / 0.7467 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.4382, allocations: 328.4 kB / 0.747 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.4383, allocations: 41.05 kB / 0.747 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.4384, allocations: 162.1 kB / 0.7472 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4386, allocations: 85.28 kB / 0.7472 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4386, allocations: 5.375 kB / 0.7472 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/0.4389, allocations: 160.6 kB / 0.7474 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4389, allocations: 8.562 kB / 0.7474 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4389, allocations: 3.938 kB / 0.7474 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4389, allocations: 1.344 kB / 0.7474 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.439, allocations: 17.12 kB / 0.7474 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.439, allocations: 5.625 kB / 0.7474 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.4392, allocations: 26.7 kB / 0.7475 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.4392, allocations: 8.297 kB / 0.7475 GB, free: 12.55 MB / 0.5919 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 9.656e-05/0.4393, allocations: 135.8 kB / 0.7476 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.4393, allocations: 16.91 kB / 0.7476 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.4394, allocations: 26.58 kB / 0.7476 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4394, allocations: 1.703 kB / 0.7476 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4394, allocations: 5.375 kB / 0.7476 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4394, allocations: 0.75 kB / 0.7476 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.4396, allocations: 185.3 kB / 0.7478 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4396, allocations: 0.7969 kB / 0.7478 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.4397, allocations: 18.98 kB / 0.7478 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4397, allocations: 0 / 0.7478 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4397, allocations: 2.719 kB / 0.7478 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4397, allocations: 1.125 kB / 0.7478 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4397, allocations: 0.7031 kB / 0.7478 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.44, allocations: 230.1 kB / 0.7481 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.44, allocations: 17.06 kB / 0.7481 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.44, allocations: 6.719 kB / 0.7481 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4402, allocations: 23.42 kB / 0.7481 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.4403, allocations: 28.22 kB / 0.7481 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4403, allocations: 11.73 kB / 0.7481 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.794e-05/0.4404, allocations: 138.3 kB / 0.7483 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4404, allocations: 5.562 kB / 0.7483 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002635/0.4406, allocations: 38.11 kB / 0.7483 GB, free: 11.92 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 8.252e-05/0.4407, allocations: 105.9 kB / 0.7484 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.441, allocations: 107.5 kB / 0.7485 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.441, allocations: 0 / 0.7485 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4411, allocations: 50.42 kB / 0.7486 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4414, allocations: 30.14 kB / 0.7486 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.4419, allocations: 328.4 kB / 0.7489 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.442, allocations: 124.4 kB / 0.749 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.598e-05/0.4421, allocations: 13.69 kB / 0.749 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.4422, allocations: 31.8 kB / 0.7491 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.4422, allocations: 0 / 0.7491 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.006178/0.4483, allocations: 2.13 MB / 0.7512 GB, free: 11.21 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.802655088016763] Failed to read output from testmodel.py, exit status != 0: 0.45657257200218737 0.46867477700000004 0.032093092000000004 Calling exit ...