Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") 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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009527/0.0009527, allocations: 200 kB / 16.76 MB, free: 5.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 244.1 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007673/0.0007673, allocations: 98.56 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3157/0.3157, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002526, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2847, allocations: 62.96 MB / 0.5165 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01019/0.2949, allocations: 12.88 MB / 0.5291 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.3144, allocations: 24.61 MB / 0.5531 GB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.3146, allocations: 1.094 kB / 0.5531 GB, free: 10.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.3149, allocations: 69.55 kB / 0.5532 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01753/0.3324, allocations: 6.624 MB / 0.5597 GB, free: 7.445 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.3332, allocations: 291.4 kB / 0.5599 GB, free: 7.258 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005157/0.3384, allocations: 3.202 MB / 0.5631 GB, free: 6.453 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.66e-05/0.3384, allocations: 20.55 kB / 0.5631 GB, free: 6.449 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.3389, allocations: 257.4 kB / 0.5633 GB, free: 6.305 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008239/0.3472, allocations: 5.67 MB / 0.5689 GB, free: 3.828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3472, allocations: 8 kB / 0.5689 GB, free: 3.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02051/0.3677, allocations: 11.17 MB / 0.5798 GB, free: 8.641 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.3679, allocations: 47.75 kB / 0.5798 GB, free: 8.594 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.3681, allocations: 157.2 kB / 0.58 GB, free: 8.434 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00821/0.3763, allocations: 4.541 MB / 0.5844 GB, free: 3.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3763, allocations: 0 / 0.5844 GB, free: 3.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3764, allocations: 0 / 0.5844 GB, free: 3.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3764, allocations: 0 / 0.5844 GB, free: 3.883 MB / 394.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.004495/0.3809, allocations: 1.556 MB / 0.5859 GB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3809, allocations: 8.031 kB / 0.5859 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.3823, allocations: 188.5 kB / 0.5861 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3827, allocations: 264 kB / 0.5864 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3827, allocations: 25.03 kB / 0.5864 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.3828, allocations: 36.12 kB / 0.5864 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3847, allocations: 0.7486 MB / 0.5872 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3848, allocations: 4 kB / 0.5872 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.3848, allocations: 19.98 kB / 0.5872 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3848, allocations: 8 kB / 0.5872 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.3868, allocations: 0.8137 MB / 0.588 GB, free: 84 kB / 394.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.003191/0.39, allocations: 2.707 MB / 0.5906 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3911, allocations: 350.3 kB / 0.591 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3913, allocations: 68.86 kB / 0.591 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5395/0.9308, allocations: 147.4 MB / 0.7349 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.932, allocations: 446 kB / 0.7354 GB, free: 129 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.716e-06/0.932, allocations: 4 kB / 0.7354 GB, free: 129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003484/0.9355, allocations: 1.119 MB / 0.7365 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.9356, allocations: 371.9 kB / 0.7368 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.9357, allocations: 194.3 kB / 0.737 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.9358, allocations: 33.64 kB / 0.737 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.9358, allocations: 187.6 kB / 0.7372 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.9359, allocations: 112 kB / 0.7373 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.9359, allocations: 8 kB / 0.7373 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.936, allocations: 334.8 kB / 0.7376 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.9362, allocations: 73.06 kB / 0.7377 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.9364, allocations: 345.6 kB / 0.738 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.9369, allocations: 478 kB / 0.7385 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9369, allocations: 4 kB / 0.7385 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007572/0.9377, allocations: 465 kB / 0.7389 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9377, allocations: 19.97 kB / 0.739 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.9378, allocations: 11.98 kB / 0.739 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.9378, allocations: 12 kB / 0.739 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.9393, allocations: 207.7 kB / 0.7392 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004073/0.9397, allocations: 1.185 MB / 0.7403 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.94, allocations: 27.84 kB / 0.7404 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.9401, allocations: 50.41 kB / 0.7404 GB, free: 123.6 MB / 0.4948 GB 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.0001694/0.9403, allocations: 161.5 kB / 0.7406 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.9403, allocations: 23.81 kB / 0.7406 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.9428, allocations: 2.884 MB / 0.7434 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.9428, allocations: 7.984 kB / 0.7434 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9428, allocations: 4 kB / 0.7434 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.9431, allocations: 338.9 kB / 0.7437 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.9432, allocations: 12 kB / 0.7438 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.9437, allocations: 52.11 kB / 0.7438 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.9437, allocations: 27.91 kB / 0.7438 GB, free: 120.1 MB / 0.4948 GB [/var/lib/jenkins1/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_s: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005252/0.9443, allocations: 196.1 kB / 0.744 GB, free: 119.9 MB / 0.4948 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.