Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,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_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002643/0.002648, allocations: 348 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.978/3.978, 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.003509/0.003509, allocations: 218.1 kB / 397.9 MB, free: 4.969 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.5529/0.5529, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006341/0.0006343, allocations: 20 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1346, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.848/7.983, allocations: 2.474 GB / 3.081 GB, free: 58.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/7.983, allocations: 84.52 kB / 3.081 GB, free: 58.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233/9.216, allocations: 210.6 MB / 3.287 GB, free: 36.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/9.216, allocations: 0 / 3.287 GB, free: 36.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/9.216, allocations: 4 kB / 3.287 GB, free: 36.26 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.009656/9.225, allocations: 1.727 MB / 3.289 GB, free: 34.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/9.225, allocations: 8.031 kB / 3.289 GB, free: 34.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/9.228, allocations: 231.8 kB / 3.289 GB, free: 34.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/9.229, allocations: 270.6 kB / 3.289 GB, free: 33.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/9.229, allocations: 28.66 kB / 3.289 GB, free: 33.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/9.229, allocations: 35.94 kB / 3.289 GB, free: 33.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/9.232, allocations: 0.8054 MB / 3.29 GB, free: 33.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/9.232, allocations: 4 kB / 3.29 GB, free: 33.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/9.232, allocations: 12 kB / 3.29 GB, free: 33.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/9.232, allocations: 10.34 kB / 3.29 GB, free: 33.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/9.236, allocations: 0.9386 MB / 3.291 GB, free: 32.07 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.005011/9.241, allocations: 2.767 MB / 3.294 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/9.243, allocations: 374.1 kB / 3.294 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/9.243, allocations: 84.8 kB / 3.294 GB, free: 28.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987/11.23, allocations: 222.9 MB / 3.512 GB, free: 89.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002066/11.23, allocations: 465.2 kB / 3.512 GB, free: 89.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 4.438e-06/11.23, allocations: 0 / 3.512 GB, free: 89.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.004509/11.24, allocations: 0.7599 MB / 3.513 GB, free: 89.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/11.24, allocations: 374.5 kB / 3.513 GB, free: 88.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/11.24, allocations: 172.7 kB / 3.513 GB, free: 88.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/11.24, allocations: 40.69 kB / 3.513 GB, free: 88.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/11.24, allocations: 187.3 kB / 3.514 GB, free: 88.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/11.24, allocations: 110 kB / 3.514 GB, free: 88.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/11.24, allocations: 7.781 kB / 3.514 GB, free: 88.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/11.24, allocations: 331.7 kB / 3.514 GB, free: 88.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/11.24, allocations: 78.69 kB / 3.514 GB, free: 88.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/11.24, allocations: 342.5 kB / 3.514 GB, free: 87.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/11.24, allocations: 132.6 kB / 3.514 GB, free: 87.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/11.24, allocations: 6.312 kB / 3.515 GB, free: 87.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001479/11.24, allocations: 457.2 kB / 3.515 GB, free: 87.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/11.24, allocations: 8.875 kB / 3.515 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/11.24, allocations: 12.52 kB / 3.515 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/11.24, allocations: 13.31 kB / 3.515 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/11.24, allocations: 137.6 kB / 3.515 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/11.24, allocations: 19.45 kB / 3.515 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/11.24, allocations: 50.67 kB / 3.515 GB, free: 87.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/11.24, allocations: 45.69 kB / 3.515 GB, free: 87.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.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 (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002451/11.24, allocations: 162.9 kB / 3.515 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/11.24, allocations: 30.78 kB / 3.515 GB, free: 87.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/11.25, allocations: 2.497 MB / 3.518 GB, free: 87.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/11.25, allocations: 17.72 kB / 3.518 GB, free: 87.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/11.25, allocations: 3.594 kB / 3.518 GB, free: 87.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/11.25, allocations: 5.844 kB / 3.518 GB, free: 87.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/11.25, allocations: 0.9282 MB / 3.519 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/11.25, allocations: 6.828 kB / 3.519 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/11.25, allocations: 75.94 kB / 3.519 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/11.25, allocations: 7.562 kB / 3.519 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/11.25, allocations: 16.19 kB / 3.519 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/11.25, allocations: 7.5 kB / 3.519 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/11.25, allocations: 3.5 kB / 3.519 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/11.25, allocations: 0.6931 MB / 3.52 GB, free: 86.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/11.25, allocations: 385.4 kB / 3.52 GB, free: 86.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/11.25, allocations: 11.66 kB / 3.52 GB, free: 86.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/11.25, allocations: 20.97 kB / 3.52 GB, free: 86.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/11.25, allocations: 34.91 kB / 3.52 GB, free: 86.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/11.25, allocations: 24.53 kB / 3.52 GB, free: 86.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008651/11.25, allocations: 0.4908 MB / 3.52 GB, free: 86.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.142e-06/11.25, allocations: 0 / 3.52 GB, free: 86.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007483/11.26, allocations: 1.506 MB / 3.522 GB, free: 86.68 MB / 474.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: 10 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01422/11.27, allocations: 1.875 MB / 3.524 GB, free: 86.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/11.28, allocations: 401.4 kB / 3.524 GB, free: 86.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/11.28, allocations: 3.844 kB / 3.524 GB, free: 86.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/11.28, allocations: 272.9 kB / 3.524 GB, free: 86.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/11.28, allocations: 135.8 kB / 3.525 GB, free: 86.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.575/14.85, allocations: 0.6183 GB / 4.143 GB, free: 96.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/14.85, allocations: 1.005 MB / 4.144 GB, free: 96.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001634/14.86, allocations: 475.9 kB / 4.144 GB, free: 96.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/14.86, allocations: 59.84 kB / 4.144 GB, free: 96.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.452e-06/14.86, allocations: 0 / 4.144 GB, free: 96.24 MB / 474.7 MB Notification: Performance of Templates: time 0.09604/14.95, allocations: 40.78 MB / 4.184 GB, free: 95.89 MB / 474.7 MB