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.001285/0.001285, allocations: 105 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.001532/0.001532, allocations: 216.9 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.295/1.295, allocations: 230.2 MB / 256.2 MB, free: 8.762 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.1985/0.1985, allocations: 46.88 MB / 359.3 MB, free: 4.98 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.002101/0.002101, allocations: 79.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2571, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03959/0.2967, allocations: 39.75 MB / 0.5972 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02321/0.3199, allocations: 20.32 MB / 0.6171 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.3205, allocations: 19.88 kB / 0.6171 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3217, allocations: 445.3 kB / 0.6175 GB, free: 8.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.3333, allocations: 5.15 MB / 0.6226 GB, free: 3.309 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005973/0.3392, allocations: 2.578 MB / 0.6251 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002599/0.3418, allocations: 2.008 MB / 0.627 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006767/0.3425, allocations: 433.5 kB / 0.6275 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009248/0.3518, allocations: 4.191 MB / 0.6315 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.3633, allocations: 5.49 MB / 0.6369 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.3635, allocations: 72 kB / 0.637 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/0.3771, allocations: 7.407 MB / 0.6442 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.3776, allocations: 299.1 kB / 0.6445 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.3782, allocations: 457.9 kB / 0.6449 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009998/0.3882, allocations: 5.14 MB / 0.65 GB, free: 7.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3882, allocations: 4 kB / 0.65 GB, free: 7.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3882, allocations: 0 / 0.65 GB, free: 7.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3883, allocations: 0 / 0.65 GB, free: 7.07 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.003755/0.392, allocations: 1.707 MB / 0.6516 GB, free: 5.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3921, allocations: 8.031 kB / 0.6516 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.3922, allocations: 114.7 kB / 0.6517 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.3943, allocations: 308.2 kB / 0.652 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/0.3951, allocations: 0.5876 MB / 0.6526 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3953, allocations: 113.2 kB / 0.6527 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.3953, allocations: 63.88 kB / 0.6528 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.3976, allocations: 1.162 MB / 0.6539 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3977, allocations: 3.938 kB / 0.6539 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.3978, allocations: 35.94 kB / 0.6539 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/0.3978, allocations: 45.3 kB / 0.654 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.3995, allocations: 0.844 MB / 0.6548 GB, free: 1.871 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.005863/0.4053, allocations: 5.498 MB / 0.6602 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.4065, allocations: 0.5781 MB / 0.6607 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.4069, allocations: 213.6 kB / 0.661 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09806/0.5049, allocations: 51.53 MB / 0.7113 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.505, allocations: 38.56 kB / 0.7113 GB, free: 1.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.864e-06/0.505, allocations: 0 / 0.7113 GB, free: 1.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=46): time 0.004971/0.51, allocations: 1.951 MB / 0.7132 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/0.51, allocations: 162.2 kB / 0.7134 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007182/0.5108, allocations: 0.6134 MB / 0.714 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.5108, allocations: 37.7 kB / 0.714 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.5111, allocations: 400.2 kB / 0.7144 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5112, allocations: 186.5 kB / 0.7146 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5114, allocations: 162.6 kB / 0.7147 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.5116, allocations: 374.8 kB / 0.7151 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.512, allocations: 221.9 kB / 0.7153 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.5126, allocations: 0.5756 MB / 0.7158 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5136, allocations: 0.8329 MB / 0.7167 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5136, allocations: 4 kB / 0.7167 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00132/0.515, allocations: 0.8674 MB / 0.7175 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.515, allocations: 12 kB / 0.7175 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.515, allocations: 15.98 kB / 0.7175 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.5152, allocations: 57.42 kB / 0.7176 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.5164, allocations: 291.5 kB / 0.7179 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.518, allocations: 2.075 MB / 0.7199 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.5184, allocations: 28 kB / 0.7199 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.5184, allocations: 43.98 kB / 0.72 GB, free: 7.77 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.00033/0.5187, allocations: 273.6 kB / 0.7202 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.5189, allocations: 75.53 kB / 0.7203 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.5213, allocations: 2.209 MB / 0.7225 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/0.5213, allocations: 31.89 kB / 0.7225 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5213, allocations: 4.031 kB / 0.7225 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5213, allocations: 3.984 kB / 0.7225 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.5248, allocations: 3.3 MB / 0.7257 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5248, allocations: 0 / 0.7257 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009062/0.5257, allocations: 187.8 kB / 0.7259 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.526, allocations: 84.73 kB / 0.726 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.5261, allocations: 15.94 kB / 0.726 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1939/0.7199, allocations: 2.087 MB / 0.728 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7199, allocations: 5.391 kB / 0.728 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.7225, allocations: 1.99 MB / 0.73 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.7228, allocations: 250.1 kB / 0.7302 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.7229, allocations: 22.7 kB / 0.7302 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.7234, allocations: 35.41 kB / 0.7303 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.7235, allocations: 36.75 kB / 0.7303 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.7236, allocations: 22 kB / 0.7303 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005336/0.7241, allocations: 0.5096 MB / 0.7308 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7241, allocations: 0 / 0.7308 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002368/0.7265, allocations: 1.098 MB / 0.7319 GB, free: 165.9 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.004959/0.7314, allocations: 3.67 MB / 0.7355 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.7328, allocations: 0.9006 MB / 0.7364 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7328, allocations: 2.438 kB / 0.7364 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/0.7337, allocations: 0.6107 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.00159/0.7353, allocations: 402.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.007259/0.7426, allocations: 7.989 MB / 0.7451 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.7429, allocations: 1.119 MB / 0.7462 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006087/0.7435, allocations: 451.8 kB / 0.7467 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.7438, allocations: 395.3 kB / 0.747 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.7438, allocations: 3.938 kB / 0.7471 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07429/0.8181, allocations: 56.75 MB / 0.8025 GB, free: 98.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.67, allocations: 11.73 kB / 0.8025 GB, free: 98.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.22652704900247]