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.001425/0.001425, allocations: 110.5 kB / 19.74 MB, free: 2.586 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.001518/0.001518, allocations: 222.4 kB / 22.92 MB, free: 5.559 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.276/1.276, allocations: 230.2 MB / 256.1 MB, free: 8.602 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.1954/0.1954, allocations: 46.89 MB / 359.3 MB, free: 4.969 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.002116/0.002116, allocations: 87.84 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2551, allocations: 65.99 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03874/0.2938, allocations: 39.75 MB / 0.5972 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0224/0.3162, allocations: 20.32 MB / 0.6171 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.3167, allocations: 19.88 kB / 0.6171 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3177, allocations: 449.3 kB / 0.6175 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.3289, allocations: 5.15 MB / 0.6226 GB, free: 3.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.3348, allocations: 2.572 MB / 0.6251 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.3372, allocations: 1.969 MB / 0.627 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.3378, allocations: 408.1 kB / 0.6274 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008995/0.3468, allocations: 4.187 MB / 0.6315 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.3578, allocations: 5.467 MB / 0.6368 GB, free: 4.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.3579, allocations: 68 kB / 0.6369 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.3703, allocations: 7.27 MB / 0.644 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.3706, allocations: 279.1 kB / 0.6443 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.3712, allocations: 453.9 kB / 0.6447 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007279/0.3785, allocations: 4.988 MB / 0.6496 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3785, allocations: 0 / 0.6496 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3785, allocations: 0 / 0.6496 GB, free: 7.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3785, allocations: 0 / 0.6496 GB, free: 7.508 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.003333/0.3818, allocations: 1.676 MB / 0.6512 GB, free: 5.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3818, allocations: 12.03 kB / 0.6512 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.382, allocations: 110.7 kB / 0.6513 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.3833, allocations: 232.2 kB / 0.6515 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008236/0.3842, allocations: 0.5642 MB / 0.6521 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.3843, allocations: 117.3 kB / 0.6522 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.3844, allocations: 63.92 kB / 0.6523 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3862, allocations: 1.071 MB / 0.6533 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3862, allocations: 0 / 0.6533 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/0.3863, allocations: 31.98 kB / 0.6533 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.3863, allocations: 48.92 kB / 0.6534 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.3879, allocations: 0.8155 MB / 0.6542 GB, free: 2.551 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.005503/0.3934, allocations: 5.563 MB / 0.6596 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.3946, allocations: 0.5231 MB / 0.6601 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.3949, allocations: 202.5 kB / 0.6603 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0982/0.4931, allocations: 52.79 MB / 0.7119 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.4931, allocations: 42.5 kB / 0.7119 GB, free: 384 kB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.754e-06/0.4931, allocations: 0 / 0.7119 GB, free: 384 kB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.005973/0.4991, allocations: 2.149 MB / 0.714 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.4992, allocations: 187.9 kB / 0.7142 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.4999, allocations: 0.6447 MB / 0.7148 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.5, allocations: 37.7 kB / 0.7148 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.5003, allocations: 404.2 kB / 0.7152 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.5004, allocations: 174.6 kB / 0.7154 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.5006, allocations: 154.6 kB / 0.7155 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5008, allocations: 382.8 kB / 0.7159 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.5012, allocations: 229.8 kB / 0.7161 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.5018, allocations: 0.5938 MB / 0.7167 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.5028, allocations: 0.8571 MB / 0.7175 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5028, allocations: 4 kB / 0.7175 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001373/0.5042, allocations: 0.9038 MB / 0.7184 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5042, allocations: 8 kB / 0.7184 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5043, allocations: 12 kB / 0.7185 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/0.5073, allocations: 273.1 kB / 0.7187 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5084, allocations: 291.5 kB / 0.719 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.5101, allocations: 2.122 MB / 0.7211 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.5105, allocations: 31.98 kB / 0.7211 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.5106, allocations: 40 kB / 0.7211 GB, free: 6.266 MB / 0.5606 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.0003189/0.5109, allocations: 273.4 kB / 0.7214 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.511, allocations: 75.53 kB / 0.7215 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.5132, allocations: 2.011 MB / 0.7234 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.5133, allocations: 23.97 kB / 0.7235 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.5133, allocations: 0 / 0.7235 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5133, allocations: 7.984 kB / 0.7235 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.5165, allocations: 2.987 MB / 0.7264 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5165, allocations: 8 kB / 0.7264 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/0.5174, allocations: 183.8 kB / 0.7266 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.519, allocations: 303.9 kB / 0.7268 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.519, allocations: 15.98 kB / 0.7269 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1891/0.7081, allocations: 2.171 MB / 0.729 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7081, allocations: 3.969 kB / 0.729 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.7103, allocations: 1.94 MB / 0.7309 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.7106, allocations: 241.1 kB / 0.7311 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.7107, allocations: 35.77 kB / 0.7311 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.7111, allocations: 13.73 kB / 0.7312 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.7111, allocations: 31.23 kB / 0.7312 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.7112, allocations: 18.52 kB / 0.7312 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005713/0.7117, allocations: 0.5701 MB / 0.7318 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7117, allocations: 0 / 0.7318 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002323/0.7141, allocations: 1.101 MB / 0.7328 GB, free: 165.4 MB / 0.5606 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.004663/0.7187, allocations: 3.606 MB / 0.7364 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.7202, allocations: 0.8958 MB / 0.7372 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7202, allocations: 1.281 kB / 0.7372 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.7211, allocations: 0.5889 MB / 0.7378 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.7228, allocations: 410.6 kB / 0.7382 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.7301, allocations: 8.284 MB / 0.7463 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7305, allocations: 1.093 MB / 0.7474 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005288/0.731, allocations: 343.3 kB / 0.7477 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.7313, allocations: 379.3 kB / 0.748 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.7313, allocations: 0 / 0.748 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07191/0.8032, allocations: 55.92 MB / 0.8027 GB, free: 98.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.51, allocations: 4 kB / 0.8027 GB, free: 98.59 MB / 0.5606 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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: 17.040356220997637]