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.001328/0.001328, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001467/0.001467, allocations: 213.5 kB / 22.25 MB, free: 5.262 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.797 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.002492/0.002492, allocations: 285.7 kB / 312.7 MB, free: 2.594 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.154/1.154, allocations: 180.6 MB / 0.5369 GB, free: 14.39 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.00279/0.00279, allocations: 105.6 kB / 0.7395 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1664, allocations: 95.38 MB / 0.8327 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003324/0.1697, allocations: 1.995 MB / 0.8346 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1709, allocations: 0.6273 MB / 0.8352 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.171, allocations: 4 kB / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1711, allocations: 27.66 kB / 0.8352 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.1712, allocations: 39.61 kB / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1715, allocations: 99.81 kB / 0.8354 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.1717, allocations: 228.1 kB / 0.8356 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1719, allocations: 76.33 kB / 0.8357 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.1721, allocations: 103.6 kB / 0.8358 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1723, allocations: 91.47 kB / 0.8359 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.1723, allocations: 24 kB / 0.8359 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.1724, allocations: 31.98 kB / 0.8359 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1724, allocations: 51.84 kB / 0.836 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.1725, allocations: 91.52 kB / 0.836 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1729, allocations: 286.8 kB / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1729, allocations: 0 / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1729, allocations: 0 / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.1729, allocations: 0 / 0.8363 GB, free: 4.566 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.0007465/0.1736, allocations: 472.9 kB / 0.8368 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1737, allocations: 8.75 kB / 0.8368 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.1737, allocations: 50.73 kB / 0.8368 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.174, allocations: 52.77 kB / 0.8369 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.1744, allocations: 199.3 kB / 0.8371 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.1744, allocations: 12.38 kB / 0.8371 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.1744, allocations: 20.38 kB / 0.8371 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.1749, allocations: 302 kB / 0.8374 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1749, allocations: 3.938 kB / 0.8374 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1749, allocations: 8 kB / 0.8374 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1749, allocations: 4 kB / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1752, allocations: 147.9 kB / 0.8375 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.1761, allocations: 0.5108 MB / 0.838 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.1764, allocations: 110.7 kB / 0.8382 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1766, allocations: 52.83 kB / 0.8382 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1766, allocations: 0 / 0.8382 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1766, allocations: 34.56 kB / 0.8382 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1766, allocations: 0 / 0.8382 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004305/0.177, allocations: 165.6 kB / 0.8384 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.1771, allocations: 136.5 kB / 0.8385 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.1773, allocations: 215.1 kB / 0.8387 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1774, allocations: 33.7 kB / 0.8388 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1775, allocations: 152.3 kB / 0.8389 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1775, allocations: 31.73 kB / 0.8389 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.1776, allocations: 33.7 kB / 0.839 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1777, allocations: 330.8 kB / 0.8393 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1779, allocations: 51.91 kB / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.178, allocations: 161.4 kB / 0.8395 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1782, allocations: 87.44 kB / 0.8396 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1782, allocations: 8 kB / 0.8396 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002894/0.1785, allocations: 151.5 kB / 0.8397 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1785, allocations: 8 kB / 0.8397 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1785, allocations: 0 / 0.8397 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1786, allocations: 3.938 kB / 0.8397 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1787, allocations: 19.92 kB / 0.8398 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1787, allocations: 4 kB / 0.8398 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1788, allocations: 31.89 kB / 0.8398 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1788, allocations: 11.98 kB / 0.8398 GB, free: 0.7266 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.0001323/0.179, allocations: 134.5 kB / 0.8399 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.179, allocations: 15.91 kB / 0.8399 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.1791, allocations: 25.41 kB / 0.84 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1791, allocations: 4.312 kB / 0.84 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1791, allocations: 0 / 0.84 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1791, allocations: 0 / 0.84 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1793, allocations: 220.6 kB / 0.8402 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1793, allocations: 7.938 kB / 0.8402 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.1794, allocations: 19.92 kB / 0.8402 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1794, allocations: 48 / 0.8402 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1795, allocations: 11.97 kB / 0.8402 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1795, allocations: 7.938 kB / 0.8402 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1795, allocations: 0 / 0.8402 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1798, allocations: 219.4 kB / 0.8404 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1798, allocations: 15.94 kB / 0.8404 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.1799, allocations: 8 kB / 0.8405 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.18, allocations: 27.88 kB / 0.8405 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.1801, allocations: 31.94 kB / 0.8405 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1801, allocations: 4 kB / 0.8405 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001307/0.1802, allocations: 148.6 kB / 0.8407 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1802, allocations: 0 / 0.8407 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002505/0.1805, allocations: 39.89 kB / 0.8407 GB, free: 15.74 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.000635/0.1811, allocations: 0.7709 MB / 0.8415 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1814, allocations: 111.8 kB / 0.8416 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1814, allocations: 192 / 0.8416 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1815, allocations: 51.86 kB / 0.8416 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1818, allocations: 28.59 kB / 0.8416 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.1842, allocations: 1.993 MB / 0.8436 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1843, allocations: 121.2 kB / 0.8437 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.083e-05/0.1844, allocations: 21.42 kB / 0.8437 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1845, allocations: 63.41 kB / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1845, allocations: 0 / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.216, allocations: 4.698 MB / 0.8484 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.84, allocations: 10.23 kB / 0.8484 GB, free: 7.953 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 & 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: 14.826597633305937] Failed to read output from testmodel.py, exit status != 0: 10.945221392903477 10.971621644 10.794221336 Calling exit ...