Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.IdealSteam,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.IdealSteam") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002812/0.002812, allocations: 349.8 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.598/3.598, allocations: 341.5 MB / 358.2 MB, free: 28.64 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003864/0.003863, allocations: 221.8 kB / 397.8 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4962/0.4962, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004646, allocations: 12 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09654, allocations: 48.71 MB / 0.6067 GB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.567/1.663, allocations: 0.4977 GB / 1.104 GB, free: 41.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/1.664, allocations: 101 kB / 1.105 GB, free: 41.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638/3.301, allocations: 233.6 MB / 1.333 GB, free: 83.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.555e-06/3.302, allocations: 0 / 1.333 GB, free: 83.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.112e-05/3.302, allocations: 20.77 kB / 1.333 GB, free: 83.76 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003897/3.306, allocations: 1.182 MB / 1.334 GB, free: 83.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/3.306, allocations: 8.812 kB / 1.334 GB, free: 83.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/3.307, allocations: 139.5 kB / 1.334 GB, free: 83.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/3.309, allocations: 0.553 MB / 1.334 GB, free: 83.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/3.309, allocations: 103 kB / 1.335 GB, free: 83.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/3.309, allocations: 53.69 kB / 1.335 GB, free: 83.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/3.311, allocations: 0.8058 MB / 1.335 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/3.311, allocations: 10.98 kB / 1.335 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/3.311, allocations: 23.38 kB / 1.335 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.832e-05/3.311, allocations: 41.39 kB / 1.335 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/3.313, allocations: 0.6139 MB / 1.336 GB, free: 82.79 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.006371/3.319, allocations: 3.914 MB / 1.34 GB, free: 80.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/3.32, allocations: 331.2 kB / 1.34 GB, free: 80.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/3.321, allocations: 169.9 kB / 1.34 GB, free: 80.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/3.321, allocations: 361.2 kB / 1.341 GB, free: 79.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/3.321, allocations: 44.03 kB / 1.341 GB, free: 79.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.025e-06/3.321, allocations: 0 / 1.341 GB, free: 79.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.008972/3.33, allocations: 1.627 MB / 1.342 GB, free: 79.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/3.33, allocations: 132.1 kB / 1.342 GB, free: 79.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009265/3.331, allocations: 0.5997 MB / 1.343 GB, free: 79.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/3.331, allocations: 41.23 kB / 1.343 GB, free: 79.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/3.332, allocations: 367.9 kB / 1.343 GB, free: 78.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/3.332, allocations: 149 kB / 1.344 GB, free: 78.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/3.332, allocations: 13.88 kB / 1.344 GB, free: 78.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/3.332, allocations: 380.7 kB / 1.344 GB, free: 78.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/3.333, allocations: 195.9 kB / 1.344 GB, free: 78.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/3.333, allocations: 0.5323 MB / 1.345 GB, free: 78.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/3.334, allocations: 303.2 kB / 1.345 GB, free: 78.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/3.334, allocations: 2.406 kB / 1.345 GB, free: 78.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002423/3.337, allocations: 0.884 MB / 1.346 GB, free: 78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/3.337, allocations: 9.625 kB / 1.346 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/3.337, allocations: 11.81 kB / 1.346 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/3.339, allocations: 310.5 kB / 1.346 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/3.34, allocations: 133 kB / 1.346 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/3.342, allocations: 0.9054 MB / 1.347 GB, free: 77.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/3.343, allocations: 47.03 kB / 1.347 GB, free: 77.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/3.343, allocations: 71.72 kB / 1.347 GB, free: 77.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000539/3.343, allocations: 246.8 kB / 1.348 GB, free: 77.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/3.344, allocations: 71.19 kB / 1.348 GB, free: 77.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/3.346, allocations: 0.6705 MB / 1.348 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/3.346, allocations: 3.656 kB / 1.348 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/3.346, allocations: 1.062 kB / 1.348 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/3.346, allocations: 0.9688 kB / 1.348 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/3.349, allocations: 1.605 MB / 1.35 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/3.349, allocations: 5.562 kB / 1.35 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/3.351, allocations: 201.9 kB / 1.35 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/3.352, allocations: 29.5 kB / 1.35 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/3.352, allocations: 17.03 kB / 1.35 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/3.354, allocations: 2.686 MB / 1.353 GB, free: 73.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/3.354, allocations: 7.438 kB / 1.353 GB, free: 73.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/3.356, allocations: 0.7888 MB / 1.353 GB, free: 73.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/3.357, allocations: 187.3 kB / 1.354 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/3.357, allocations: 14.16 kB / 1.354 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/3.357, allocations: 27.17 kB / 1.354 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/3.358, allocations: 40.19 kB / 1.354 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/3.358, allocations: 49.08 kB / 1.354 GB, free: 73.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009043/3.359, allocations: 413.8 kB / 1.354 GB, free: 73.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.359, allocations: 0 / 1.354 GB, free: 73.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002072/3.361, allocations: 386.4 kB / 1.355 GB, free: 73.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002628/3.363, allocations: 1.026 MB / 1.356 GB, free: 73.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/3.366, allocations: 0.5415 MB / 1.356 GB, free: 73.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/3.366, allocations: 6.625 kB / 1.356 GB, free: 73.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/3.367, allocations: 411.2 kB / 1.356 GB, free: 73.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/3.37, allocations: 325.7 kB / 1.357 GB, free: 73.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/3.375, allocations: 1.98 MB / 1.359 GB, free: 72.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/3.376, allocations: 0.947 MB / 1.36 GB, free: 71.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001863/3.378, allocations: 267.2 kB / 1.36 GB, free: 71.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/3.378, allocations: 99.03 kB / 1.36 GB, free: 71.75 MB / 442.7 MB Notification: Performance of SimCode: time 2.465e-06/3.378, allocations: 3.969 kB / 1.36 GB, free: 71.75 MB / 442.7 MB Notification: Performance of Templates: time 0.06707/3.445, allocations: 26.75 MB / 1.386 GB, free: 70.72 MB / 442.7 MB