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.001586/0.001586, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001722/0.001722, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.358/1.358, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 285 kB / 309.1 MB, free: 3.996 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 180.9 MB / 0.5333 GB, free: 13.81 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002711/0.002711, allocations: 99.97 kB / 0.7342 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1581, allocations: 95.35 MB / 0.8274 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003289/0.1614, allocations: 2.063 MB / 0.8294 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1625, allocations: 0.6623 MB / 0.83 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.1626, allocations: 7.938 kB / 0.83 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1627, allocations: 19.73 kB / 0.8301 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.1628, allocations: 43.59 kB / 0.8301 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1631, allocations: 95.83 kB / 0.8302 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1634, allocations: 228 kB / 0.8304 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1635, allocations: 83.91 kB / 0.8305 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.1637, allocations: 111.5 kB / 0.8306 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1639, allocations: 99.53 kB / 0.8307 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.1639, allocations: 24 kB / 0.8307 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.845e-05/0.164, allocations: 35.98 kB / 0.8307 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.164, allocations: 59.78 kB / 0.8308 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1642, allocations: 115.4 kB / 0.8309 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1645, allocations: 282.8 kB / 0.8312 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1645, allocations: 0 / 0.8312 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1645, allocations: 0 / 0.8312 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.1645, allocations: 0 / 0.8312 GB, free: 6.086 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.0007895/0.1653, allocations: 0.5349 MB / 0.8317 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1653, allocations: 12.62 kB / 0.8317 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.1654, allocations: 50.73 kB / 0.8318 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.1657, allocations: 48.77 kB / 0.8318 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.166, allocations: 253.1 kB / 0.832 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1661, allocations: 12.38 kB / 0.8321 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1661, allocations: 16.38 kB / 0.8321 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.1665, allocations: 232.8 kB / 0.8323 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1665, allocations: 0 / 0.8323 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1665, allocations: 12 kB / 0.8323 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.1665, allocations: 4 kB / 0.8323 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.1668, allocations: 135.9 kB / 0.8324 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.1678, allocations: 0.5975 MB / 0.833 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.1681, allocations: 118.8 kB / 0.8331 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1682, allocations: 48.95 kB / 0.8332 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1683, allocations: 7.922 kB / 0.8332 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1683, allocations: 38.56 kB / 0.8332 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1683, allocations: 0 / 0.8332 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004497/0.1688, allocations: 165.4 kB / 0.8334 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.1688, allocations: 132.9 kB / 0.8335 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.169, allocations: 219.8 kB / 0.8337 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1691, allocations: 33.7 kB / 0.8338 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1692, allocations: 144.3 kB / 0.8339 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1692, allocations: 35.67 kB / 0.8339 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.1693, allocations: 37.7 kB / 0.834 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1694, allocations: 326.8 kB / 0.8343 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1695, allocations: 47.97 kB / 0.8343 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1697, allocations: 84.27 kB / 0.8344 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1699, allocations: 88.62 kB / 0.8345 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1699, allocations: 0 / 0.8345 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003107/0.1702, allocations: 161.5 kB / 0.8346 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1702, allocations: 4 kB / 0.8346 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1702, allocations: 0 / 0.8346 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1702, allocations: 7.938 kB / 0.8347 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1703, allocations: 15.98 kB / 0.8347 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1703, allocations: 0 / 0.8347 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1705, allocations: 35.92 kB / 0.8347 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1705, allocations: 0 / 0.8347 GB, free: 2.195 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.0001278/0.1706, allocations: 142.5 kB / 0.8348 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.1707, allocations: 15.91 kB / 0.8349 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.1707, allocations: 25.39 kB / 0.8349 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1707, allocations: 3.938 kB / 0.8349 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1707, allocations: 0 / 0.8349 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1707, allocations: 0 / 0.8349 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.171, allocations: 277.4 kB / 0.8351 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.171, allocations: 0 / 0.8351 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.1711, allocations: 19.98 kB / 0.8352 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1711, allocations: 0 / 0.8352 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.1711, allocations: 11.98 kB / 0.8352 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1711, allocations: 3.938 kB / 0.8352 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1711, allocations: 3.938 kB / 0.8352 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.1715, allocations: 219.4 kB / 0.8354 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.1715, allocations: 93 kB / 0.8355 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.1716, allocations: 12 kB / 0.8355 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1717, allocations: 19.92 kB / 0.8355 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.1718, allocations: 27.95 kB / 0.8355 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1718, allocations: 4 kB / 0.8355 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001276/0.1719, allocations: 152.8 kB / 0.8357 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1719, allocations: 3.938 kB / 0.8357 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002535/0.1722, allocations: 39.89 kB / 0.8357 GB, free: 1.055 MB / 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.0006275/0.1728, allocations: 0.7747 MB / 0.8365 GB, free: 256 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.1731, allocations: 103.9 kB / 0.8366 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1731, allocations: 4.062 kB / 0.8366 GB, free: 148 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1732, allocations: 43.98 kB / 0.8366 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1735, allocations: 28.59 kB / 0.8367 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.176, allocations: 2.007 MB / 0.8386 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1763, allocations: 0.7241 MB / 0.8393 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.666e-05/0.1764, allocations: 29.44 kB / 0.8394 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1765, allocations: 63.69 kB / 0.8394 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.1765, allocations: 0 / 0.8394 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.2029, allocations: 4.016 MB / 0.8433 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.99, allocations: 21.17 kB / 0.8434 GB, free: 9.301 MB / 0.5919 GB " [Timeout remaining time 652] (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: 11.879548413213342] Failed to read output from testmodel.py, exit status != 0: 8.054824372753501 8.067705865 7.900668032 Calling exit ...