Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001869/0.001869, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001953/0.001953, allocations: 204.8 kB / 22.24 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 134 MB / 446.4 MB, free: 9.922 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002049/0.002049, allocations: 69.98 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003412/0.1669, allocations: 1.994 MB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1681, allocations: 0.6351 MB / 0.705 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.1682, allocations: 8 kB / 0.705 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.1683, allocations: 23.67 kB / 0.705 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.1684, allocations: 35.59 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.1687, allocations: 95.83 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.169, allocations: 232 kB / 0.7053 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1692, allocations: 87.97 kB / 0.7054 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1694, allocations: 95.62 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1695, allocations: 95.48 kB / 0.7056 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.1696, allocations: 24 kB / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.1696, allocations: 32 kB / 0.7057 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.1697, allocations: 55.83 kB / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1698, allocations: 95.45 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.1702, allocations: 278.9 kB / 0.7061 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1702, allocations: 0 / 0.7061 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1702, allocations: 0 / 0.7061 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.1702, allocations: 3.938 kB / 0.7061 GB, free: 13.27 MB / 0.5294 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.0007793/0.171, allocations: 465.1 kB / 0.7065 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.171, allocations: 16.02 kB / 0.7065 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.1711, allocations: 46.73 kB / 0.7066 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.1713, allocations: 48.73 kB / 0.7066 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1717, allocations: 195.3 kB / 0.7068 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.1717, allocations: 20.12 kB / 0.7068 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1717, allocations: 16 kB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.1722, allocations: 305.8 kB / 0.7071 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1722, allocations: 0 / 0.7071 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1722, allocations: 12 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1722, allocations: 4 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.1725, allocations: 139.7 kB / 0.7073 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009417/0.1735, allocations: 0.5109 MB / 0.7078 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.1738, allocations: 110.7 kB / 0.7079 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1739, allocations: 48.84 kB / 0.7079 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.174, allocations: 0 / 0.7079 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.174, allocations: 42.48 kB / 0.708 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.174, allocations: 192 / 0.708 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004559/0.1745, allocations: 169.4 kB / 0.7081 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1746, allocations: 140.5 kB / 0.7083 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1748, allocations: 212.2 kB / 0.7085 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.1748, allocations: 33.7 kB / 0.7085 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1749, allocations: 144.3 kB / 0.7086 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.175, allocations: 31.73 kB / 0.7087 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.175, allocations: 41.69 kB / 0.7087 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1752, allocations: 326.8 kB / 0.709 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1753, allocations: 47.97 kB / 0.7091 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1755, allocations: 165.4 kB / 0.7092 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1757, allocations: 89.62 kB / 0.7093 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1757, allocations: 3.938 kB / 0.7093 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003021/0.176, allocations: 149 kB / 0.7095 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.176, allocations: 11.94 kB / 0.7095 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.176, allocations: 0 / 0.7095 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1761, allocations: 4.031 kB / 0.7095 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1762, allocations: 23.92 kB / 0.7095 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1762, allocations: 4 kB / 0.7095 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1763, allocations: 27.86 kB / 0.7095 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1763, allocations: 4 kB / 0.7095 GB, free: 9.449 MB / 0.5294 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.0001599/0.1765, allocations: 131.7 kB / 0.7097 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.1765, allocations: 23.84 kB / 0.7097 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.1766, allocations: 21.39 kB / 0.7097 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1766, allocations: 8 kB / 0.7097 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1766, allocations: 0 / 0.7097 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1766, allocations: 0 / 0.7097 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.1769, allocations: 216.7 kB / 0.7099 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1769, allocations: 0 / 0.7099 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.177, allocations: 23.92 kB / 0.7099 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.177, allocations: 3.938 kB / 0.7099 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.177, allocations: 0 / 0.7099 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.177, allocations: 0 / 0.7099 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.177, allocations: 4 kB / 0.7099 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.1774, allocations: 239.6 kB / 0.7102 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1775, allocations: 19.78 kB / 0.7102 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1775, allocations: 8 kB / 0.7102 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1777, allocations: 19.97 kB / 0.7102 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.1777, allocations: 23.95 kB / 0.7102 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1778, allocations: 0 / 0.7102 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001538/0.1779, allocations: 160.6 kB / 0.7104 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1779, allocations: 0 / 0.7104 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000263/0.1782, allocations: 39.95 kB / 0.7104 GB, free: 8.465 MB / 0.5294 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.0007005/0.1789, allocations: 0.7669 MB / 0.7112 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.1792, allocations: 103.9 kB / 0.7113 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1792, allocations: 0 / 0.7113 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1793, allocations: 55.91 kB / 0.7113 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1796, allocations: 25.05 kB / 0.7114 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.1822, allocations: 2.02 MB / 0.7133 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.1823, allocations: 125.2 kB / 0.7134 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.1824, allocations: 17.45 kB / 0.7135 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1825, allocations: 71.41 kB / 0.7135 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1825, allocations: 0 / 0.7135 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.2154, allocations: 4.664 MB / 0.7181 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.43, allocations: 1.875 kB / 0.7181 GB, free: 0.6914 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.040144009981304] Failed to read output from testmodel.py, exit status != 0: 11.534157615154982 11.565633058 11.390085755 Calling exit ...