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.001285/0.001285, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00151/0.00151, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 7.988 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.002419/0.002419, allocations: 279.2 kB / 312.7 MB, free: 2.805 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.16/1.16, 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.002674/0.002674, allocations: 98.56 kB / 0.7396 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1678, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00332/0.1711, allocations: 2.087 MB / 0.8348 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1723, allocations: 0.6624 MB / 0.8354 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1725, allocations: 4 kB / 0.8354 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.1726, allocations: 23.67 kB / 0.8355 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.1727, allocations: 39.59 kB / 0.8355 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.173, allocations: 99.83 kB / 0.8356 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.1733, allocations: 228 kB / 0.8358 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.1735, allocations: 84.31 kB / 0.8359 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1737, allocations: 111.6 kB / 0.836 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1738, allocations: 95.55 kB / 0.8361 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1739, allocations: 24 kB / 0.8361 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.174, allocations: 39.98 kB / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.174, allocations: 59.77 kB / 0.8362 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.1741, allocations: 103.4 kB / 0.8363 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1745, allocations: 290.8 kB / 0.8366 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1745, allocations: 0 / 0.8366 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1745, allocations: 0 / 0.8366 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1745, allocations: 0 / 0.8366 GB, free: 4.715 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.0007637/0.1753, allocations: 468.9 kB / 0.837 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1753, allocations: 8.75 kB / 0.837 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.676e-05/0.1754, allocations: 50.73 kB / 0.8371 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.1756, allocations: 56.77 kB / 0.8371 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.176, allocations: 195.9 kB / 0.8373 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1761, allocations: 16.38 kB / 0.8373 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1761, allocations: 16.38 kB / 0.8374 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.1765, allocations: 232.8 kB / 0.8376 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.1765, allocations: 0 / 0.8376 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1765, allocations: 11.94 kB / 0.8376 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1765, allocations: 11.94 kB / 0.8376 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1768, allocations: 135.9 kB / 0.8377 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.1777, allocations: 0.5576 MB / 0.8383 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.178, allocations: 114.7 kB / 0.8384 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1781, allocations: 44.84 kB / 0.8384 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1782, allocations: 0 / 0.8384 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1782, allocations: 46.67 kB / 0.8385 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.1782, allocations: 0 / 0.8385 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004284/0.1786, allocations: 165.4 kB / 0.8386 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.1787, allocations: 128.5 kB / 0.8387 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1789, allocations: 223.1 kB / 0.839 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.1789, allocations: 33.7 kB / 0.839 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1791, allocations: 148.3 kB / 0.8391 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1791, allocations: 31.73 kB / 0.8392 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.1792, allocations: 37.7 kB / 0.8392 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1793, allocations: 326.8 kB / 0.8395 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1794, allocations: 43.97 kB / 0.8396 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1796, allocations: 90.77 kB / 0.8396 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.1798, allocations: 85.62 kB / 0.8397 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1798, allocations: 0 / 0.8397 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000301/0.1801, allocations: 154.4 kB / 0.8399 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1801, allocations: 10.22 kB / 0.8399 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1801, allocations: 0 / 0.8399 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1801, allocations: 11.88 kB / 0.8399 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.1802, allocations: 15.98 kB / 0.8399 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1802, allocations: 0 / 0.8399 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1803, allocations: 35.86 kB / 0.8399 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1803, allocations: 0 / 0.8399 GB, free: 1.027 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.000131/0.1805, allocations: 134.9 kB / 0.8401 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.1805, allocations: 19.91 kB / 0.8401 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.1806, allocations: 25.39 kB / 0.8401 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1806, allocations: 7.875 kB / 0.8401 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1806, allocations: 3.938 kB / 0.8401 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1806, allocations: 0 / 0.8401 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.1808, allocations: 240.6 kB / 0.8404 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1808, allocations: 4 kB / 0.8404 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.1809, allocations: 15.92 kB / 0.8404 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1809, allocations: 4 kB / 0.8404 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.181, allocations: 8 kB / 0.8404 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.181, allocations: 7.938 kB / 0.8404 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.181, allocations: 3.984 kB / 0.8404 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1813, allocations: 219.4 kB / 0.8406 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.1813, allocations: 15.91 kB / 0.8406 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.1813, allocations: 7.984 kB / 0.8406 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1815, allocations: 27.92 kB / 0.8407 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.1815, allocations: 23.95 kB / 0.8407 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1816, allocations: 7.984 kB / 0.8407 GB, free: 204 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001332/0.1817, allocations: 152.6 kB / 0.8408 GB, free: 52 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1817, allocations: 0 / 0.8408 GB, free: 52 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002447/0.1819, allocations: 35.89 kB / 0.8409 GB, free: 16 kB / 0.5762 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.0006398/0.1826, allocations: 0.7709 MB / 0.8416 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1829, allocations: 112 kB / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1829, allocations: 0 / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.183, allocations: 52.03 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1833, allocations: 20.61 kB / 0.8418 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.1857, allocations: 2.004 MB / 0.8437 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.186, allocations: 0.7359 MB / 0.8445 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.085e-05/0.1861, allocations: 25.45 kB / 0.8445 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1862, allocations: 63.41 kB / 0.8446 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1862, allocations: 0 / 0.8446 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.2262, allocations: 4.129 MB / 0.8486 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.52, allocations: 13.2 kB / 0.8486 GB, free: 8.141 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 14.430282781133428] Failed to read output from testmodel.py, exit status != 0: 10.623209848999977 10.638240911 10.46087736 Calling exit ...