Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003887/0.003893, allocations: 350.6 kB / 15.94 MB, free: 6.215 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.855/3.855, 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.003739/0.003739, allocations: 214.2 kB / 397.8 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.4881/0.4881, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006322, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09216, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.907/7.999, allocations: 2.473 GB / 3.079 GB, free: 58.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/7.999, allocations: 86.3 kB / 3.08 GB, free: 58.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206/9.205, allocations: 210.1 MB / 3.285 GB, free: 37.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.837e-06/9.205, allocations: 0 / 3.285 GB, free: 37.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/9.205, allocations: 7.938 kB / 3.285 GB, free: 37.4 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009154/9.215, allocations: 1.711 MB / 3.286 GB, free: 35.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/9.215, allocations: 9.25 kB / 3.286 GB, free: 35.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/9.217, allocations: 187.8 kB / 3.287 GB, free: 35.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/9.217, allocations: 270.6 kB / 3.287 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/9.217, allocations: 20.66 kB / 3.287 GB, free: 35.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/9.217, allocations: 32 kB / 3.287 GB, free: 35.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/9.22, allocations: 0.7486 MB / 3.288 GB, free: 34.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/9.22, allocations: 0 / 3.288 GB, free: 34.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/9.221, allocations: 16 kB / 3.288 GB, free: 34.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/9.221, allocations: 9.125 kB / 3.288 GB, free: 34.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/9.224, allocations: 0.8059 MB / 3.288 GB, free: 33.46 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.005187/9.229, allocations: 2.9 MB / 3.291 GB, free: 30.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/9.231, allocations: 342.3 kB / 3.292 GB, free: 30 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/9.231, allocations: 75.81 kB / 3.292 GB, free: 29.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008/10.24, allocations: 139.5 MB / 3.428 GB, free: 35.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/10.24, allocations: 438.9 kB / 3.428 GB, free: 35.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.865e-06/10.24, allocations: 0 / 3.428 GB, free: 35.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.005506/10.25, allocations: 1.104 MB / 3.429 GB, free: 34.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/10.25, allocations: 377.8 kB / 3.43 GB, free: 34.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/10.25, allocations: 190.9 kB / 3.43 GB, free: 34.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/10.25, allocations: 28.27 kB / 3.43 GB, free: 34.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/10.25, allocations: 191.9 kB / 3.43 GB, free: 34.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/10.25, allocations: 113.1 kB / 3.43 GB, free: 34.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/10.25, allocations: 12.25 kB / 3.43 GB, free: 34.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/10.25, allocations: 329.8 kB / 3.431 GB, free: 33.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/10.25, allocations: 78.89 kB / 3.431 GB, free: 33.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/10.25, allocations: 341.7 kB / 3.431 GB, free: 33.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/10.25, allocations: 129.2 kB / 3.431 GB, free: 33.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/10.25, allocations: 3.875 kB / 3.431 GB, free: 33.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001212/10.25, allocations: 462.2 kB / 3.432 GB, free: 33.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/10.25, allocations: 6.75 kB / 3.432 GB, free: 33.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/10.25, allocations: 15.58 kB / 3.432 GB, free: 33.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/10.25, allocations: 12.53 kB / 3.432 GB, free: 33.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/10.25, allocations: 195.5 kB / 3.432 GB, free: 33.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008326/10.25, allocations: 1.187 MB / 3.433 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/10.25, allocations: 25.53 kB / 3.433 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/10.25, allocations: 41.19 kB / 3.433 GB, free: 32.15 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003051/10.25, allocations: 166.9 kB / 3.433 GB, free: 32.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/10.25, allocations: 29.84 kB / 3.433 GB, free: 32.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/10.26, allocations: 2.834 MB / 3.436 GB, free: 30.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-05/10.26, allocations: 25 kB / 3.436 GB, free: 30.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/10.26, allocations: 4 kB / 3.436 GB, free: 30.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/10.26, allocations: 7.094 kB / 3.436 GB, free: 30.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/10.26, allocations: 0.9692 MB / 3.437 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/10.26, allocations: 0 / 3.437 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/10.26, allocations: 101.7 kB / 3.437 GB, free: 30.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/10.26, allocations: 163.3 kB / 3.437 GB, free: 30.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/10.26, allocations: 12.25 kB / 3.437 GB, free: 30.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005689/10.26, allocations: 0.6412 MB / 3.438 GB, free: 29.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/10.26, allocations: 4 kB / 3.438 GB, free: 29.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/10.26, allocations: 0.97 MB / 3.439 GB, free: 28.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/10.26, allocations: 357.4 kB / 3.439 GB, free: 28.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/10.26, allocations: 7.375 kB / 3.439 GB, free: 28.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/10.26, allocations: 20.62 kB / 3.439 GB, free: 28.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/10.26, allocations: 34.81 kB / 3.439 GB, free: 28.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/10.26, allocations: 20.11 kB / 3.439 GB, free: 28.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007865/10.27, allocations: 467.5 kB / 3.44 GB, free: 28.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/10.27, allocations: 0 / 3.44 GB, free: 28.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007851/10.27, allocations: 1.617 MB / 3.441 GB, free: 27.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/10.29, allocations: 2.029 MB / 3.443 GB, free: 25.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002245/10.29, allocations: 0.5283 MB / 3.444 GB, free: 25.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/10.29, allocations: 0 / 3.444 GB, free: 25.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006208/10.29, allocations: 361.4 kB / 3.444 GB, free: 25.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/10.29, allocations: 127.2 kB / 3.444 GB, free: 25.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.627/11.92, allocations: 360.1 MB / 3.796 GB, free: 36.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/11.92, allocations: 0.9978 MB / 3.797 GB, free: 35.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001267/11.92, allocations: 498.9 kB / 3.797 GB, free: 34.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/11.92, allocations: 55.41 kB / 3.797 GB, free: 34.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/11.92, allocations: 0 / 3.797 GB, free: 34.61 MB / 458.7 MB Notification: Performance of Templates: time 0.4657/12.39, allocations: 43.65 MB / 3.84 GB, free: 76.27 MB / 458.7 MB