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.001897/0.001897, allocations: 121.4 kB / 18.51 MB, free: 4.539 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.002133/0.002133, allocations: 213.6 kB / 21.46 MB, free: 1.59 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.461/1.461, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.2264/0.2264, allocations: 46.94 MB / 357.7 MB, free: 10.21 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.002281/0.002281, allocations: 87.84 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1223, allocations: 66.04 MB / 0.5562 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3031/0.4254, allocations: 39.43 MB / 0.5947 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.4459, allocations: 20.22 MB / 0.6144 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.4467, allocations: 30.41 kB / 0.6144 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.4479, allocations: 448.1 kB / 0.6149 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.464, allocations: 5.158 MB / 0.6199 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009292/0.4733, allocations: 2.554 MB / 0.6224 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003031/0.4763, allocations: 1.965 MB / 0.6243 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.477, allocations: 425.7 kB / 0.6247 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008495/0.4855, allocations: 4.184 MB / 0.6288 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.4963, allocations: 5.484 MB / 0.6342 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.4965, allocations: 66.38 kB / 0.6342 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/0.5115, allocations: 7.272 MB / 0.6413 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.512, allocations: 274.3 kB / 0.6416 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008256/0.5128, allocations: 446.9 kB / 0.642 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.5268, allocations: 4.984 MB / 0.6469 GB, free: 4.223 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5268, allocations: 4 kB / 0.6469 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5268, allocations: 0 / 0.6469 GB, free: 4.219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.5268, allocations: 0 / 0.6469 GB, free: 4.219 MB / 462.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.004836/0.5316, allocations: 1.672 MB / 0.6485 GB, free: 2.492 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5317, allocations: 12.03 kB / 0.6485 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.5318, allocations: 106.7 kB / 0.6486 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.5333, allocations: 224.2 kB / 0.6489 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009357/0.5342, allocations: 0.5642 MB / 0.6494 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.5343, allocations: 113.4 kB / 0.6495 GB, free: 1.426 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5344, allocations: 67.94 kB / 0.6496 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.5365, allocations: 1.068 MB / 0.6506 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.5365, allocations: 3.938 kB / 0.6506 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.5366, allocations: 35.98 kB / 0.6507 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/0.5366, allocations: 44.97 kB / 0.6507 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.5383, allocations: 0.8203 MB / 0.6515 GB, free: 15.29 MB / 478.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.006278/0.5446, allocations: 5.561 MB / 0.6569 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.5459, allocations: 0.5151 MB / 0.6574 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.5462, allocations: 206.4 kB / 0.6576 GB, free: 8.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1072/0.6535, allocations: 52.78 MB / 0.7092 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.6535, allocations: 46.5 kB / 0.7092 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.6535, allocations: 0 / 0.7092 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.006595/0.6601, allocations: 2.145 MB / 0.7113 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.6602, allocations: 195.8 kB / 0.7115 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008346/0.6611, allocations: 0.6369 MB / 0.7121 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.6611, allocations: 33.69 kB / 0.7122 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.6614, allocations: 420.1 kB / 0.7126 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.6616, allocations: 174.6 kB / 0.7127 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.6618, allocations: 154.6 kB / 0.7129 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.662, allocations: 374.8 kB / 0.7132 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.6624, allocations: 233.9 kB / 0.7135 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.6631, allocations: 0.59 MB / 0.714 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.6643, allocations: 0.8645 MB / 0.7149 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.6643, allocations: 4 kB / 0.7149 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001493/0.6658, allocations: 0.9004 MB / 0.7158 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6658, allocations: 12 kB / 0.7158 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.6658, allocations: 12 kB / 0.7158 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/0.6691, allocations: 276.5 kB / 0.716 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.6703, allocations: 279.8 kB / 0.7163 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.6722, allocations: 2.118 MB / 0.7184 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.6727, allocations: 28 kB / 0.7184 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.6728, allocations: 43.92 kB / 0.7184 GB, free: 3.047 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.0003985/0.6732, allocations: 273.6 kB / 0.7187 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.6733, allocations: 75.53 kB / 0.7188 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.6758, allocations: 2.007 MB / 0.7207 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.6758, allocations: 31.97 kB / 0.7208 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6758, allocations: 0 / 0.7208 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6758, allocations: 7.984 kB / 0.7208 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.6796, allocations: 2.991 MB / 0.7237 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6796, allocations: 0 / 0.7237 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009459/0.6805, allocations: 191.7 kB / 0.7239 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.6822, allocations: 299.9 kB / 0.7242 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.6823, allocations: 19.98 kB / 0.7242 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.6842, allocations: 2.172 MB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6842, allocations: 0 / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.6867, allocations: 1.953 MB / 0.7282 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.687, allocations: 224.2 kB / 0.7284 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6871, allocations: 36.8 kB / 0.7285 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.6875, allocations: 19.98 kB / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.6876, allocations: 24.41 kB / 0.7285 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.6876, allocations: 19.98 kB / 0.7285 GB, free: 8.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007823/0.6884, allocations: 0.5811 MB / 0.7291 GB, free: 7.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6884, allocations: 0 / 0.7291 GB, free: 7.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003373/0.6918, allocations: 1.1 MB / 0.7302 GB, free: 6.738 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.007174/0.699, allocations: 3.586 MB / 0.7337 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.701, allocations: 0.9016 MB / 0.7345 GB, free: 2.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.701, allocations: 8 kB / 0.7346 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.7023, allocations: 0.5928 MB / 0.7351 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.7043, allocations: 401.2 kB / 0.7355 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.7165, allocations: 8.282 MB / 0.7436 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.7172, allocations: 1.093 MB / 0.7447 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007888/0.718, allocations: 349.5 kB / 0.745 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.7184, allocations: 375.3 kB / 0.7454 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.7184, allocations: 0 / 0.7454 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/0.8228, allocations: 55.74 MB / 0.7998 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.65, allocations: 5.828 kB / 0.7998 GB, free: 15.12 MB / 0.6231 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.724847664125264] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 16.78273576684296 16.808894546 16.276850406 Calling exit ...