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.003647/0.003647, allocations: 351.3 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.945/3.945, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.01008/0.01008, allocations: 225.1 kB / 397.9 MB, free: 4.977 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.5014/0.5014, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004697, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09153, allocations: 48.71 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.2959/0.3875, allocations: 12.7 MB / 0.6192 GB, free: 86.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03768/0.4252, allocations: 24.48 MB / 0.6431 GB, free: 69.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.4256, allocations: 1.406 kB / 0.6431 GB, free: 69.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.4261, allocations: 67.31 kB / 0.6431 GB, free: 69.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03018/0.4563, allocations: 6.517 MB / 0.6495 GB, free: 65.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4576, allocations: 296.1 kB / 0.6498 GB, free: 65.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008326/0.4659, allocations: 3.154 MB / 0.6529 GB, free: 64.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.4661, allocations: 15.66 kB / 0.6529 GB, free: 64.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006822/0.4668, allocations: 252.3 kB / 0.6531 GB, free: 64.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01231/0.4791, allocations: 5.599 MB / 0.6586 GB, free: 60.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.4792, allocations: 4 kB / 0.6586 GB, free: 60.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03008/0.5093, allocations: 10.87 MB / 0.6692 GB, free: 49.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.5095, allocations: 51.8 kB / 0.6692 GB, free: 49.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.5097, allocations: 73.58 kB / 0.6693 GB, free: 49.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.5216, allocations: 4.44 MB / 0.6737 GB, free: 44.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.5217, allocations: 4 kB / 0.6737 GB, free: 44.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5217, allocations: 4 kB / 0.6737 GB, free: 44.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.5217, allocations: 0 / 0.6737 GB, free: 44.59 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.006093/0.5278, allocations: 1.505 MB / 0.6751 GB, free: 43.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5279, allocations: 12.03 kB / 0.6751 GB, free: 43.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.5299, allocations: 191.4 kB / 0.6753 GB, free: 42.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.5304, allocations: 266.6 kB / 0.6756 GB, free: 42.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.5304, allocations: 28.55 kB / 0.6756 GB, free: 42.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.5305, allocations: 32 kB / 0.6756 GB, free: 42.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.5335, allocations: 0.7525 MB / 0.6764 GB, free: 41.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.5335, allocations: 4 kB / 0.6764 GB, free: 41.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.5336, allocations: 16 kB / 0.6764 GB, free: 41.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.5336, allocations: 10.2 kB / 0.6764 GB, free: 41.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003058/0.5367, allocations: 0.8176 MB / 0.6772 GB, free: 40.84 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.004545/0.5413, allocations: 2.709 MB / 0.6798 GB, free: 37.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.543, allocations: 347.6 kB / 0.6802 GB, free: 37.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.5432, allocations: 76.86 kB / 0.6803 GB, free: 37.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9744/1.518, allocations: 142 MB / 0.8189 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/1.519, allocations: 444 kB / 0.8193 GB, free: 114.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 5.18e-06/1.519, allocations: 3.844 kB / 0.8193 GB, free: 114.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005235/1.525, allocations: 1.113 MB / 0.8204 GB, free: 113.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/1.525, allocations: 378.3 kB / 0.8208 GB, free: 112.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/1.525, allocations: 189.8 kB / 0.821 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/1.525, allocations: 29.89 kB / 0.821 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.525, allocations: 188.6 kB / 0.8212 GB, free: 112.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.525, allocations: 113.6 kB / 0.8213 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/1.525, allocations: 11.56 kB / 0.8213 GB, free: 112.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/1.525, allocations: 327.6 kB / 0.8216 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/1.526, allocations: 80.56 kB / 0.8217 GB, free: 112 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/1.526, allocations: 351.2 kB / 0.822 GB, free: 111.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/1.526, allocations: 131.1 kB / 0.8222 GB, free: 111.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.526, allocations: 4 kB / 0.8222 GB, free: 111.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001168/1.528, allocations: 461.2 kB / 0.8226 GB, free: 111.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/1.528, allocations: 9.219 kB / 0.8226 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.528, allocations: 16 kB / 0.8226 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/1.528, allocations: 12 kB / 0.8226 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.53, allocations: 215.6 kB / 0.8228 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/1.531, allocations: 1.176 MB / 0.824 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/1.532, allocations: 29 kB / 0.824 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/1.532, allocations: 47.97 kB / 0.8241 GB, free: 109.6 MB / 426.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.0002429/1.532, allocations: 173.2 kB / 0.8242 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/1.532, allocations: 31.72 kB / 0.8243 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/1.536, allocations: 2.881 MB / 0.8271 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/1.536, allocations: 4 kB / 0.8271 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.536, allocations: 0 / 0.8271 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/1.536, allocations: 350.9 kB / 0.8274 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.536, allocations: 15.44 kB / 0.8274 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/1.537, allocations: 40.27 kB / 0.8275 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/1.537, allocations: 27.92 kB / 0.8275 GB, free: 106 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 104929.294642565 = $cse16.h 2/2 (16): $cse16 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_pT(101325.0, medium.T, 0) Variables: 1: $cse16.R:VARIABLE(protected = true ) type: Real unreplaceable 2: $cse16.cp:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse16.phase:DISCRETE(protected = true ) type: Integer unreplaceable 4: $cse16.vt:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse16.region:DISCRETE(protected = true ) type: Integer unreplaceable 6: $cse16.rho:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse16.p:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse16.pd:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse16.h:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse16.T:VARIABLE(protected = true ) type: Real unreplaceable 11: medium.T:DUMMY_STATE(min = 273.15 max = 2273.15 start = 298.15 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real 12: $cse16.x:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse16.vp:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse16.cv:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse16.pt:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse16.s:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse16.dpT:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9662:5-9663:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007017/1.538, allocations: 197.1 kB / 0.8277 GB, free: 105.9 MB / 426.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.