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.0007567/0.0007567, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007724/0.0007724, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8502/0.8502, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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.00141/0.00141, allocations: 228.8 kB / 259.4 MB, free: 13.03 MB / 250.7 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.6302/0.6302, allocations: 138.4 MB / 454.3 MB, free: 1.605 MB / 362.7 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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.835e-06/9.217e-06, allocations: 2.281 kB / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001792/0.001801, allocations: 1.991 MB / 0.6483 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000693/0.002494, allocations: 0.6209 MB / 0.6489 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.002582, allocations: 3.5 kB / 0.6489 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.002678, allocations: 19.73 kB / 0.6489 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.002731, allocations: 48.91 kB / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.002997, allocations: 98.25 kB / 0.649 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.003161, allocations: 235.9 kB / 0.6493 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.003308, allocations: 79.95 kB / 0.6493 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.003465, allocations: 144.1 kB / 0.6495 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.003541, allocations: 73.75 kB / 0.6495 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.003569, allocations: 24.47 kB / 0.6496 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/0.003631, allocations: 40.97 kB / 0.6496 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.003677, allocations: 55.52 kB / 0.6497 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.003722, allocations: 69.86 kB / 0.6497 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.003919, allocations: 293.3 kB / 0.65 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003922, allocations: 1.5 kB / 0.65 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003922, allocations: 0 / 0.65 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.003927, allocations: 0 / 0.65 GB, free: 26.21 MB / 0.5105 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.0004413/0.004368, allocations: 462.5 kB / 0.6504 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.004401, allocations: 11.34 kB / 0.6505 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.00443, allocations: 56.14 kB / 0.6505 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.004588, allocations: 47.36 kB / 0.6506 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.004806, allocations: 196.8 kB / 0.6507 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.004822, allocations: 16.12 kB / 0.6508 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.004842, allocations: 15.06 kB / 0.6508 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.005106, allocations: 306.9 kB / 0.6511 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.005115, allocations: 1.312 kB / 0.6511 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.00513, allocations: 13.78 kB / 0.6511 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.005137, allocations: 8.344 kB / 0.6511 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.005327, allocations: 139 kB / 0.6512 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.005887, allocations: 0.508 MB / 0.6517 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.006116, allocations: 121.1 kB / 0.6518 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.006178, allocations: 41.19 kB / 0.6519 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.006194, allocations: 1.469 kB / 0.6519 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.006209, allocations: 37 kB / 0.6519 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.00621, allocations: 0 / 0.6519 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002806/0.00649, allocations: 164.6 kB / 0.6521 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.006518, allocations: 130.7 kB / 0.6522 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.006642, allocations: 224.4 kB / 0.6524 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.006654, allocations: 32.11 kB / 0.6524 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.006706, allocations: 148.3 kB / 0.6526 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.006721, allocations: 28.97 kB / 0.6526 GB, free: 24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.006763, allocations: 41.59 kB / 0.6526 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.163e-05/0.006795, allocations: 331.7 kB / 0.653 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.006862, allocations: 40.14 kB / 0.653 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.43e-05/0.006946, allocations: 172.4 kB / 0.6532 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.007057, allocations: 86.72 kB / 0.6532 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007059, allocations: 0 / 0.6532 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001711/0.00723, allocations: 156.1 kB / 0.6534 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.007242, allocations: 5.906 kB / 0.6534 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007246, allocations: 0 / 0.6534 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007257, allocations: 2.375 kB / 0.6534 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.007312, allocations: 15.73 kB / 0.6534 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.007318, allocations: 5.5 kB / 0.6534 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.007383, allocations: 37.28 kB / 0.6535 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.007393, allocations: 7.484 kB / 0.6535 GB, free: 23.28 MB / 0.5105 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 7.104e-05/0.007464, allocations: 137.4 kB / 0.6536 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.007487, allocations: 16.5 kB / 0.6536 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.007518, allocations: 26.48 kB / 0.6536 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.00752, allocations: 1.5 kB / 0.6536 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007525, allocations: 0 / 0.6536 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.007527, allocations: 7.875 kB / 0.6536 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.007663, allocations: 225.3 kB / 0.6539 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007664, allocations: 384 / 0.6539 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.007704, allocations: 19.92 kB / 0.6539 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.007705, allocations: 0 / 0.6539 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.007714, allocations: 1.781 kB / 0.6539 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007715, allocations: 7.875 kB / 0.6539 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007716, allocations: 0 / 0.6539 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.007892, allocations: 229 kB / 0.6541 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.007912, allocations: 21.5 kB / 0.6541 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.007934, allocations: 10.41 kB / 0.6541 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.008009, allocations: 23.81 kB / 0.6542 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.008076, allocations: 23.83 kB / 0.6542 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.008085, allocations: 6.469 kB / 0.6542 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.515e-05/0.00817, allocations: 160.4 kB / 0.6543 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.00817, allocations: 0 / 0.6543 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001795/0.008349, allocations: 35.2 kB / 0.6544 GB, free: 22.51 MB / 0.5105 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.0003009/0.00865, allocations: 0.7717 MB / 0.6551 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.008862, allocations: 106 kB / 0.6552 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.008864, allocations: 1.5 kB / 0.6552 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.008937, allocations: 47.64 kB / 0.6553 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.009155, allocations: 29.31 kB / 0.6553 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.01047, allocations: 1.994 MB / 0.6573 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.01053, allocations: 129.2 kB / 0.6574 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.482e-05/0.01058, allocations: 18.48 kB / 0.6574 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.01066, allocations: 66.78 kB / 0.6575 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of SimCode: time 5.92e-07/0.01066, allocations: 0 / 0.6575 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.0253, allocations: 4.825 MB / 0.6622 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.947, allocations: 4.062 kB / 0.6622 GB, free: 17.17 MB / 0.5105 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.629290354438126] Failed to read output from testmodel.py, exit status != 0: 7.025482046417892 7.03283962 7.027480334 Calling exit ...