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.001835/0.001835, 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.002424/0.002424, allocations: 212.7 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.785 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.9205/0.9205, allocations: 134 MB / 446.4 MB, free: 9.953 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.001907/0.001907, allocations: 62.91 kB / 0.6185 GB, free: 6.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.182, allocations: 85.91 MB / 0.7024 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006082/0.1881, allocations: 3.902 MB / 0.7063 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.1911, allocations: 2.22 MB / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.1912, allocations: 0 / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1915, allocations: 55.61 kB / 0.7085 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1919, allocations: 103.3 kB / 0.7086 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1934, allocations: 0.5364 MB / 0.7091 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.1938, allocations: 263.8 kB / 0.7093 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.1938, allocations: 9.75 kB / 0.7094 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1941, allocations: 131.5 kB / 0.7095 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.1942, allocations: 95.56 kB / 0.7096 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1942, allocations: 8 kB / 0.7096 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007592/0.195, allocations: 395.4 kB / 0.71 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.1951, allocations: 35.89 kB / 0.71 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.1952, allocations: 75.7 kB / 0.7101 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.1959, allocations: 415 kB / 0.7105 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1959, allocations: 0 / 0.7105 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1959, allocations: 3.938 kB / 0.7105 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.1959, allocations: 4 kB / 0.7105 GB, free: 8.738 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.0008407/0.1967, allocations: 449.3 kB / 0.7109 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1968, allocations: 8.031 kB / 0.7109 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.1969, allocations: 50.73 kB / 0.711 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.1988, allocations: 192.6 kB / 0.7111 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.1992, allocations: 146.4 kB / 0.7113 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.1993, allocations: 12.7 kB / 0.7113 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.1993, allocations: 16.38 kB / 0.7113 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/0.2001, allocations: 0.5056 MB / 0.7118 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2002, allocations: 8 kB / 0.7118 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.2002, allocations: 4 kB / 0.7118 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.2002, allocations: 8 kB / 0.7118 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.2009, allocations: 251.6 kB / 0.7121 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2027, allocations: 1.212 MB / 0.7132 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.2034, allocations: 185.5 kB / 0.7134 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.2036, allocations: 72.81 kB / 0.7135 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2036, allocations: 0 / 0.7135 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.2036, allocations: 38.56 kB / 0.7135 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.2036, allocations: 3.938 kB / 0.7135 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0007962/0.2044, allocations: 251.1 kB / 0.7138 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2045, allocations: 51.41 kB / 0.7138 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2047, allocations: 165.6 kB / 0.714 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.2047, allocations: 25.7 kB / 0.714 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2048, allocations: 128.3 kB / 0.7141 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.2048, allocations: 67.42 kB / 0.7142 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.2049, allocations: 49.92 kB / 0.7142 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2051, allocations: 326.8 kB / 0.7145 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.2053, allocations: 64.42 kB / 0.7146 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.2056, allocations: 146.3 kB / 0.7147 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.2061, allocations: 215.2 kB / 0.7149 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2061, allocations: 0 / 0.7149 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005978/0.2067, allocations: 259 kB / 0.7152 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2067, allocations: 8 kB / 0.7152 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2067, allocations: 4 kB / 0.7152 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2067, allocations: 0 / 0.7152 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.2071, allocations: 67.89 kB / 0.7153 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2072, allocations: 4 kB / 0.7153 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.2074, allocations: 36.05 kB / 0.7153 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.2074, allocations: 19.98 kB / 0.7153 GB, free: 3.391 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.0001418/0.2076, allocations: 133.7 kB / 0.7155 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.2076, allocations: 23.78 kB / 0.7155 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.2083, allocations: 230.5 kB / 0.7157 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2083, allocations: 4 kB / 0.7157 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2083, allocations: 0 / 0.7157 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2083, allocations: 0 / 0.7157 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.2086, allocations: 216.4 kB / 0.7159 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2086, allocations: 0 / 0.7159 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.2089, allocations: 55.95 kB / 0.716 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2089, allocations: 0 / 0.716 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.2089, allocations: 4 kB / 0.716 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2089, allocations: 0 / 0.716 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2089, allocations: 8 kB / 0.716 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.2095, allocations: 293.7 kB / 0.7163 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.2096, allocations: 31.81 kB / 0.7163 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.2096, allocations: 11.98 kB / 0.7163 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.2099, allocations: 11.98 kB / 0.7163 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.2099, allocations: 15.98 kB / 0.7163 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.21, allocations: 7.984 kB / 0.7163 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.999e-05/0.2101, allocations: 117.9 kB / 0.7164 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2101, allocations: 0 / 0.7164 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003707/0.2104, allocations: 63.89 kB / 0.7165 GB, free: 2.113 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.001051/0.2115, allocations: 0.8547 MB / 0.7173 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.212, allocations: 179.8 kB / 0.7175 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.212, allocations: 0 / 0.7175 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.2123, allocations: 79.89 kB / 0.7176 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.2128, allocations: 61.44 kB / 0.7176 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.2162, allocations: 2.171 MB / 0.7198 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2164, allocations: 107.1 kB / 0.7199 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002646/0.2166, allocations: 53.91 kB / 0.7199 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.2167, allocations: 43.42 kB / 0.72 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.2167, allocations: 4 kB / 0.72 GB, free: 14.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.2502, allocations: 6.047 MB / 0.7259 GB, free: 8.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.43, allocations: 9.703 kB / 0.7259 GB, free: 8.59 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.333719516173005] Failed to read output from testmodel.py, exit status != 0: 11.548086802940816 11.573907844 11.372980839 Calling exit ...