Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002809/0.002808, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.558/3.558, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00353/0.00353, allocations: 218.1 kB / 397.9 MB, free: 4.895 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5059/0.5059, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007228/0.0007232, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1312, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.127/8.259, allocations: 2.514 GB / 3.121 GB, free: 11.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/8.259, allocations: 102.8 kB / 3.121 GB, free: 11.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.586/10.85, allocations: 466 MB / 3.576 GB, free: 37.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.136e-06/10.85, allocations: 0 / 3.576 GB, free: 37.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.059e-05/10.85, allocations: 15.02 kB / 3.576 GB, free: 37.08 MB / 442.7 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.008427/10.85, allocations: 1.739 MB / 3.578 GB, free: 36.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/10.85, allocations: 7.469 kB / 3.578 GB, free: 36.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/10.86, allocations: 226.1 kB / 3.578 GB, free: 36.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/10.86, allocations: 0.5861 MB / 3.579 GB, free: 35.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/10.86, allocations: 111.9 kB / 3.579 GB, free: 35.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/10.86, allocations: 61.12 kB / 3.579 GB, free: 35.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/10.86, allocations: 1.056 MB / 3.58 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/10.86, allocations: 12.97 kB / 3.58 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/10.86, allocations: 32.2 kB / 3.58 GB, free: 35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.62e-05/10.86, allocations: 48.66 kB / 3.58 GB, free: 34.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/10.86, allocations: 0.8058 MB / 3.581 GB, free: 34.73 MB / 442.7 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.007962/10.87, allocations: 5.511 MB / 3.586 GB, free: 30.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/10.87, allocations: 0.5225 MB / 3.587 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/10.87, allocations: 202.7 kB / 3.587 GB, free: 29.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1677/11.04, allocations: 53.24 MB / 3.639 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/11.04, allocations: 42.5 kB / 3.639 GB, free: 10.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.506e-06/11.04, allocations: 4 kB / 3.639 GB, free: 10.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.008993/11.05, allocations: 2.078 MB / 3.641 GB, free: 8.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/11.05, allocations: 191.9 kB / 3.641 GB, free: 8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/11.05, allocations: 0.6258 MB / 3.642 GB, free: 7.461 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/11.05, allocations: 33.7 kB / 3.642 GB, free: 7.422 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/11.05, allocations: 406.2 kB / 3.642 GB, free: 7.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/11.05, allocations: 168.4 kB / 3.642 GB, free: 6.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/11.05, allocations: 16 kB / 3.642 GB, free: 6.895 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/11.05, allocations: 377.9 kB / 3.643 GB, free: 6.539 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/11.05, allocations: 228.1 kB / 3.643 GB, free: 6.348 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/11.05, allocations: 0.6136 MB / 3.644 GB, free: 5.594 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/11.06, allocations: 349.6 kB / 3.644 GB, free: 5.289 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/11.06, allocations: 4 kB / 3.644 GB, free: 5.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002366/11.06, allocations: 0.9038 MB / 3.645 GB, free: 4.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/11.06, allocations: 8.219 kB / 3.645 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/11.06, allocations: 23.89 kB / 3.645 GB, free: 4.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006739/11.06, allocations: 264.4 kB / 3.645 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/11.07, allocations: 288.7 kB / 3.645 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3769/11.44, allocations: 2.012 MB / 3.647 GB, free: 59.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/11.45, allocations: 64.17 kB / 3.647 GB, free: 59.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/11.45, allocations: 44.56 kB / 3.647 GB, free: 59.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005869/11.45, allocations: 274.6 kB / 3.648 GB, free: 59.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/11.45, allocations: 73.91 kB / 3.648 GB, free: 59.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/11.45, allocations: 2.01 MB / 3.65 GB, free: 58.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/11.45, allocations: 29.25 kB / 3.65 GB, free: 58.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/11.45, allocations: 1.922 kB / 3.65 GB, free: 58.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/11.45, allocations: 3.422 kB / 3.65 GB, free: 58.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/11.46, allocations: 2.984 MB / 3.653 GB, free: 58.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/11.46, allocations: 1 kB / 3.653 GB, free: 58.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/11.46, allocations: 188.7 kB / 3.653 GB, free: 58.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005382/11.46, allocations: 304.3 kB / 3.653 GB, free: 58.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/11.46, allocations: 13.62 kB / 3.653 GB, free: 58.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/11.47, allocations: 2.074 MB / 3.655 GB, free: 56.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/11.47, allocations: 1.547 kB / 3.655 GB, free: 56.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/11.47, allocations: 1.931 MB / 3.657 GB, free: 56.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/11.47, allocations: 280.2 kB / 3.657 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/11.47, allocations: 14.53 kB / 3.657 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008872/11.47, allocations: 34.89 kB / 3.657 GB, free: 56.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/11.47, allocations: 31 kB / 3.657 GB, free: 56.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/11.47, allocations: 20.69 kB / 3.657 GB, free: 56.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001102/11.48, allocations: 0.5501 MB / 3.658 GB, free: 56.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/11.48, allocations: 1.156 kB / 3.658 GB, free: 56.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006334/11.48, allocations: 1.13 MB / 3.659 GB, free: 56.01 MB / 458.7 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01065/11.49, allocations: 1.554 MB / 3.661 GB, free: 55.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003444/11.5, allocations: 0.924 MB / 3.662 GB, free: 55.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/11.5, allocations: 0 / 3.662 GB, free: 55.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00222/11.5, allocations: 0.6373 MB / 3.662 GB, free: 55.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/11.5, allocations: 375 kB / 3.663 GB, free: 55.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/11.51, allocations: 2.571 MB / 3.665 GB, free: 54.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/11.51, allocations: 1.117 MB / 3.666 GB, free: 54.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001569/11.51, allocations: 356.5 kB / 3.666 GB, free: 54.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/11.51, allocations: 61.59 kB / 3.667 GB, free: 54.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.302e-06/11.51, allocations: 0 / 3.667 GB, free: 54.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0944/11.6, allocations: 41.41 MB / 3.707 GB, free: 53.23 MB / 458.7 MB