Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2335/0.2335, allocations: 46.93 MB / 361.6 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 71.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3329, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.06646/0.3994, allocations: 39.75 MB / 0.6004 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02611/0.4255, allocations: 20.33 MB / 0.6202 GB, free: 8.004 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.4264, allocations: 27.75 kB / 0.6202 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.4277, allocations: 453.3 kB / 0.6207 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.4412, allocations: 5.161 MB / 0.6257 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007258/0.4484, allocations: 2.594 MB / 0.6282 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00304/0.4515, allocations: 1.985 MB / 0.6302 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008635/0.4524, allocations: 409.8 kB / 0.6306 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009398/0.4618, allocations: 4.191 MB / 0.6347 GB, free: 9.125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.4725, allocations: 5.479 MB / 0.64 GB, free: 3.562 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.4727, allocations: 72 kB / 0.6401 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01431/0.487, allocations: 7.274 MB / 0.6472 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004853/0.4875, allocations: 279.2 kB / 0.6474 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006658/0.4882, allocations: 453.9 kB / 0.6479 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.4995, allocations: 4.984 MB / 0.6527 GB, free: 6.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4995, allocations: 0 / 0.6527 GB, free: 6.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4995, allocations: 0 / 0.6527 GB, free: 6.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.4995, allocations: 0 / 0.6527 GB, free: 6.496 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004503/0.504, allocations: 1.6 MB / 0.6543 GB, free: 4.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.504, allocations: 12.03 kB / 0.6543 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.5042, allocations: 106.7 kB / 0.6544 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.5056, allocations: 228.2 kB / 0.6546 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.5066, allocations: 0.5025 MB / 0.6551 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.5068, allocations: 164.7 kB / 0.6553 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5069, allocations: 59.92 kB / 0.6553 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.5089, allocations: 1.075 MB / 0.6564 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.5089, allocations: 7.938 kB / 0.6564 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.509, allocations: 27.98 kB / 0.6564 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.509, allocations: 44.98 kB / 0.6565 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.5107, allocations: 0.8193 MB / 0.6573 GB, free: 1.652 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/0.5171, allocations: 5.428 MB / 0.6626 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.5184, allocations: 0.5238 MB / 0.6631 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.5187, allocations: 202.4 kB / 0.6633 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08603/0.6047, allocations: 26.01 MB / 0.6887 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.6048, allocations: 42.5 kB / 0.6887 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.6048, allocations: 0 / 0.6887 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006327/0.6111, allocations: 2.077 MB / 0.6908 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.6112, allocations: 187.9 kB / 0.6909 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.612, allocations: 0.6486 MB / 0.6916 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.6121, allocations: 37.7 kB / 0.6916 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.6124, allocations: 404.2 kB / 0.692 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.6126, allocations: 174.6 kB / 0.6922 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.6128, allocations: 154.6 kB / 0.6923 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.613, allocations: 378.8 kB / 0.6927 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.6134, allocations: 229.9 kB / 0.6929 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.6141, allocations: 0.5936 MB / 0.6935 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.6153, allocations: 0.8687 MB / 0.6943 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6153, allocations: 4 kB / 0.6943 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001521/0.6168, allocations: 0.8922 MB / 0.6952 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.6168, allocations: 10.34 kB / 0.6952 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6169, allocations: 12 kB / 0.6952 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/0.6201, allocations: 280.8 kB / 0.6955 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.6212, allocations: 283.6 kB / 0.6957 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6232, allocations: 2.021 MB / 0.6977 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.6237, allocations: 31.98 kB / 0.6977 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.6238, allocations: 40 kB / 0.6978 GB, free: 7.152 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004624/0.6242, allocations: 273.5 kB / 0.698 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6244, allocations: 75.53 kB / 0.6981 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.6271, allocations: 2.093 MB / 0.7002 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/0.6271, allocations: 27.95 kB / 0.7002 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.6271, allocations: 0 / 0.7002 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6271, allocations: 0 / 0.7002 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.631, allocations: 3.056 MB / 0.7032 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.631, allocations: 64 / 0.7032 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009662/0.632, allocations: 187.8 kB / 0.7034 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.6337, allocations: 303.9 kB / 0.7036 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.6337, allocations: 15.98 kB / 0.7037 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.6357, allocations: 2.084 MB / 0.7057 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6357, allocations: 0 / 0.7057 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.6382, allocations: 1.996 MB / 0.7076 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.6386, allocations: 147.1 kB / 0.7078 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6387, allocations: 35.72 kB / 0.7078 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.6391, allocations: 24.11 kB / 0.7078 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.6392, allocations: 32.38 kB / 0.7079 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.6392, allocations: 20 kB / 0.7079 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007865/0.64, allocations: 0.5693 MB / 0.7084 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.64, allocations: 0 / 0.7084 GB, free: 11.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003508/0.6435, allocations: 1.104 MB / 0.7095 GB, free: 10.88 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007972/0.6515, allocations: 3.637 MB / 0.7131 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.6538, allocations: 0.9171 MB / 0.714 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.6538, allocations: 0 / 0.714 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.655, allocations: 0.6048 MB / 0.7146 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.657, allocations: 407.7 kB / 0.7149 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.6702, allocations: 8.3 MB / 0.7231 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.671, allocations: 1.093 MB / 0.7241 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008261/0.6718, allocations: 350.2 kB / 0.7245 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.6723, allocations: 379.3 kB / 0.7248 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6723, allocations: 0 / 0.7248 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3632/1.035, allocations: 56.72 MB / 0.7802 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.53, allocations: 11.45 kB / 0.7802 GB, free: 124.8 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.474605167284608] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 16.692879592068493 16.70918611 16.206152381 Calling exit ...