Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.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.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002804/0.002803, allocations: 361.9 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.074/4.074, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.005998/0.005998, 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.5905/0.5905, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004653, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 54.85 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.223/8.326, allocations: 2.584 GB / 3.264 GB, free: 78.28 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/8.326, allocations: 84.77 kB / 3.264 GB, free: 78.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239/9.565, allocations: 213.5 MB / 3.472 GB, free: 69.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.895e-06/9.565, allocations: 0 / 3.472 GB, free: 69.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/9.565, allocations: 7.938 kB / 3.472 GB, free: 69.04 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009086/9.574, allocations: 1.738 MB / 3.474 GB, free: 67.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/9.574, allocations: 12.03 kB / 3.474 GB, free: 67.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/9.577, allocations: 187.4 kB / 3.474 GB, free: 67.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/9.577, allocations: 266.7 kB / 3.474 GB, free: 66.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/9.577, allocations: 21 kB / 3.474 GB, free: 66.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/9.577, allocations: 35.95 kB / 3.474 GB, free: 66.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/9.58, allocations: 0.7447 MB / 3.475 GB, free: 65.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/9.58, allocations: 0 / 3.475 GB, free: 65.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/9.58, allocations: 23.92 kB / 3.475 GB, free: 65.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/9.58, allocations: 8 kB / 3.475 GB, free: 65.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/9.583, allocations: 0.802 MB / 3.476 GB, free: 65.07 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.005061/9.588, allocations: 2.898 MB / 3.479 GB, free: 61.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/9.59, allocations: 347.1 kB / 3.479 GB, free: 61.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/9.59, allocations: 68.83 kB / 3.479 GB, free: 61.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097/10.69, allocations: 139.9 MB / 3.616 GB, free: 51.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/10.69, allocations: 440.7 kB / 3.616 GB, free: 51.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.276e-06/10.69, allocations: 0 / 3.616 GB, free: 51.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.005388/10.69, allocations: 1.104 MB / 3.617 GB, free: 51.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/10.69, allocations: 369.9 kB / 3.618 GB, free: 50.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/10.69, allocations: 188.6 kB / 3.618 GB, free: 50.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/10.69, allocations: 35.88 kB / 3.618 GB, free: 50.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/10.69, allocations: 189.1 kB / 3.618 GB, free: 50.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/10.69, allocations: 117 kB / 3.618 GB, free: 50.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/10.69, allocations: 7.875 kB / 3.618 GB, free: 50.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.376e-05/10.69, allocations: 335.2 kB / 3.618 GB, free: 49.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/10.7, allocations: 71 kB / 3.619 GB, free: 49.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/10.7, allocations: 348.6 kB / 3.619 GB, free: 49.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/10.7, allocations: 125.8 kB / 3.619 GB, free: 49.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/10.7, allocations: 3.969 kB / 3.619 GB, free: 49.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00118/10.7, allocations: 460.8 kB / 3.619 GB, free: 49.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/10.7, allocations: 9.188 kB / 3.619 GB, free: 49.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/10.7, allocations: 14.58 kB / 3.619 GB, free: 49.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/10.7, allocations: 13.16 kB / 3.619 GB, free: 49.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/10.7, allocations: 197.6 kB / 3.62 GB, free: 49.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/10.7, allocations: 1.192 MB / 3.621 GB, free: 48.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/10.7, allocations: 25.8 kB / 3.621 GB, free: 48.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/10.7, allocations: 43.72 kB / 3.621 GB, free: 48.36 MB / 490.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.0002418/10.7, allocations: 161.6 kB / 3.621 GB, free: 48.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/10.7, allocations: 27 kB / 3.621 GB, free: 48.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/10.71, allocations: 2.834 MB / 3.624 GB, free: 47.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/10.71, allocations: 21.67 kB / 3.624 GB, free: 47.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/10.71, allocations: 7.656 kB / 3.624 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/10.71, allocations: 6.406 kB / 3.624 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/10.71, allocations: 0.9672 MB / 3.625 GB, free: 47.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/10.71, allocations: 3.938 kB / 3.625 GB, free: 47.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/10.71, allocations: 101.3 kB / 3.625 GB, free: 47.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/10.71, allocations: 159.1 kB / 3.625 GB, free: 47.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/10.71, allocations: 12.33 kB / 3.625 GB, free: 47.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003855/10.71, allocations: 0.6384 MB / 3.626 GB, free: 47.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/10.71, allocations: 8.156 kB / 3.626 GB, free: 47.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/10.71, allocations: 0.9706 MB / 3.627 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/10.71, allocations: 354.4 kB / 3.627 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/10.71, allocations: 13.33 kB / 3.627 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/10.71, allocations: 18.11 kB / 3.627 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/10.71, allocations: 29.39 kB / 3.627 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/10.71, allocations: 23.08 kB / 3.627 GB, free: 46.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007492/10.71, allocations: 466.1 kB / 3.628 GB, free: 46.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/10.71, allocations: 3.656 kB / 3.628 GB, free: 46.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00801/10.72, allocations: 1.636 MB / 3.629 GB, free: 46.5 MB / 490.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.0147/10.74, allocations: 2.023 MB / 3.631 GB, free: 46.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002161/10.74, allocations: 0.5312 MB / 3.632 GB, free: 46.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/10.74, allocations: 3.969 kB / 3.632 GB, free: 46.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005947/10.74, allocations: 363.5 kB / 3.632 GB, free: 46.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/10.74, allocations: 125.4 kB / 3.632 GB, free: 46.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.674/12.41, allocations: 364.4 MB / 3.988 GB, free: 88.98 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/12.41, allocations: 1.005 MB / 3.989 GB, free: 88.26 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001245/12.42, allocations: 496.6 kB / 3.989 GB, free: 88.23 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/12.42, allocations: 57.48 kB / 3.989 GB, free: 88.23 MB / 0.4949 GB Notification: Performance of SimCode: time 1.322e-06/12.42, allocations: 3.938 kB / 3.989 GB, free: 88.22 MB / 0.4949 GB Notification: Performance of Templates: time 0.1141/12.53, allocations: 44.15 MB / 4.033 GB, free: 74.91 MB / 0.4949 GB