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.001403/0.001403, 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.001507/0.001507, allocations: 222.9 kB / 22.92 MB, free: 5.535 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.292/1.292, allocations: 230.2 MB / 256.1 MB, free: 8.746 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.1998/0.1998, allocations: 46.88 MB / 359.3 MB, free: 4.977 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.002185/0.002185, allocations: 83.86 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2572, allocations: 65.97 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04051/0.2977, allocations: 39.75 MB / 0.5972 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02438/0.3221, allocations: 20.33 MB / 0.6171 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.3228, allocations: 19.88 kB / 0.6171 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.324, allocations: 449.2 kB / 0.6175 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.3358, allocations: 5.142 MB / 0.6226 GB, free: 3.312 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006124/0.3419, allocations: 2.582 MB / 0.6251 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002496/0.3444, allocations: 2.008 MB / 0.627 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007203/0.3451, allocations: 425.6 kB / 0.6275 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008627/0.3538, allocations: 4.191 MB / 0.6315 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.3645, allocations: 5.487 MB / 0.6369 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.3647, allocations: 72 kB / 0.637 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.3776, allocations: 7.411 MB / 0.6442 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.378, allocations: 303.1 kB / 0.6445 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006268/0.3786, allocations: 458 kB / 0.6449 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008666/0.3873, allocations: 5.14 MB / 0.65 GB, free: 7.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3873, allocations: 0 / 0.65 GB, free: 7.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3873, allocations: 0 / 0.65 GB, free: 7.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.3873, allocations: 0 / 0.65 GB, free: 7.078 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.004019/0.3914, allocations: 1.71 MB / 0.6516 GB, free: 5.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3914, allocations: 12.03 kB / 0.6516 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.3915, allocations: 110.7 kB / 0.6517 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.3936, allocations: 304.2 kB / 0.652 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.3945, allocations: 0.5915 MB / 0.6526 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.3946, allocations: 117.2 kB / 0.6527 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.3947, allocations: 59.94 kB / 0.6528 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.3969, allocations: 1.154 MB / 0.6539 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.397, allocations: 11.88 kB / 0.6539 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.397, allocations: 32 kB / 0.6539 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.3971, allocations: 45.28 kB / 0.654 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.3987, allocations: 0.8401 MB / 0.6548 GB, free: 1.883 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.005787/0.4045, allocations: 5.502 MB / 0.6602 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.4057, allocations: 0.5703 MB / 0.6607 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.406, allocations: 217.6 kB / 0.6609 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09839/0.5044, allocations: 51.53 MB / 0.7113 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.5045, allocations: 38.56 kB / 0.7113 GB, free: 1.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 5.38e-06/0.5045, allocations: 3.984 kB / 0.7113 GB, free: 1.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=46): time 0.005121/0.5096, allocations: 1.95 MB / 0.7132 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.5097, allocations: 174.2 kB / 0.7134 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.5105, allocations: 0.6095 MB / 0.714 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.5105, allocations: 37.7 kB / 0.714 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.5108, allocations: 404.2 kB / 0.7144 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.511, allocations: 182.5 kB / 0.7146 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.5112, allocations: 158.6 kB / 0.7147 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.5114, allocations: 374.8 kB / 0.7151 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.5118, allocations: 225.9 kB / 0.7153 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.5124, allocations: 0.5718 MB / 0.7159 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5135, allocations: 0.8368 MB / 0.7167 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5135, allocations: 4 kB / 0.7167 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001382/0.5149, allocations: 0.8716 MB / 0.7175 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5149, allocations: 12.22 kB / 0.7175 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.515, allocations: 12 kB / 0.7175 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.5152, allocations: 60.83 kB / 0.7176 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.5163, allocations: 279.6 kB / 0.7179 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.518, allocations: 2.075 MB / 0.7199 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.5184, allocations: 31.98 kB / 0.7199 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.5184, allocations: 40 kB / 0.72 GB, free: 7.773 MB / 0.5606 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.0003373/0.5188, allocations: 265.5 kB / 0.7202 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.5189, allocations: 75.53 kB / 0.7203 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.5214, allocations: 2.213 MB / 0.7225 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.5214, allocations: 35.89 kB / 0.7225 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5214, allocations: 0 / 0.7225 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5214, allocations: 7.922 kB / 0.7225 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.525, allocations: 3.292 MB / 0.7257 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.525, allocations: 8.031 kB / 0.7257 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.5259, allocations: 183.8 kB / 0.7259 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/0.5262, allocations: 88.67 kB / 0.726 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.5263, allocations: 19.98 kB / 0.726 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2013/0.7276, allocations: 2.081 MB / 0.728 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7276, allocations: 0.5625 kB / 0.728 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.7299, allocations: 1.991 MB / 0.73 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.7302, allocations: 254.1 kB / 0.7302 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.7303, allocations: 17.36 kB / 0.7302 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.7308, allocations: 32.03 kB / 0.7303 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.7308, allocations: 36.55 kB / 0.7303 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.7309, allocations: 26.14 kB / 0.7303 GB, free: 166 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005273/0.7314, allocations: 0.5169 MB / 0.7308 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7314, allocations: 0 / 0.7308 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002394/0.7338, allocations: 1.099 MB / 0.7319 GB, free: 165.8 MB / 0.5606 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.004854/0.7387, allocations: 3.67 MB / 0.7355 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.7401, allocations: 0.9092 MB / 0.7364 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.7401, allocations: 3.281 kB / 0.7364 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009093/0.741, allocations: 0.601 MB / 0.737 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.7426, allocations: 396.1 kB / 0.7373 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.7498, allocations: 7.993 MB / 0.7451 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.7501, allocations: 1.114 MB / 0.7462 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005876/0.7507, allocations: 450.4 kB / 0.7467 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.751, allocations: 403.3 kB / 0.7471 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.751, allocations: 0 / 0.7471 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/0.8247, allocations: 56.75 MB / 0.8025 GB, free: 98.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.63, allocations: 7.797 kB / 0.8025 GB, free: 98.74 MB / 0.5606 GB " [Timeout remaining time 645] (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: 17.201685360996635]