Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_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.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002743/0.00275, allocations: 360.6 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 3.828/3.828, allocations: 388.9 MB / 405.6 MB, free: 47.98 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005685/0.005684, allocations: 232.6 kB / 451 MB, free: 2.453 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.9082/0.9082, allocations: 80.01 MB / 0.5627 GB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 12 kB / 0.6265 GB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 54.87 MB / 0.6801 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.637/8.758, allocations: 2.585 GB / 3.265 GB, free: 68.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/8.759, allocations: 88.28 kB / 3.265 GB, free: 68.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414/10.17, allocations: 214 MB / 3.474 GB, free: 59.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.816e-06/10.17, allocations: 4 kB / 3.474 GB, free: 59.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/10.17, allocations: 0 / 3.474 GB, free: 59.29 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.009339/10.18, allocations: 1.764 MB / 3.476 GB, free: 57.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/10.18, allocations: 15.95 kB / 3.476 GB, free: 57.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/10.18, allocations: 215.5 kB / 3.476 GB, free: 57.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/10.19, allocations: 276 kB / 3.477 GB, free: 56.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/10.19, allocations: 25.94 kB / 3.477 GB, free: 56.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/10.19, allocations: 39.95 kB / 3.477 GB, free: 56.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003416/10.19, allocations: 0.8016 MB / 3.477 GB, free: 56.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/10.19, allocations: 0 / 3.477 GB, free: 56.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/10.19, allocations: 16 kB / 3.477 GB, free: 56.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/10.19, allocations: 8 kB / 3.477 GB, free: 56.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/10.19, allocations: 0.923 MB / 3.478 GB, free: 55.09 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.0054/10.2, allocations: 2.777 MB / 3.481 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/10.2, allocations: 362.2 kB / 3.481 GB, free: 51.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/10.2, allocations: 76.81 kB / 3.481 GB, free: 51.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319/11.52, allocations: 223.3 MB / 3.7 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/11.52, allocations: 464.4 kB / 3.7 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 3.397e-06/11.52, allocations: 0 / 3.7 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.004428/11.53, allocations: 0.7646 MB / 3.701 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/11.53, allocations: 375 kB / 3.701 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/11.53, allocations: 182.8 kB / 3.701 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/11.53, allocations: 31.7 kB / 3.701 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/11.53, allocations: 192.2 kB / 3.701 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/11.53, allocations: 103.7 kB / 3.702 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/11.53, allocations: 12.53 kB / 3.702 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001343/11.53, allocations: 331 kB / 3.702 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/11.53, allocations: 83.52 kB / 3.702 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/11.53, allocations: 337.1 kB / 3.702 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/11.53, allocations: 130.6 kB / 3.702 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/11.53, allocations: 0 / 3.702 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001432/11.53, allocations: 455.5 kB / 3.703 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/11.53, allocations: 8.938 kB / 3.703 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/11.53, allocations: 17.09 kB / 3.703 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/11.53, allocations: 12 kB / 3.703 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/11.53, allocations: 140 kB / 3.703 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/11.53, allocations: 18.14 kB / 3.703 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/11.53, allocations: 53.45 kB / 3.703 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/11.53, allocations: 45.27 kB / 3.703 GB, free: 10.81 MB / 0.5105 GB 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.0002511/11.53, allocations: 155.6 kB / 3.703 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/11.53, allocations: 34.91 kB / 3.703 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/11.54, allocations: 2.491 MB / 3.706 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/11.54, allocations: 19.56 kB / 3.706 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/11.54, allocations: 8.75 kB / 3.706 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/11.54, allocations: 4 kB / 3.706 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/11.54, allocations: 0.9283 MB / 3.707 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/11.54, allocations: 4 kB / 3.707 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/11.54, allocations: 70.3 kB / 3.707 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/11.54, allocations: 10.88 kB / 3.707 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/11.54, allocations: 10.06 kB / 3.707 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/11.54, allocations: 10.05 kB / 3.707 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/11.54, allocations: 4 kB / 3.707 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/11.54, allocations: 0.6972 MB / 3.707 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/11.54, allocations: 382.4 kB / 3.708 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/11.54, allocations: 11.44 kB / 3.708 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/11.54, allocations: 21.14 kB / 3.708 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/11.54, allocations: 34.03 kB / 3.708 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/11.54, allocations: 17.31 kB / 3.708 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009634/11.54, allocations: 0.4978 MB / 3.708 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/11.54, allocations: 0 / 3.708 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007906/11.55, allocations: 1.526 MB / 3.71 GB, free: 6.398 MB / 0.5105 GB 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.01481/11.56, allocations: 1.887 MB / 3.712 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001263/11.57, allocations: 405.8 kB / 3.712 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/11.57, allocations: 256 / 3.712 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/11.57, allocations: 277.6 kB / 3.712 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/11.57, allocations: 143.8 kB / 3.713 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.694/15.26, allocations: 0.6303 GB / 4.343 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000969/15.26, allocations: 1.006 MB / 4.344 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002006/15.27, allocations: 475 kB / 4.344 GB, free: 91.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/15.27, allocations: 55.25 kB / 4.344 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.974e-06/15.27, allocations: 0 / 4.344 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.1255/15.39, allocations: 41.17 MB / 4.385 GB, free: 83.98 MB / 0.5105 GB