Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 112.9 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 183 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3874, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01659/0.404, allocations: 13.82 MB / 0.5331 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03347/0.4376, allocations: 26.6 MB / 0.5591 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.4379, allocations: 4 kB / 0.5591 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.4385, allocations: 95.38 kB / 0.5592 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02621/0.4648, allocations: 8.535 MB / 0.5675 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.4658, allocations: 346.1 kB / 0.5678 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004836/0.4706, allocations: 2.002 MB / 0.5698 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.4707, allocations: 28.34 kB / 0.5698 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.4713, allocations: 262.9 kB / 0.5701 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007667/0.479, allocations: 3.258 MB / 0.5733 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.4791, allocations: 8 kB / 0.5733 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02647/0.5056, allocations: 11.61 MB / 0.5846 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.5057, allocations: 51.7 kB / 0.5847 GB, free: 9.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.506, allocations: 139.3 kB / 0.5848 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02042/0.5264, allocations: 6.75 MB / 0.5914 GB, free: 2.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5265, allocations: 0 / 0.5914 GB, free: 2.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5265, allocations: 0 / 0.5914 GB, free: 2.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.5265, allocations: 0 / 0.5914 GB, free: 2.332 MB / 446.1 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.00474/0.5313, allocations: 1.673 MB / 0.593 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5313, allocations: 8.031 kB / 0.593 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.533, allocations: 184.6 kB / 0.5932 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.5334, allocations: 279.8 kB / 0.5935 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.5335, allocations: 25.03 kB / 0.5935 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.5335, allocations: 32.12 kB / 0.5935 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.5358, allocations: 0.7603 MB / 0.5943 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5358, allocations: 0 / 0.5943 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.5358, allocations: 15.94 kB / 0.5943 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.5359, allocations: 8 kB / 0.5943 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.538, allocations: 0.8176 MB / 0.5951 GB, free: 14.39 MB / 462.1 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.003265/0.5413, allocations: 2.711 MB / 0.5977 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.5426, allocations: 354.3 kB / 0.5981 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.5427, allocations: 72.81 kB / 0.5981 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6624/1.205, allocations: 142.7 MB / 0.7375 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/1.207, allocations: 442.2 kB / 0.738 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.444e-06/1.207, allocations: 0 / 0.738 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003738/1.21, allocations: 1.143 MB / 0.7391 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/1.21, allocations: 373.2 kB / 0.7394 GB, free: 165 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/1.211, allocations: 191 kB / 0.7396 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/1.211, allocations: 35.73 kB / 0.7396 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/1.211, allocations: 184.7 kB / 0.7398 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/1.211, allocations: 123.2 kB / 0.7399 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/1.211, allocations: 123.5 kB / 0.7401 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/1.211, allocations: 334.8 kB / 0.7404 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/1.211, allocations: 77.98 kB / 0.7404 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/1.211, allocations: 346.7 kB / 0.7408 GB, free: 164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/1.212, allocations: 489.4 kB / 0.7412 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.212, allocations: 3.75 kB / 0.7412 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007521/1.213, allocations: 467.7 kB / 0.7417 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.213, allocations: 7.375 kB / 0.7417 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.213, allocations: 11.44 kB / 0.7417 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/1.213, allocations: 13.44 kB / 0.7417 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.214, allocations: 217.8 kB / 0.7419 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003754/1.215, allocations: 1.182 MB / 0.7431 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/1.215, allocations: 28.48 kB / 0.7431 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/1.215, allocations: 49.09 kB / 0.7432 GB, free: 162.4 MB / 0.5762 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.215, allocations: 158.7 kB / 0.7433 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/1.215, allocations: 30.3 kB / 0.7433 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/1.218, allocations: 2.833 MB / 0.7461 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.218, allocations: 3.812 kB / 0.7461 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.218, allocations: 3.875 kB / 0.7461 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.218, allocations: 135.4 kB / 0.7462 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.218, allocations: 93.92 kB / 0.7463 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/1.218, allocations: 35.31 kB / 0.7464 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/1.218, allocations: 33 kB / 0.7464 GB, free: 161.8 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 104929.29464256502 = $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:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005473/1.219, allocations: 193.2 kB / 0.7466 GB, free: 161.7 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT could not be translated