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.001315/0.001315, allocations: 121.8 kB / 18.5 MB, free: 4.57 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.00142/0.00142, allocations: 203.3 kB / 21.45 MB, free: 1.621 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.439/1.439, 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.2317/0.2317, allocations: 46.93 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.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.002323/0.002323, allocations: 83.84 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3197/0.4524, allocations: 39.42 MB / 0.5947 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02216/0.4746, allocations: 20.23 MB / 0.6144 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.4754, allocations: 32.91 kB / 0.6144 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.4767, allocations: 448.8 kB / 0.6149 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.4906, allocations: 5.159 MB / 0.6199 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006826/0.4974, allocations: 2.557 MB / 0.6224 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002744/0.5002, allocations: 1.998 MB / 0.6244 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.5009, allocations: 444.7 kB / 0.6248 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008857/0.5098, allocations: 4.201 MB / 0.6289 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.521, allocations: 5.493 MB / 0.6343 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.5213, allocations: 71.62 kB / 0.6343 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/0.5405, allocations: 7.411 MB / 0.6416 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006659/0.5412, allocations: 295.7 kB / 0.6418 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008007/0.542, allocations: 453.6 kB / 0.6423 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.5556, allocations: 5.138 MB / 0.6473 GB, free: 3.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5556, allocations: 0 / 0.6473 GB, free: 3.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5556, allocations: 0 / 0.6473 GB, free: 3.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.5556, allocations: 0 / 0.6473 GB, free: 3.816 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.005021/0.5607, allocations: 1.71 MB / 0.649 GB, free: 2.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5607, allocations: 8.031 kB / 0.649 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.5609, allocations: 118.7 kB / 0.6491 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/0.5632, allocations: 300.1 kB / 0.6494 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5643, allocations: 0.5914 MB / 0.6499 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.5644, allocations: 117.4 kB / 0.6501 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5645, allocations: 59.94 kB / 0.6501 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.5671, allocations: 1.162 MB / 0.6512 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5671, allocations: 0 / 0.6512 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.5672, allocations: 31.98 kB / 0.6513 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.5673, allocations: 45.23 kB / 0.6513 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.5691, allocations: 0.8479 MB / 0.6521 GB, free: 14.63 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.007003/0.5761, allocations: 5.485 MB / 0.6575 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.5776, allocations: 0.5813 MB / 0.6581 GB, free: 8.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.5779, allocations: 216.8 kB / 0.6583 GB, free: 7.969 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1091/0.687, allocations: 51.52 MB / 0.7086 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.6871, allocations: 38.56 kB / 0.7086 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 5.25e-06/0.6871, allocations: 4 kB / 0.7086 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46): time 0.005802/0.6929, allocations: 1.949 MB / 0.7105 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.693, allocations: 166.2 kB / 0.7107 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.6939, allocations: 0.6211 MB / 0.7113 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.694, allocations: 37.7 kB / 0.7113 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.6943, allocations: 392.3 kB / 0.7117 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.6945, allocations: 186.5 kB / 0.7119 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.6947, allocations: 154.6 kB / 0.712 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.6949, allocations: 378.7 kB / 0.7124 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.6953, allocations: 233.8 kB / 0.7126 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/0.6961, allocations: 0.5718 MB / 0.7132 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.6973, allocations: 0.8331 MB / 0.714 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.6973, allocations: 4 kB / 0.714 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001628/0.699, allocations: 0.8674 MB / 0.7148 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.699, allocations: 15.98 kB / 0.7149 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.699, allocations: 8 kB / 0.7149 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.6993, allocations: 65.33 kB / 0.7149 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.7006, allocations: 279.6 kB / 0.7152 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.7025, allocations: 2.066 MB / 0.7172 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.703, allocations: 39.83 kB / 0.7173 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.7031, allocations: 44.17 kB / 0.7173 GB, free: 4.562 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.0005148/0.7036, allocations: 277.4 kB / 0.7176 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.7039, allocations: 71.58 kB / 0.7176 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.7069, allocations: 2.213 MB / 0.7198 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.7069, allocations: 35.98 kB / 0.7198 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7069, allocations: 3.938 kB / 0.7198 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.7069, allocations: 3.984 kB / 0.7198 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/0.7111, allocations: 3.285 MB / 0.723 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.7111, allocations: 3.938 kB / 0.723 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009829/0.7121, allocations: 191.8 kB / 0.7232 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/0.7125, allocations: 80.78 kB / 0.7233 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.7125, allocations: 16 kB / 0.7233 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.7143, allocations: 2.094 MB / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.7143, allocations: 0 / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.7168, allocations: 1.983 MB / 0.7273 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.7171, allocations: 260 kB / 0.7275 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7173, allocations: 19.84 kB / 0.7276 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.7178, allocations: 36.12 kB / 0.7276 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.7179, allocations: 33.39 kB / 0.7276 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.7179, allocations: 27.92 kB / 0.7277 GB, free: 9.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007093/0.7186, allocations: 0.5107 MB / 0.7282 GB, free: 9.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7186, allocations: 4 kB / 0.7282 GB, free: 9.125 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003496/0.7221, allocations: 1.1 MB / 0.7292 GB, free: 8.023 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.008222/0.7304, allocations: 3.651 MB / 0.7328 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.7325, allocations: 0.9045 MB / 0.7337 GB, free: 3.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.7325, allocations: 8.062 kB / 0.7337 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.7337, allocations: 0.5974 MB / 0.7343 GB, free: 2.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.7359, allocations: 396.4 kB / 0.7347 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.749, allocations: 7.995 MB / 0.7425 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/0.7498, allocations: 1.121 MB / 0.7436 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009114/0.7507, allocations: 442 kB / 0.744 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.7512, allocations: 399.3 kB / 0.7444 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.7512, allocations: 0 / 0.7444 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/0.8603, allocations: 56.55 MB / 0.7996 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.7, allocations: 18.27 kB / 0.7996 GB, free: 15.75 MB / 0.6231 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.70116002485156] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.h'] 16.836889979895204 16.862073801 16.301671612 Calling exit ...