Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.IdealSteam,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.IdealSteam") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00434/0.004339, allocations: 362.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 4.013/4.013, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003534/0.003533, allocations: 231.6 kB / 451 MB, free: 145 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.5772/0.5772, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 19.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.68/1.798, allocations: 0.5044 GB / 1.184 GB, free: 93.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/1.798, allocations: 100.2 kB / 1.185 GB, free: 93.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219/3.018, allocations: 232.2 MB / 1.411 GB, free: 63.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.854e-06/3.018, allocations: 0 / 1.411 GB, free: 63.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.73e-05/3.018, allocations: 15.98 kB / 1.411 GB, free: 62.99 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003456/3.021, allocations: 1.179 MB / 1.412 GB, free: 61.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/3.021, allocations: 8.031 kB / 1.412 GB, free: 61.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/3.023, allocations: 138.9 kB / 1.413 GB, free: 61.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/3.024, allocations: 0.5598 MB / 1.413 GB, free: 61.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/3.024, allocations: 104.4 kB / 1.413 GB, free: 60.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/3.024, allocations: 47.94 kB / 1.413 GB, free: 60.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/3.026, allocations: 0.8146 MB / 1.414 GB, free: 59.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/3.026, allocations: 0 / 1.414 GB, free: 59.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/3.026, allocations: 27.98 kB / 1.414 GB, free: 59.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.482e-05/3.026, allocations: 44.94 kB / 1.414 GB, free: 59.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/3.028, allocations: 0.6165 MB / 1.415 GB, free: 59.29 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.005688/3.034, allocations: 3.928 MB / 1.419 GB, free: 55.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/3.034, allocations: 329.9 kB / 1.419 GB, free: 54.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/3.035, allocations: 165.3 kB / 1.419 GB, free: 54.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/3.035, allocations: 369.6 kB / 1.419 GB, free: 54.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/3.035, allocations: 38.84 kB / 1.419 GB, free: 54.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.825e-06/3.035, allocations: 0 / 1.419 GB, free: 54.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.00868/3.044, allocations: 1.635 MB / 1.421 GB, free: 52.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/3.044, allocations: 136.5 kB / 1.421 GB, free: 52.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/3.045, allocations: 0.5898 MB / 1.422 GB, free: 51.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.638e-05/3.045, allocations: 37.64 kB / 1.422 GB, free: 51.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/3.045, allocations: 374.6 kB / 1.422 GB, free: 51.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/3.046, allocations: 142.1 kB / 1.422 GB, free: 51.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/3.046, allocations: 12 kB / 1.422 GB, free: 51.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/3.046, allocations: 378.8 kB / 1.423 GB, free: 50.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/3.046, allocations: 197.9 kB / 1.423 GB, free: 50.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/3.047, allocations: 0.5353 MB / 1.423 GB, free: 49.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/3.048, allocations: 296.2 kB / 1.424 GB, free: 49.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/3.049, allocations: 4 kB / 1.424 GB, free: 49.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003856/3.052, allocations: 0.8858 MB / 1.425 GB, free: 48.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/3.053, allocations: 8 kB / 1.425 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/3.053, allocations: 12 kB / 1.425 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/3.056, allocations: 304.9 kB / 1.425 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/3.058, allocations: 135.8 kB / 1.425 GB, free: 48.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/3.06, allocations: 0.9099 MB / 1.426 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/3.061, allocations: 47.88 kB / 1.426 GB, free: 47.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/3.061, allocations: 76.05 kB / 1.426 GB, free: 47.14 MB / 490.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.0004939/3.062, allocations: 245.5 kB / 1.426 GB, free: 46.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/3.062, allocations: 67.2 kB / 1.426 GB, free: 46.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/3.064, allocations: 0.6585 MB / 1.427 GB, free: 46.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/3.064, allocations: 7.938 kB / 1.427 GB, free: 46.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/3.064, allocations: 4 kB / 1.427 GB, free: 46.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/3.064, allocations: 3.984 kB / 1.427 GB, free: 46.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/3.067, allocations: 1.597 MB / 1.429 GB, free: 44.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/3.067, allocations: 8 kB / 1.429 GB, free: 44.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/3.069, allocations: 207.8 kB / 1.429 GB, free: 44.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/3.069, allocations: 32.98 kB / 1.429 GB, free: 44.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/3.069, allocations: 12 kB / 1.429 GB, free: 44.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/3.071, allocations: 2.677 MB / 1.431 GB, free: 41.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/3.071, allocations: 4.281 kB / 1.431 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/3.073, allocations: 0.7912 MB / 1.432 GB, free: 40.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/3.073, allocations: 192.4 kB / 1.432 GB, free: 40.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/3.074, allocations: 8 kB / 1.432 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/3.074, allocations: 31.83 kB / 1.432 GB, free: 40.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/3.074, allocations: 39.95 kB / 1.432 GB, free: 40.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/3.074, allocations: 43.94 kB / 1.432 GB, free: 40.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007074/3.075, allocations: 415 kB / 1.433 GB, free: 39.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.075, allocations: 0 / 1.433 GB, free: 39.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001757/3.077, allocations: 379.8 kB / 1.433 GB, free: 39.26 MB / 490.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.00226/3.079, allocations: 1.028 MB / 1.434 GB, free: 38.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/3.081, allocations: 0.5545 MB / 1.435 GB, free: 37.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/3.081, allocations: 4 kB / 1.435 GB, free: 37.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/3.083, allocations: 406.3 kB / 1.435 GB, free: 37.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/3.085, allocations: 325.4 kB / 1.435 GB, free: 36.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/3.09, allocations: 1.97 MB / 1.437 GB, free: 34.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/3.09, allocations: 0.9494 MB / 1.438 GB, free: 33.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001856/3.092, allocations: 265.8 kB / 1.439 GB, free: 33.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/3.093, allocations: 99.41 kB / 1.439 GB, free: 33.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/3.093, allocations: 0 / 1.439 GB, free: 33.61 MB / 490.7 MB Notification: Performance of Templates: time 0.058/3.151, allocations: 26.71 MB / 1.465 GB, free: 6.965 MB / 490.7 MB