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.002691/0.002695, allocations: 353.7 kB / 15.95 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.789/3.789, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003572/0.003572, allocations: 220.5 kB / 397.9 MB, free: 4.988 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.5085/0.5085, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000637/0.0006373, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.0949, allocations: 48.71 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.339/0.434, allocations: 12.71 MB / 0.6192 GB, free: 86.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03694/0.471, allocations: 24.48 MB / 0.6431 GB, free: 69.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.4714, allocations: 5.531 kB / 0.6431 GB, free: 69.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.4718, allocations: 70.36 kB / 0.6431 GB, free: 69.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02998/0.5018, allocations: 6.504 MB / 0.6495 GB, free: 65.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.5031, allocations: 300.6 kB / 0.6498 GB, free: 65.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008142/0.5113, allocations: 3.157 MB / 0.6529 GB, free: 64.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.5114, allocations: 14.88 kB / 0.6529 GB, free: 64.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.5121, allocations: 254.3 kB / 0.6531 GB, free: 64.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01282/0.5249, allocations: 5.605 MB / 0.6586 GB, free: 60.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/0.5251, allocations: 11.98 kB / 0.6586 GB, free: 60.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02736/0.5524, allocations: 10.18 MB / 0.6685 GB, free: 49.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.5526, allocations: 39.83 kB / 0.6686 GB, free: 49.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.5528, allocations: 81.58 kB / 0.6687 GB, free: 49.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.5628, allocations: 4.163 MB / 0.6727 GB, free: 45.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5629, allocations: 0 / 0.6727 GB, free: 45.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5629, allocations: 4 kB / 0.6727 GB, free: 45.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5629, allocations: 0 / 0.6727 GB, free: 45.56 MB / 362.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.005824/0.5688, allocations: 1.455 MB / 0.6742 GB, free: 44.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.5689, allocations: 8.031 kB / 0.6742 GB, free: 44.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.5712, allocations: 231.3 kB / 0.6744 GB, free: 43.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.5717, allocations: 270.7 kB / 0.6746 GB, free: 43.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.5718, allocations: 24.61 kB / 0.6747 GB, free: 43.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.5719, allocations: 35.94 kB / 0.6747 GB, free: 43.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/0.5751, allocations: 0.8275 MB / 0.6755 GB, free: 42.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5751, allocations: 8 kB / 0.6755 GB, free: 42.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.5752, allocations: 19.94 kB / 0.6755 GB, free: 42.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.5752, allocations: 8 kB / 0.6755 GB, free: 42.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.5788, allocations: 0.9543 MB / 0.6765 GB, free: 41.61 MB / 362.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.00434/0.5832, allocations: 2.58 MB / 0.679 GB, free: 38.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.5851, allocations: 383.5 kB / 0.6794 GB, free: 38.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.5854, allocations: 76.81 kB / 0.6794 GB, free: 38.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397/1.983, allocations: 226.6 MB / 0.9007 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/1.985, allocations: 476.6 kB / 0.9012 GB, free: 25.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 3.086e-06/1.985, allocations: 4 kB / 0.9012 GB, free: 25.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.00415/1.989, allocations: 0.7741 MB / 0.9019 GB, free: 24.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/1.989, allocations: 376.4 kB / 0.9023 GB, free: 23.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/1.989, allocations: 183.1 kB / 0.9025 GB, free: 23.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/1.989, allocations: 33.7 kB / 0.9025 GB, free: 23.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/1.989, allocations: 186.1 kB / 0.9027 GB, free: 23.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/1.99, allocations: 114.3 kB / 0.9028 GB, free: 23.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/1.99, allocations: 4 kB / 0.9028 GB, free: 23.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/1.99, allocations: 330.8 kB / 0.9031 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/1.99, allocations: 85.06 kB / 0.9032 GB, free: 23.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/1.991, allocations: 342.8 kB / 0.9035 GB, free: 22.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/1.991, allocations: 134.8 kB / 0.9036 GB, free: 22.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.991, allocations: 0 / 0.9036 GB, free: 22.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001279/1.992, allocations: 478.6 kB / 0.9041 GB, free: 21.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.992, allocations: 12.22 kB / 0.9041 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.992, allocations: 8 kB / 0.9041 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/1.992, allocations: 15.75 kB / 0.9041 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/1.993, allocations: 139.8 kB / 0.9043 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/1.993, allocations: 19.92 kB / 0.9043 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/1.994, allocations: 39.59 kB / 0.9043 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/1.994, allocations: 47.97 kB / 0.9044 GB, free: 21.71 MB / 426.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.phase,state_h_is.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.0002183/1.994, allocations: 165.5 kB / 0.9045 GB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/1.994, allocations: 31.75 kB / 0.9045 GB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/1.998, allocations: 2.651 MB / 0.9071 GB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.998, allocations: 3.984 kB / 0.9071 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/1.998, allocations: 7.938 kB / 0.9071 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/1.998, allocations: 378.7 kB / 0.9075 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.999, allocations: 15.98 kB / 0.9075 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/1.999, allocations: 40.11 kB / 0.9076 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/1.999, allocations: 35.92 kB / 0.9076 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001449/2.001, allocations: 1.554 MB / 0.9091 GB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001447/2.002, allocations: 1.648 MB / 0.9107 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004546/2.003, allocations: 256.8 kB / 0.911 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008393/2.004, allocations: 0.4923 MB / 0.9114 GB, free: 14.38 MB / 426.7 MB Notification: Performance of Backend: time 9.32e-07/2.004, allocations: 0 / 0.9114 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01516/2.019, allocations: 2.439 MB / 0.9138 GB, free: 12.26 MB / 426.7 MB Notification: Performance of SimCode: time 0.00262/2.022, allocations: 2.046 MB / 0.9158 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Templates: time 0.4091/2.431, allocations: 64.71 MB / 0.979 GB, free: 109.1 MB / 426.7 MB