Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001324/0.001324, allocations: 102.7 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.001456/0.001456, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.522/1.522, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.8807/0.8807, allocations: 134 MB / 442.8 MB, free: 11.31 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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001951/0.001951, allocations: 66.03 kB / 0.6135 GB, free: 8.703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1772, allocations: 85.87 MB / 0.6973 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006008/0.1832, allocations: 4.143 MB / 0.7014 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1863, allocations: 2.453 MB / 0.7038 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.1864, allocations: 4 kB / 0.7038 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1867, allocations: 43.69 kB / 0.7038 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.187, allocations: 107.3 kB / 0.7039 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1883, allocations: 0.5296 MB / 0.7044 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.1887, allocations: 263.9 kB / 0.7047 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.1887, allocations: 17.55 kB / 0.7047 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1889, allocations: 115.5 kB / 0.7048 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1891, allocations: 99.58 kB / 0.7049 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1891, allocations: 8 kB / 0.7049 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008563/0.19, allocations: 479.2 kB / 0.7054 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.19, allocations: 35.89 kB / 0.7054 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1901, allocations: 87.58 kB / 0.7055 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.1908, allocations: 423 kB / 0.7059 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1908, allocations: 4 kB / 0.7059 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1908, allocations: 0 / 0.7059 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.1908, allocations: 0 / 0.7059 GB, free: 10.1 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009481/0.1918, allocations: 0.5103 MB / 0.7064 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1918, allocations: 9.109 kB / 0.7064 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.1919, allocations: 54.73 kB / 0.7065 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.1941, allocations: 192.5 kB / 0.7066 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1944, allocations: 204.2 kB / 0.7068 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.1945, allocations: 16.7 kB / 0.7068 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1945, allocations: 12.38 kB / 0.7069 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.1952, allocations: 312.2 kB / 0.7072 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1952, allocations: 0 / 0.7072 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.1953, allocations: 8 kB / 0.7072 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.1953, allocations: 7.984 kB / 0.7072 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007615/0.1961, allocations: 259.6 kB / 0.7074 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.1978, allocations: 1.393 MB / 0.7088 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.1985, allocations: 185.4 kB / 0.709 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1987, allocations: 72.81 kB / 0.709 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1988, allocations: 7.984 kB / 0.709 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1988, allocations: 34.56 kB / 0.7091 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.1988, allocations: 4 kB / 0.7091 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008648/0.1997, allocations: 245.3 kB / 0.7093 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1997, allocations: 51.41 kB / 0.7094 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1999, allocations: 154.2 kB / 0.7095 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.1999, allocations: 29.7 kB / 0.7095 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.2, allocations: 140.1 kB / 0.7097 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.2, allocations: 63.48 kB / 0.7097 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.2001, allocations: 49.88 kB / 0.7098 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2003, allocations: 330.8 kB / 0.7101 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.2005, allocations: 72.3 kB / 0.7102 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.2008, allocations: 138.3 kB / 0.7103 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.2013, allocations: 227.1 kB / 0.7105 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2013, allocations: 0 / 0.7105 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006331/0.202, allocations: 245.6 kB / 0.7107 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.202, allocations: 5.719 kB / 0.7107 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.202, allocations: 4 kB / 0.7107 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.202, allocations: 4 kB / 0.7108 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.2024, allocations: 63.89 kB / 0.7108 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.2024, allocations: 11.92 kB / 0.7108 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.2026, allocations: 23.84 kB / 0.7108 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.2027, allocations: 15.98 kB / 0.7109 GB, free: 4.621 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001313/0.2028, allocations: 141.7 kB / 0.711 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.2028, allocations: 15.91 kB / 0.711 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.2035, allocations: 229.4 kB / 0.7112 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2035, allocations: 0 / 0.7112 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.2035, allocations: 0 / 0.7112 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2035, allocations: 0 / 0.7112 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.2038, allocations: 245.6 kB / 0.7115 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2038, allocations: 0 / 0.7115 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.2041, allocations: 55.91 kB / 0.7115 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2041, allocations: 0 / 0.7115 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.2042, allocations: 7.984 kB / 0.7115 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2042, allocations: 0 / 0.7115 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2042, allocations: 0 / 0.7115 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.2048, allocations: 299.2 kB / 0.7118 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.2049, allocations: 112.9 kB / 0.7119 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.2049, allocations: 3.938 kB / 0.7119 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.2052, allocations: 15.98 kB / 0.7119 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2052, allocations: 15.97 kB / 0.712 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.2053, allocations: 11.94 kB / 0.712 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.357e-05/0.2053, allocations: 113.9 kB / 0.7121 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2053, allocations: 4 kB / 0.7121 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003678/0.2057, allocations: 59.94 kB / 0.7121 GB, free: 3.223 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.00108/0.2068, allocations: 0.8702 MB / 0.713 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005934/0.2074, allocations: 172.4 kB / 0.7131 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2074, allocations: 4 kB / 0.7132 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.2076, allocations: 79.84 kB / 0.7132 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.2082, allocations: 65.73 kB / 0.7133 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.2117, allocations: 2.16 MB / 0.7154 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.2121, allocations: 0.7173 MB / 0.7161 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.2123, allocations: 53.91 kB / 0.7162 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2125, allocations: 51.41 kB / 0.7162 GB, free: 14.86 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.2125, allocations: 0 / 0.7162 GB, free: 14.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.2423, allocations: 5.212 MB / 0.7213 GB, free: 9.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.239, allocations: 11.78 kB / 0.7213 GB, free: 9.855 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.9719294400129] Failed to read output from testmodel.py, exit status != 0: 8.310395577995223 8.326242385 8.132514757 Calling exit ...