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.WaterIF97OnePhase_ph.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.001489/0.001489, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001889/0.001889, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2252/0.2252, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",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.00227/0.00227, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3066, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04347/0.35, allocations: 39.76 MB / 0.6004 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.3754, allocations: 20.32 MB / 0.6202 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.3761, allocations: 27.75 kB / 0.6202 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.3773, allocations: 457.2 kB / 0.6207 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.3897, allocations: 5.162 MB / 0.6257 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006752/0.3965, allocations: 2.59 MB / 0.6282 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.3994, allocations: 2.02 MB / 0.6302 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.4002, allocations: 429.7 kB / 0.6306 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008675/0.4089, allocations: 4.203 MB / 0.6347 GB, free: 9.062 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.4194, allocations: 5.494 MB / 0.6401 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.4196, allocations: 72 kB / 0.6402 GB, free: 3.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/0.4341, allocations: 7.434 MB / 0.6474 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.4346, allocations: 291.1 kB / 0.6477 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007253/0.4354, allocations: 462 kB / 0.6481 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.4471, allocations: 5.136 MB / 0.6532 GB, free: 6.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.4471, allocations: 0 / 0.6532 GB, free: 6.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4471, allocations: 0 / 0.6532 GB, free: 6.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.4471, allocations: 0 / 0.6532 GB, free: 6.086 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.004528/0.4516, allocations: 1.639 MB / 0.6548 GB, free: 4.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4517, allocations: 8.031 kB / 0.6548 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.4518, allocations: 114.7 kB / 0.6549 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.454, allocations: 308.1 kB / 0.6552 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.455, allocations: 0.5142 MB / 0.6557 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.4551, allocations: 172.7 kB / 0.6558 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.4552, allocations: 55.94 kB / 0.6559 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.4576, allocations: 1.162 MB / 0.657 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4576, allocations: 0 / 0.657 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.4577, allocations: 43.91 kB / 0.6571 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.4578, allocations: 45.23 kB / 0.6571 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.4595, allocations: 0.8401 MB / 0.6579 GB, free: 1.004 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.006341/0.4659, allocations: 5.36 MB / 0.6632 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4672, allocations: 0.5822 MB / 0.6637 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.4675, allocations: 209.6 kB / 0.6639 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08483/0.5524, allocations: 25.94 MB / 0.6893 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.5524, allocations: 42.55 kB / 0.6893 GB, free: 480 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.5524, allocations: 0 / 0.6893 GB, free: 480 kB / 0.5137 GB Notification: Performance of matching and sorting (n=46): time 0.00522/0.5576, allocations: 1.871 MB / 0.6911 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.5577, allocations: 162.2 kB / 0.6913 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.5585, allocations: 0.6211 MB / 0.6919 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.5586, allocations: 37.7 kB / 0.6919 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.5589, allocations: 400.2 kB / 0.6923 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.559, allocations: 178.5 kB / 0.6925 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.5593, allocations: 158.6 kB / 0.6926 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.5595, allocations: 382.7 kB / 0.693 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.5599, allocations: 225.9 kB / 0.6932 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.5606, allocations: 0.5678 MB / 0.6938 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5617, allocations: 0.8446 MB / 0.6946 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.5617, allocations: 4 kB / 0.6946 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001479/0.5632, allocations: 0.8678 MB / 0.6954 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.5632, allocations: 8 kB / 0.6954 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5632, allocations: 15.94 kB / 0.6955 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.5635, allocations: 60.83 kB / 0.6955 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5647, allocations: 287.8 kB / 0.6958 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.5665, allocations: 1.959 MB / 0.6977 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.5671, allocations: 31.98 kB / 0.6977 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.5671, allocations: 43.94 kB / 0.6978 GB, free: 7.203 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004244/0.5676, allocations: 279 kB / 0.698 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.5677, allocations: 75.53 kB / 0.6981 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.5705, allocations: 2.295 MB / 0.7004 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.5705, allocations: 31.89 kB / 0.7004 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5705, allocations: 0 / 0.7004 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5705, allocations: 4 kB / 0.7004 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/0.5748, allocations: 3.373 MB / 0.7037 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5748, allocations: 0 / 0.7037 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009112/0.5757, allocations: 191.8 kB / 0.7039 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003665/0.576, allocations: 88.73 kB / 0.7039 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.5761, allocations: 12 kB / 0.704 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.5777, allocations: 1.994 MB / 0.7059 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5777, allocations: 0 / 0.7059 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.5803, allocations: 2.042 MB / 0.7079 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.5806, allocations: 178.9 kB / 0.7081 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.5807, allocations: 23.89 kB / 0.7081 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.5812, allocations: 31.97 kB / 0.7081 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.5813, allocations: 36.31 kB / 0.7082 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.5813, allocations: 24.05 kB / 0.7082 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006609/0.582, allocations: 0.5068 MB / 0.7087 GB, free: 11.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.582, allocations: 0 / 0.7087 GB, free: 11.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003093/0.5851, allocations: 1.104 MB / 0.7098 GB, free: 10.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006977/0.592, allocations: 3.704 MB / 0.7134 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.594, allocations: 0.9228 MB / 0.7143 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.594, allocations: 1.312 kB / 0.7143 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.5953, allocations: 0.6364 MB / 0.7149 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.5971, allocations: 388.5 kB / 0.7153 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.6089, allocations: 8.02 MB / 0.7231 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007452/0.6097, allocations: 1.113 MB / 0.7242 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009199/0.6106, allocations: 452.9 kB / 0.7246 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.6111, allocations: 399.3 kB / 0.725 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.6111, allocations: 0 / 0.725 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3269/0.938, allocations: 57.68 MB / 0.7813 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.39, allocations: 7.078 kB / 0.7813 GB, free: 123.8 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_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_WaterIF97OnePhase_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.306706642732024] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.h'] 16.521534474100918 16.537532879 16.086984683 Calling exit ...