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_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002843/0.002842, allocations: 360.2 kB / 15.95 MB, free: 6.207 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.986/3.986, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00349/0.00349, allocations: 228.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5189/0.5189, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006041/0.0006043, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09824, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.134/8.233, allocations: 2.627 GB / 3.307 GB, free: 17.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/8.233, allocations: 104.4 kB / 3.307 GB, free: 17.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.029/11.26, allocations: 477.3 MB / 3.773 GB, free: 47.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/11.26, allocations: 3.125 kB / 3.773 GB, free: 47.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.796e-05/11.26, allocations: 22.28 kB / 3.773 GB, free: 47.49 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.0088/11.27, allocations: 1.835 MB / 3.775 GB, free: 46.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/11.27, allocations: 11.11 kB / 3.775 GB, free: 46.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/11.27, allocations: 330.5 kB / 3.775 GB, free: 46.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/11.28, allocations: 0.599 MB / 3.776 GB, free: 46.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/11.28, allocations: 113.3 kB / 3.776 GB, free: 46.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/11.28, allocations: 69.3 kB / 3.776 GB, free: 46.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/11.28, allocations: 1.212 MB / 3.777 GB, free: 46.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/11.28, allocations: 6.25 kB / 3.777 GB, free: 46.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/11.28, allocations: 32.72 kB / 3.777 GB, free: 46.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/11.28, allocations: 49.77 kB / 3.777 GB, free: 46.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00459/11.29, allocations: 1.047 MB / 3.778 GB, free: 46.02 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.01001/11.3, allocations: 5.594 MB / 3.784 GB, free: 42.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/11.3, allocations: 0.7853 MB / 3.784 GB, free: 42.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/11.3, allocations: 297.9 kB / 3.785 GB, free: 42.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07513/11.38, allocations: 18.82 MB / 3.803 GB, free: 30.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/11.38, allocations: 38.16 kB / 3.803 GB, free: 30.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 5.199e-06/11.38, allocations: 0 / 3.803 GB, free: 30.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.01715/11.39, allocations: 2.358 MB / 3.805 GB, free: 30.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/11.39, allocations: 161.6 kB / 3.806 GB, free: 29.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/11.4, allocations: 0.5999 MB / 3.806 GB, free: 29.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/11.4, allocations: 33.14 kB / 3.806 GB, free: 29.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/11.4, allocations: 397.6 kB / 3.807 GB, free: 29.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/11.4, allocations: 179.2 kB / 3.807 GB, free: 29.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/11.4, allocations: 14.25 kB / 3.807 GB, free: 29.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/11.4, allocations: 378.2 kB / 3.807 GB, free: 29.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/11.4, allocations: 291.7 kB / 3.807 GB, free: 29.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/11.4, allocations: 0.6387 MB / 3.808 GB, free: 28.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/11.4, allocations: 387.3 kB / 3.808 GB, free: 28.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/11.4, allocations: 3.969 kB / 3.808 GB, free: 28.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005109/11.41, allocations: 1.007 MB / 3.809 GB, free: 28.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/11.41, allocations: 15.39 kB / 3.809 GB, free: 28.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/11.41, allocations: 9.719 kB / 3.809 GB, free: 28.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/11.41, allocations: 69.48 kB / 3.81 GB, free: 28.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/11.41, allocations: 317.6 kB / 3.81 GB, free: 28.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/11.42, allocations: 1.973 MB / 3.812 GB, free: 26.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/11.42, allocations: 85.89 kB / 3.812 GB, free: 26.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/11.42, allocations: 45.19 kB / 3.812 GB, free: 26.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0009227/11.42, allocations: 278.1 kB / 3.812 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/11.42, allocations: 73.25 kB / 3.812 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007528/11.43, allocations: 2.598 MB / 3.815 GB, free: 25.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.304e-05/11.43, allocations: 32.2 kB / 3.815 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/11.43, allocations: 11.31 kB / 3.815 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/11.43, allocations: 3.422 kB / 3.815 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/11.44, allocations: 3.787 MB / 3.818 GB, free: 23.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/11.44, allocations: 3.938 kB / 3.819 GB, free: 23.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/11.44, allocations: 242.8 kB / 3.819 GB, free: 23.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009849/11.44, allocations: 96.05 kB / 3.819 GB, free: 23.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/11.44, allocations: 14.89 kB / 3.819 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/11.44, allocations: 1.994 MB / 3.821 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/11.44, allocations: 7.297 kB / 3.821 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006844/11.45, allocations: 2.359 MB / 3.823 GB, free: 20.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/11.45, allocations: 327.1 kB / 3.823 GB, free: 20.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/11.45, allocations: 19.69 kB / 3.823 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/11.46, allocations: 58.25 kB / 3.823 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/11.46, allocations: 56 kB / 3.824 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/11.46, allocations: 14.91 kB / 3.824 GB, free: 20.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001016/11.46, allocations: 0.5464 MB / 3.824 GB, free: 20.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/11.46, allocations: 2.078 kB / 3.824 GB, free: 20.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006464/11.46, allocations: 1.135 MB / 3.825 GB, free: 19.97 MB / 490.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01125/11.47, allocations: 1.536 MB / 3.827 GB, free: 19.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004012/11.48, allocations: 1.126 MB / 3.828 GB, free: 19.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/11.48, allocations: 1.125 kB / 3.828 GB, free: 19.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/11.48, allocations: 0.8184 MB / 3.829 GB, free: 18.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/11.48, allocations: 374.5 kB / 3.829 GB, free: 18.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/11.49, allocations: 3.037 MB / 3.832 GB, free: 17.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/11.49, allocations: 1.188 MB / 3.833 GB, free: 16.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001549/11.49, allocations: 442.5 kB / 3.834 GB, free: 16.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/11.49, allocations: 65.19 kB / 3.834 GB, free: 16.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/11.49, allocations: 0 / 3.834 GB, free: 16.49 MB / 490.7 MB Notification: Performance of Templates: time 0.09193/11.58, allocations: 42.87 MB / 3.875 GB, free: 1.293 MB / 490.7 MB