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.001251/0.001251, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001331/0.001331, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.002384/0.002384, allocations: 295.2 kB / 313.5 MB, free: 2.793 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.136/1.136, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",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.002697/0.002697, allocations: 101.6 kB / 0.7404 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1693, allocations: 95.38 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003351/0.1727, allocations: 2.081 MB / 0.8355 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1738, allocations: 0.6701 MB / 0.8362 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1739, allocations: 0 / 0.8362 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.174, allocations: 27.67 kB / 0.8362 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.1741, allocations: 39.59 kB / 0.8363 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1744, allocations: 91.83 kB / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1747, allocations: 232 kB / 0.8366 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1749, allocations: 84.31 kB / 0.8366 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1751, allocations: 107.6 kB / 0.8367 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1752, allocations: 103.5 kB / 0.8368 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.1752, allocations: 24 kB / 0.8369 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.1753, allocations: 35.98 kB / 0.8369 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.1754, allocations: 55.78 kB / 0.837 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.1755, allocations: 107.5 kB / 0.8371 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1758, allocations: 290.7 kB / 0.8373 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1758, allocations: 0 / 0.8373 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1758, allocations: 0 / 0.8373 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1758, allocations: 0 / 0.8373 GB, free: 4.699 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.0007506/0.1766, allocations: 464.9 kB / 0.8378 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1766, allocations: 8.75 kB / 0.8378 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.824e-05/0.1766, allocations: 4.188 kB / 0.8378 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.1767, allocations: 54.73 kB / 0.8378 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.177, allocations: 48.7 kB / 0.8379 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.1773, allocations: 210.7 kB / 0.8381 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1774, allocations: 16.38 kB / 0.8381 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1774, allocations: 16.38 kB / 0.8381 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.1778, allocations: 228.6 kB / 0.8383 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1778, allocations: 0 / 0.8383 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1778, allocations: 12 kB / 0.8384 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1778, allocations: 4 kB / 0.8384 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1781, allocations: 139.9 kB / 0.8385 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.179, allocations: 0.5576 MB / 0.839 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1793, allocations: 106.7 kB / 0.8391 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1795, allocations: 44.84 kB / 0.8392 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1795, allocations: 4 kB / 0.8392 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1795, allocations: 42.53 kB / 0.8392 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1795, allocations: 0 / 0.8392 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004353/0.1799, allocations: 169.6 kB / 0.8394 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.18, allocations: 132.5 kB / 0.8395 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1802, allocations: 223.1 kB / 0.8397 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1803, allocations: 29.7 kB / 0.8398 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1804, allocations: 152.3 kB / 0.8399 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.1804, allocations: 31.73 kB / 0.8399 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.1805, allocations: 37.7 kB / 0.84 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1806, allocations: 326.8 kB / 0.8403 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1808, allocations: 47.97 kB / 0.8403 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1809, allocations: 81.64 kB / 0.8404 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1811, allocations: 89.62 kB / 0.8405 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1811, allocations: 0 / 0.8405 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003033/0.1814, allocations: 154.9 kB / 0.8406 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1814, allocations: 8 kB / 0.8406 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1814, allocations: 384 / 0.8406 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1814, allocations: 7.969 kB / 0.8406 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1815, allocations: 19.92 kB / 0.8407 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1815, allocations: 4 kB / 0.8407 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1817, allocations: 31.8 kB / 0.8407 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1817, allocations: 8 kB / 0.8407 GB, free: 1 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.0001308/0.1818, allocations: 130.5 kB / 0.8408 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.1819, allocations: 15.91 kB / 0.8408 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.1819, allocations: 33.33 kB / 0.8409 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1819, allocations: 4 kB / 0.8409 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1819, allocations: 0 / 0.8409 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1819, allocations: 3.938 kB / 0.8409 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1822, allocations: 244.5 kB / 0.8411 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1822, allocations: 0 / 0.8411 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1823, allocations: 19.92 kB / 0.8411 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1823, allocations: 0 / 0.8411 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1823, allocations: 3.938 kB / 0.8411 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1823, allocations: 4 kB / 0.8411 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1823, allocations: 7.984 kB / 0.8412 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1826, allocations: 223.4 kB / 0.8414 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.1827, allocations: 15.91 kB / 0.8414 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.1827, allocations: 11.92 kB / 0.8414 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1829, allocations: 15.98 kB / 0.8414 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.1829, allocations: 31.95 kB / 0.8414 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1829, allocations: 7.984 kB / 0.8414 GB, free: 180 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001379/0.1831, allocations: 152.6 kB / 0.8416 GB, free: 28 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1831, allocations: 0 / 0.8416 GB, free: 28 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002687/0.1833, allocations: 40.08 kB / 0.8416 GB, free: 15.98 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.0006541/0.184, allocations: 0.7748 MB / 0.8424 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.1843, allocations: 107.6 kB / 0.8425 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1843, allocations: 0 / 0.8425 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1844, allocations: 51.91 kB / 0.8425 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1847, allocations: 22.3 kB / 0.8426 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.1871, allocations: 2.001 MB / 0.8445 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1875, allocations: 0.7398 MB / 0.8452 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.175e-05/0.1876, allocations: 21.45 kB / 0.8453 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1877, allocations: 63.41 kB / 0.8453 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1877, allocations: 4 kB / 0.8453 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.2116, allocations: 4.167 MB / 0.8494 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.74, allocations: 4.953 kB / 0.8494 GB, free: 8.105 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 os._exit(0), Time elapsed: 14.632161159999669] Failed to read output from testmodel.py, exit status != 0: 10.90217879996635 10.917649359 10.738939131 Calling exit ...