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_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.001394/0.001394, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001527/0.001527, allocations: 221.5 kB / 22.92 MB, free: 5.539 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.278/1.278, allocations: 230.2 MB / 256.2 MB, free: 8.766 MB / 206.1 MB " [Timeout remaining time 179] 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.1941/0.1941, allocations: 46.88 MB / 359.3 MB, free: 4.992 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_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_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.002171/0.002171, allocations: 83.88 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2529, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04006/0.2929, allocations: 39.75 MB / 0.5972 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.3155, allocations: 20.32 MB / 0.6171 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005914/0.316, allocations: 23.88 kB / 0.6171 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3171, allocations: 453.3 kB / 0.6175 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.3285, allocations: 5.15 MB / 0.6226 GB, free: 3.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005807/0.3343, allocations: 2.582 MB / 0.6251 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002348/0.3366, allocations: 1.985 MB / 0.627 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.3373, allocations: 417.5 kB / 0.6274 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007535/0.3448, allocations: 4.191 MB / 0.6315 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009442/0.3542, allocations: 5.498 MB / 0.6369 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.3544, allocations: 72 kB / 0.637 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/0.3667, allocations: 7.403 MB / 0.6442 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.367, allocations: 295.1 kB / 0.6445 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.3676, allocations: 457.9 kB / 0.6449 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007962/0.3756, allocations: 5.12 MB / 0.6499 GB, free: 7.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3756, allocations: 4 kB / 0.6499 GB, free: 7.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3756, allocations: 4 kB / 0.6499 GB, free: 7.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.3756, allocations: 0 / 0.6499 GB, free: 7.137 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.003913/0.3795, allocations: 1.734 MB / 0.6516 GB, free: 5.348 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3795, allocations: 12.03 kB / 0.6516 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.3797, allocations: 110.6 kB / 0.6517 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.3818, allocations: 308.1 kB / 0.652 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.3826, allocations: 0.5837 MB / 0.6526 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.3827, allocations: 121.2 kB / 0.6527 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3828, allocations: 63.94 kB / 0.6528 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.3853, allocations: 1.193 MB / 0.6539 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.3853, allocations: 3.938 kB / 0.6539 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.3854, allocations: 31.97 kB / 0.654 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.3855, allocations: 45.3 kB / 0.654 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.388, allocations: 1.027 MB / 0.655 GB, free: 1.695 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.006053/0.394, allocations: 5.615 MB / 0.6605 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.3962, allocations: 0.7353 MB / 0.6612 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.3968, allocations: 281.5 kB / 0.6615 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03259/0.4294, allocations: 17.36 MB / 0.6784 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.4294, allocations: 42.5 kB / 0.6785 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 1.814e-06/0.4294, allocations: 0 / 0.6785 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.006473/0.4359, allocations: 2.291 MB / 0.6807 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.436, allocations: 166.6 kB / 0.6809 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007151/0.4367, allocations: 0.6094 MB / 0.6815 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.4367, allocations: 37.7 kB / 0.6815 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.437, allocations: 400.3 kB / 0.6819 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.4372, allocations: 178.5 kB / 0.682 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4374, allocations: 158.6 kB / 0.6822 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4375, allocations: 374.8 kB / 0.6826 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.4381, allocations: 285.8 kB / 0.6828 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.439, allocations: 0.6044 MB / 0.6834 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.4404, allocations: 0.9026 MB / 0.6843 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4404, allocations: 0 / 0.6843 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001817/0.4423, allocations: 0.9691 MB / 0.6852 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4423, allocations: 11.98 kB / 0.6853 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4423, allocations: 12 kB / 0.6853 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.4425, allocations: 56.83 kB / 0.6853 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4438, allocations: 303.8 kB / 0.6856 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.4453, allocations: 2.075 MB / 0.6876 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.4458, allocations: 47.97 kB / 0.6877 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.4459, allocations: 43.98 kB / 0.6877 GB, free: 13.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.0003279/0.4462, allocations: 273.6 kB / 0.688 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.4464, allocations: 75.52 kB / 0.6881 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.4494, allocations: 2.552 MB / 0.6906 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.4495, allocations: 31.95 kB / 0.6906 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4495, allocations: 3.984 kB / 0.6906 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4495, allocations: 4.031 kB / 0.6906 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/0.4538, allocations: 3.769 MB / 0.6943 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4538, allocations: 0 / 0.6943 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.4549, allocations: 227.7 kB / 0.6945 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.4552, allocations: 84.78 kB / 0.6946 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.4552, allocations: 12 kB / 0.6946 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.4567, allocations: 2.091 MB / 0.6966 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4567, allocations: 12.03 kB / 0.6966 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.4596, allocations: 2.355 MB / 0.6989 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.4599, allocations: 259.9 kB / 0.6992 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.46, allocations: 39.73 kB / 0.6992 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.4605, allocations: 31.97 kB / 0.6993 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4606, allocations: 48.56 kB / 0.6993 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.4606, allocations: 23.98 kB / 0.6993 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006604/0.4613, allocations: 0.5576 MB / 0.6999 GB, free: 284 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4613, allocations: 4 kB / 0.6999 GB, free: 280 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002665/0.4639, allocations: 1.096 MB / 0.7009 GB, free: 15.18 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.007187/0.4711, allocations: 4.03 MB / 0.7049 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.4734, allocations: 1.081 MB / 0.7059 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4734, allocations: 0 / 0.7059 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.4748, allocations: 0.7386 MB / 0.7067 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.4766, allocations: 409.4 kB / 0.707 GB, free: 8.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.4888, allocations: 8.713 MB / 0.7156 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.4895, allocations: 1.161 MB / 0.7167 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007507/0.4903, allocations: 434.1 kB / 0.7171 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.4908, allocations: 443.3 kB / 0.7175 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.4908, allocations: 0 / 0.7175 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2785/0.7693, allocations: 58.61 MB / 0.7748 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.96, allocations: 15.84 kB / 0.7748 GB, free: 125.5 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.47761989099672]