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.001462/0.001462, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001623/0.001623, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.318/1.318, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.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.002352/0.002352, allocations: 279.4 kB / 312.7 MB, free: 2.832 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.11/1.11, allocations: 180.6 MB / 0.5369 GB, free: 13.04 MB / 382.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: "" <> 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: 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.002684/0.002684, allocations: 100.8 kB / 0.7396 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1662, allocations: 95.38 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003266/0.1695, allocations: 2.081 MB / 0.8348 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1706, allocations: 0.674 MB / 0.8354 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.1707, allocations: 4 kB / 0.8354 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1708, allocations: 23.67 kB / 0.8355 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.1708, allocations: 31.67 kB / 0.8355 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1711, allocations: 99.83 kB / 0.8356 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1714, allocations: 232 kB / 0.8358 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1716, allocations: 80.33 kB / 0.8359 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.1718, allocations: 107.6 kB / 0.836 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1719, allocations: 107.5 kB / 0.8361 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.172, allocations: 24 kB / 0.8361 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.172, allocations: 36 kB / 0.8361 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.274e-05/0.1721, allocations: 59.83 kB / 0.8362 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1722, allocations: 103.4 kB / 0.8363 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1725, allocations: 286.8 kB / 0.8366 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1725, allocations: 0 / 0.8366 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1725, allocations: 0 / 0.8366 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1725, allocations: 0 / 0.8366 GB, free: 4.703 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.0007348/0.1733, allocations: 472.9 kB / 0.837 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1733, allocations: 8.75 kB / 0.837 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.1734, allocations: 54.67 kB / 0.8371 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.1736, allocations: 48.77 kB / 0.8371 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.174, allocations: 199.9 kB / 0.8373 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.174, allocations: 12.38 kB / 0.8373 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.174, allocations: 16.38 kB / 0.8373 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1744, allocations: 224.9 kB / 0.8376 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1745, allocations: 0 / 0.8376 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1745, allocations: 11.94 kB / 0.8376 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1745, allocations: 4 kB / 0.8376 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1748, allocations: 143.9 kB / 0.8377 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008701/0.1756, allocations: 0.5576 MB / 0.8383 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.176, allocations: 122.7 kB / 0.8384 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1761, allocations: 40.84 kB / 0.8384 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1761, allocations: 0 / 0.8384 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1761, allocations: 38.56 kB / 0.8385 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.1761, allocations: 0 / 0.8385 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004217/0.1766, allocations: 165.6 kB / 0.8386 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.1766, allocations: 136.5 kB / 0.8387 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1769, allocations: 215.1 kB / 0.8389 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1769, allocations: 37.69 kB / 0.839 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.177, allocations: 148.3 kB / 0.8391 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.177, allocations: 27.75 kB / 0.8391 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.1771, allocations: 37.7 kB / 0.8392 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1772, allocations: 330.8 kB / 0.8395 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1773, allocations: 47.98 kB / 0.8395 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1775, allocations: 86.2 kB / 0.8396 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1777, allocations: 81.69 kB / 0.8397 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1777, allocations: 0 / 0.8397 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002924/0.178, allocations: 166.4 kB / 0.8399 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.178, allocations: 4 kB / 0.8399 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.178, allocations: 0 / 0.8399 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.178, allocations: 7.938 kB / 0.8399 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.1781, allocations: 15.98 kB / 0.8399 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.1781, allocations: 3.984 kB / 0.8399 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1782, allocations: 27.88 kB / 0.8399 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1782, allocations: 15.95 kB / 0.8399 GB, free: 1.012 MB / 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.000123/0.1784, allocations: 130.5 kB / 0.8401 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.1784, allocations: 19.91 kB / 0.8401 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.1785, allocations: 25.39 kB / 0.8401 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1785, allocations: 3.938 kB / 0.8401 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1785, allocations: 0 / 0.8401 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1785, allocations: 384 / 0.8401 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1788, allocations: 248.5 kB / 0.8403 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1788, allocations: 3.938 kB / 0.8403 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.1789, allocations: 19.98 kB / 0.8404 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1789, allocations: 3.938 kB / 0.8404 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1789, allocations: 8 kB / 0.8404 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1789, allocations: 3.938 kB / 0.8404 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1789, allocations: 3.984 kB / 0.8404 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.1792, allocations: 223.4 kB / 0.8406 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.1792, allocations: 19.91 kB / 0.8406 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1792, allocations: 7.938 kB / 0.8406 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.1794, allocations: 27.91 kB / 0.8407 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.1795, allocations: 23.95 kB / 0.8407 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.1795, allocations: 4 kB / 0.8407 GB, free: 188 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001295/0.1797, allocations: 156.6 kB / 0.8408 GB, free: 32 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1797, allocations: 0 / 0.8408 GB, free: 32 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002692/0.1799, allocations: 39.94 kB / 0.8409 GB, free: 15.99 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.0005997/0.1805, allocations: 0.7669 MB / 0.8416 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.1808, allocations: 103.9 kB / 0.8417 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1808, allocations: 4.062 kB / 0.8417 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1809, allocations: 56.03 kB / 0.8418 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1812, allocations: 20.61 kB / 0.8418 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.1835, allocations: 2.003 MB / 0.8437 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1838, allocations: 0.7319 MB / 0.8445 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.694e-05/0.1839, allocations: 21.42 kB / 0.8445 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.184, allocations: 63.41 kB / 0.8445 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.184, allocations: 0 / 0.8445 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.2146, allocations: 4.139 MB / 0.8486 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.838/10.05, allocations: 11.47 kB / 0.8486 GB, free: 8.133 MB / 0.5919 GB " [Timeout remaining time 650] (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: 13.905579551999836] Failed to read output from testmodel.py, exit status != 0: 10.150563426999724 10.16503422 9.989767203 Calling exit ...