Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004041/0.004046, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.946/3.946, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003561/0.00356, allocations: 224.8 kB / 451 MB, free: 2.383 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7588/0.7588, allocations: 80.01 MB / 0.5627 GB, free: 5.98 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005045, allocations: 15.94 kB / 0.6265 GB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 54.88 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.214/8.335, allocations: 2.625 GB / 3.305 GB, free: 25.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/8.336, allocations: 101.1 kB / 3.305 GB, free: 25.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.032/11.37, allocations: 475 MB / 3.769 GB, free: 42.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.043e-06/11.37, allocations: 0 / 3.769 GB, free: 42.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.969e-05/11.37, allocations: 16.47 kB / 3.769 GB, free: 42.69 MB / 490.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.008908/11.38, allocations: 1.777 MB / 3.771 GB, free: 41.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/11.38, allocations: 9.984 kB / 3.771 GB, free: 41.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/11.38, allocations: 234.8 kB / 3.771 GB, free: 41.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/11.38, allocations: 0.5909 MB / 3.772 GB, free: 41.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/11.38, allocations: 108.6 kB / 3.772 GB, free: 41.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/11.38, allocations: 62.33 kB / 3.772 GB, free: 41.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/11.39, allocations: 1.066 MB / 3.773 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/11.39, allocations: 4.406 kB / 3.773 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/11.39, allocations: 36.47 kB / 3.773 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/11.39, allocations: 45.91 kB / 3.773 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/11.39, allocations: 0.803 MB / 3.774 GB, free: 41.24 MB / 490.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.009078/11.4, allocations: 5.517 MB / 3.779 GB, free: 37.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/11.4, allocations: 0.5191 MB / 3.78 GB, free: 37.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/11.4, allocations: 205.6 kB / 3.78 GB, free: 37.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.173/11.57, allocations: 53.35 MB / 3.832 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.736e-05/11.57, allocations: 42.16 kB / 3.832 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.808e-06/11.57, allocations: 0 / 3.832 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.008871/11.58, allocations: 2.088 MB / 3.834 GB, free: 35.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/11.58, allocations: 191.8 kB / 3.834 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/11.58, allocations: 0.6246 MB / 3.835 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/11.58, allocations: 35.42 kB / 3.835 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/11.58, allocations: 410.7 kB / 3.835 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/11.58, allocations: 159.1 kB / 3.836 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/11.58, allocations: 16.44 kB / 3.836 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000216/11.58, allocations: 375.2 kB / 3.836 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/11.59, allocations: 233.8 kB / 3.836 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/11.59, allocations: 0.6029 MB / 3.837 GB, free: 33.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007644/11.59, allocations: 344.5 kB / 3.837 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/11.59, allocations: 3.875 kB / 3.837 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002243/11.59, allocations: 0.9211 MB / 3.838 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/11.59, allocations: 11.47 kB / 3.838 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/11.59, allocations: 11.47 kB / 3.838 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/11.6, allocations: 275.8 kB / 3.838 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/11.6, allocations: 284.7 kB / 3.838 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/11.6, allocations: 2.014 MB / 3.84 GB, free: 31.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/11.6, allocations: 70.14 kB / 3.841 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/11.6, allocations: 45.81 kB / 3.841 GB, free: 31.66 MB / 0.5105 GB 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.0006549/11.6, allocations: 279.5 kB / 3.841 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/11.6, allocations: 71.7 kB / 3.841 GB, free: 31.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/11.61, allocations: 2.015 MB / 3.843 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/11.61, allocations: 24.83 kB / 3.843 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/11.61, allocations: 3.031 kB / 3.843 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/11.61, allocations: 7.594 kB / 3.843 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/11.61, allocations: 2.977 MB / 3.846 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/11.61, allocations: 3.812 kB / 3.846 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/11.61, allocations: 181.6 kB / 3.846 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/11.62, allocations: 310 kB / 3.846 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/11.62, allocations: 13.38 kB / 3.846 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/11.62, allocations: 2.08 MB / 3.848 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/11.62, allocations: 0 / 3.848 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/11.62, allocations: 1.928 MB / 3.85 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/11.62, allocations: 287.7 kB / 3.85 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/11.62, allocations: 8.031 kB / 3.851 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/11.62, allocations: 38.98 kB / 3.851 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/11.62, allocations: 35.27 kB / 3.851 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/11.62, allocations: 19.72 kB / 3.851 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00109/11.63, allocations: 0.551 MB / 3.851 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/11.63, allocations: 0 / 3.851 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006505/11.63, allocations: 1.136 MB / 3.852 GB, free: 28.09 MB / 0.5105 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 (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.01057/11.64, allocations: 1.563 MB / 3.854 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003161/11.65, allocations: 0.922 MB / 3.855 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/11.65, allocations: 0 / 3.855 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/11.65, allocations: 0.6318 MB / 3.855 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/11.65, allocations: 370.1 kB / 3.856 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/11.66, allocations: 2.592 MB / 3.858 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009115/11.66, allocations: 1.116 MB / 3.859 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00149/11.66, allocations: 345.5 kB / 3.86 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/11.66, allocations: 65.36 kB / 3.86 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/11.66, allocations: 4 kB / 3.86 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.08769/11.75, allocations: 41.66 MB / 3.9 GB, free: 9.047 MB / 0.5105 GB