Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.001344/0.001344, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001379/0.001379, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8328/0.8328, allocations: 133.9 MB / 442.8 MB, free: 11.3 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.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.001927/0.001927, allocations: 66.69 kB / 0.6135 GB, free: 8.707 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 85.86 MB / 0.6973 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01724/0.1908, allocations: 13.15 MB / 0.7102 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.194, allocations: 2.667 MB / 0.7128 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1941, allocations: 4 kB / 0.7128 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1944, allocations: 43.69 kB / 0.7128 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1947, allocations: 99.41 kB / 0.7129 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.196, allocations: 0.5229 MB / 0.7134 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1963, allocations: 231.9 kB / 0.7136 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1963, allocations: 13.55 kB / 0.7136 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008555/0.2049, allocations: 3.6 MB / 0.7172 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.2051, allocations: 99.53 kB / 0.7173 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.2051, allocations: 8 kB / 0.7173 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.2078, allocations: 1.102 MB / 0.7183 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.2079, allocations: 47.77 kB / 0.7184 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.208, allocations: 79.66 kB / 0.7185 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007995/0.2088, allocations: 378.8 kB / 0.7188 GB, free: 12.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2088, allocations: 0 / 0.7188 GB, free: 12.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2088, allocations: 0 / 0.7188 GB, free: 12.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2088, allocations: 0 / 0.7188 GB, free: 12.82 MB / 0.545 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.0008553/0.2097, allocations: 0.5122 MB / 0.7193 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2097, allocations: 13.05 kB / 0.7193 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.2098, allocations: 54.67 kB / 0.7194 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.21, allocations: 24.83 kB / 0.7194 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.2103, allocations: 216.2 kB / 0.7196 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2103, allocations: 16.7 kB / 0.7196 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.2103, allocations: 12.38 kB / 0.7196 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.2107, allocations: 256 kB / 0.7199 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2107, allocations: 3.938 kB / 0.7199 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2108, allocations: 8 kB / 0.7199 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.2108, allocations: 7.984 kB / 0.7199 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.2113, allocations: 423.5 kB / 0.7203 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.2127, allocations: 0.9645 MB / 0.7213 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.213, allocations: 143 kB / 0.7214 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.2132, allocations: 56.88 kB / 0.7214 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.215, allocations: 1.837 MB / 0.7232 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2151, allocations: 34.56 kB / 0.7233 GB, free: 7.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.2151, allocations: 0 / 0.7233 GB, free: 7.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000411/0.2155, allocations: 149.4 kB / 0.7234 GB, free: 7.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.2155, allocations: 59.41 kB / 0.7235 GB, free: 7.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2157, allocations: 167.2 kB / 0.7236 GB, free: 7.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.2157, allocations: 33.69 kB / 0.7237 GB, free: 7.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2158, allocations: 144.1 kB / 0.7238 GB, free: 7.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.2159, allocations: 51.53 kB / 0.7239 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.216, allocations: 53.69 kB / 0.7239 GB, free: 6.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2161, allocations: 322.8 kB / 0.7242 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.2162, allocations: 35.97 kB / 0.7242 GB, free: 6.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2163, allocations: 137.7 kB / 0.7244 GB, free: 6.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.2166, allocations: 211.4 kB / 0.7246 GB, free: 6.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2166, allocations: 0 / 0.7246 GB, free: 6.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003467/0.2169, allocations: 215.2 kB / 0.7248 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.217, allocations: 4 kB / 0.7248 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.217, allocations: 7.938 kB / 0.7248 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.217, allocations: 11.94 kB / 0.7248 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2172, allocations: 52.38 kB / 0.7249 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2172, allocations: 11.94 kB / 0.7249 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2173, allocations: 27.78 kB / 0.7249 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.2173, allocations: 16 kB / 0.7249 GB, free: 5.852 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001181/0.2175, allocations: 129.7 kB / 0.725 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.2175, allocations: 15.91 kB / 0.725 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.2178, allocations: 166.3 kB / 0.7252 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.2178, allocations: 3.938 kB / 0.7252 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2178, allocations: 0 / 0.7252 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2178, allocations: 7.938 kB / 0.7252 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.2181, allocations: 213.6 kB / 0.7254 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2181, allocations: 0 / 0.7254 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.2182, allocations: 27.92 kB / 0.7254 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2182, allocations: 4 kB / 0.7255 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2182, allocations: 0 / 0.7255 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2182, allocations: 7.938 kB / 0.7255 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2182, allocations: 0 / 0.7255 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.2185, allocations: 225.1 kB / 0.7257 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2186, allocations: 117 kB / 0.7258 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2186, allocations: 0 / 0.7258 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.2189, allocations: 19.92 kB / 0.7258 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.2189, allocations: 11.98 kB / 0.7258 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2189, allocations: 11.94 kB / 0.7258 GB, free: 4.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001103/0.219, allocations: 124.9 kB / 0.7259 GB, free: 4.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.219, allocations: 0 / 0.7259 GB, free: 4.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004321/0.2195, allocations: 83.8 kB / 0.726 GB, free: 4.617 MB / 0.545 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008715/0.2203, allocations: 0.841 MB / 0.7268 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.2206, allocations: 110.5 kB / 0.727 GB, free: 3.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2206, allocations: 3.938 kB / 0.727 GB, free: 3.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.2207, allocations: 39.92 kB / 0.727 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.2211, allocations: 59.02 kB / 0.7271 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.2236, allocations: 2.045 MB / 0.729 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.224, allocations: 0.7128 MB / 0.7297 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.2242, allocations: 51 kB / 0.7298 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.2242, allocations: 43.42 kB / 0.7298 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.2242, allocations: 0 / 0.7298 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.2544, allocations: 5.555 MB / 0.7353 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.364, allocations: 1.75 kB / 0.7353 GB, free: 11.09 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_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_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.3342624240031] Failed to read output from testmodel.py, exit status != 0: 8.43480705600814 8.773766158 8.243829968 Calling exit ...