Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002801/0.002807, allocations: 349.9 kB / 15.94 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.858/3.858, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003537/0.003537, allocations: 218.1 kB / 397.9 MB, free: 4.973 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.4762/0.4762, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006858/0.000686, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09478, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.17/8.264, allocations: 2.516 GB / 3.123 GB, free: 11.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/8.265, allocations: 93.83 kB / 3.123 GB, free: 11.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.678/10.94, allocations: 468.3 MB / 3.58 GB, free: 36.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.236e-06/10.94, allocations: 3.062 kB / 3.58 GB, free: 36.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.04e-05/10.94, allocations: 25.95 kB / 3.58 GB, free: 36.57 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.008099/10.95, allocations: 1.749 MB / 3.582 GB, free: 35.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/10.95, allocations: 7.688 kB / 3.582 GB, free: 35.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/10.95, allocations: 321.6 kB / 3.582 GB, free: 35.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/10.96, allocations: 0.6021 MB / 3.583 GB, free: 35.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/10.96, allocations: 111.4 kB / 3.583 GB, free: 35.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/10.96, allocations: 67.34 kB / 3.583 GB, free: 35.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/10.96, allocations: 1.158 MB / 3.584 GB, free: 34.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/10.96, allocations: 7.531 kB / 3.584 GB, free: 34.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/10.96, allocations: 23.66 kB / 3.584 GB, free: 34.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/10.96, allocations: 54.48 kB / 3.584 GB, free: 34.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/10.96, allocations: 0.8317 MB / 3.585 GB, free: 34.2 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.00832/10.97, allocations: 5.482 MB / 3.59 GB, free: 29.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/10.97, allocations: 0.5614 MB / 3.591 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/10.97, allocations: 220 kB / 3.591 GB, free: 29.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1587/11.13, allocations: 48.9 MB / 3.639 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/11.13, allocations: 45.55 kB / 3.639 GB, free: 13.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 2.855e-06/11.13, allocations: 8 kB / 3.639 GB, free: 13.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.007947/11.14, allocations: 1.911 MB / 3.641 GB, free: 11.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/11.14, allocations: 174.2 kB / 3.641 GB, free: 11.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/11.14, allocations: 0.6102 MB / 3.642 GB, free: 11.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/11.14, allocations: 33.7 kB / 3.642 GB, free: 11.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/11.14, allocations: 407.4 kB / 3.642 GB, free: 10.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/11.14, allocations: 169.3 kB / 3.642 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/11.14, allocations: 16 kB / 3.642 GB, free: 10.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/11.14, allocations: 379.3 kB / 3.643 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/11.14, allocations: 223.6 kB / 3.643 GB, free: 10.08 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/11.14, allocations: 0.5922 MB / 3.643 GB, free: 9.359 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/11.14, allocations: 342 kB / 3.644 GB, free: 9.047 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/11.14, allocations: 4 kB / 3.644 GB, free: 9.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002297/11.15, allocations: 0.8872 MB / 3.645 GB, free: 8.227 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/11.15, allocations: 12.25 kB / 3.645 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/11.15, allocations: 12 kB / 3.645 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/11.15, allocations: 67.45 kB / 3.645 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/11.15, allocations: 290 kB / 3.645 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/11.15, allocations: 1.982 MB / 3.647 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/11.15, allocations: 59.27 kB / 3.647 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/11.15, allocations: 47.33 kB / 3.647 GB, free: 5.738 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006406/11.15, allocations: 275.5 kB / 3.647 GB, free: 5.477 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/11.15, allocations: 67.25 kB / 3.647 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/11.16, allocations: 2.223 MB / 3.649 GB, free: 3.395 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/11.16, allocations: 26.97 kB / 3.649 GB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/11.16, allocations: 0 / 3.649 GB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/11.16, allocations: 7.609 kB / 3.649 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006207/11.16, allocations: 3.277 MB / 3.653 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/11.16, allocations: 0.875 kB / 3.653 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/11.17, allocations: 191.8 kB / 3.653 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3447/11.51, allocations: 89.22 kB / 3.653 GB, free: 59.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/11.51, allocations: 12.09 kB / 3.653 GB, free: 59.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/11.51, allocations: 1.991 MB / 3.655 GB, free: 57.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/11.51, allocations: 2.438 kB / 3.655 GB, free: 57.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/11.52, allocations: 1.978 MB / 3.657 GB, free: 57.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/11.52, allocations: 285.4 kB / 3.657 GB, free: 57.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/11.52, allocations: 12.81 kB / 3.657 GB, free: 57.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/11.52, allocations: 62.67 kB / 3.657 GB, free: 57.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/11.52, allocations: 33.78 kB / 3.657 GB, free: 57.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/11.52, allocations: 23.92 kB / 3.657 GB, free: 57.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001213/11.52, allocations: 0.4957 MB / 3.658 GB, free: 57.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.011e-06/11.52, allocations: 1.312 kB / 3.658 GB, free: 57.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007513/11.53, allocations: 1.122 MB / 3.659 GB, free: 57.48 MB / 458.7 MB 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 (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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01135/11.54, allocations: 1.55 MB / 3.66 GB, free: 57.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003234/11.54, allocations: 0.9358 MB / 3.661 GB, free: 57.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/11.54, allocations: 4.969 kB / 3.661 GB, free: 57.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002159/11.54, allocations: 0.6709 MB / 3.662 GB, free: 57.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/11.55, allocations: 365.1 kB / 3.662 GB, free: 57.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/11.55, allocations: 2.71 MB / 3.665 GB, free: 56.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/11.55, allocations: 1.14 MB / 3.666 GB, free: 55.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001741/11.56, allocations: 450.5 kB / 3.666 GB, free: 55.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/11.56, allocations: 61.47 kB / 3.666 GB, free: 55.55 MB / 458.7 MB Notification: Performance of SimCode: time 2.655e-06/11.56, allocations: 0 / 3.666 GB, free: 55.55 MB / 458.7 MB Notification: Performance of Templates: time 0.09825/11.65, allocations: 41.76 MB / 3.707 GB, free: 54.68 MB / 458.7 MB