Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001349/0.001349, allocations: 107.1 kB / 17.08 MB, free: 6.074 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.001438/0.001438, allocations: 195.3 kB / 18.01 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2494/0.2494, allocations: 43.52 MB / 314.8 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001775, allocations: 75.88 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1271, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01755/0.1447, allocations: 13.83 MB / 0.5021 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0306/0.1754, allocations: 26.58 MB / 0.528 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.1756, allocations: 0 / 0.528 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1761, allocations: 95.39 kB / 0.5281 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2861/0.4622, allocations: 8.51 MB / 0.5364 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.4633, allocations: 349.4 kB / 0.5368 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005213/0.4685, allocations: 2.004 MB / 0.5387 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.143e-05/0.4686, allocations: 20.69 kB / 0.5388 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.4692, allocations: 262.2 kB / 0.539 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007258/0.4765, allocations: 3.257 MB / 0.5422 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.303e-05/0.4766, allocations: 9.781 kB / 0.5422 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02633/0.5029, allocations: 11.61 MB / 0.5535 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.5031, allocations: 47.83 kB / 0.5536 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.5035, allocations: 139.7 kB / 0.5537 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02032/0.5238, allocations: 6.742 MB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5239, allocations: 0 / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5239, allocations: 3.469 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.5239, allocations: 4 kB / 0.5603 GB, free: 1.184 MB / 414.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.005081/0.529, allocations: 1.667 MB / 0.5619 GB, free: 36 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5291, allocations: 12.8 kB / 0.5619 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.5306, allocations: 196.8 kB / 0.5621 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.531, allocations: 262.7 kB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.531, allocations: 22.59 kB / 0.5624 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.5311, allocations: 30.81 kB / 0.5624 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.5332, allocations: 0.762 MB / 0.5632 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5333, allocations: 5.969 kB / 0.5632 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.5333, allocations: 10.59 kB / 0.5632 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5333, allocations: 8.375 kB / 0.5632 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.5354, allocations: 0.818 MB / 0.564 GB, free: 14.77 MB / 430.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.003606/0.539, allocations: 2.71 MB / 0.5666 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5403, allocations: 351.9 kB / 0.567 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.5404, allocations: 69.58 kB / 0.5671 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3791/0.9196, allocations: 142.9 MB / 0.7066 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.9211, allocations: 437.6 kB / 0.707 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.046e-06/0.9211, allocations: 0 / 0.707 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004217/0.9253, allocations: 1.144 MB / 0.7081 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002442/0.9256, allocations: 375.8 kB / 0.7085 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.9258, allocations: 199.5 kB / 0.7087 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.9259, allocations: 29.7 kB / 0.7087 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.9261, allocations: 195.3 kB / 0.7089 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.9262, allocations: 116.7 kB / 0.709 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.9265, allocations: 126.2 kB / 0.7091 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9266, allocations: 334.8 kB / 0.7095 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.9268, allocations: 77.08 kB / 0.7095 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.9272, allocations: 346.9 kB / 0.7099 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.9279, allocations: 484.9 kB / 0.7103 GB, free: 404 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.9279, allocations: 4 kB / 0.7103 GB, free: 400 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009301/0.9288, allocations: 474 kB / 0.7108 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.9289, allocations: 11.94 kB / 0.7108 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.9289, allocations: 8 kB / 0.7108 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.9289, allocations: 12 kB / 0.7108 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.9305, allocations: 213.1 kB / 0.711 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006135/0.9311, allocations: 1.192 MB / 0.7122 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.9314, allocations: 19.95 kB / 0.7122 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.9315, allocations: 43.97 kB / 0.7122 GB, free: 14.46 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.000193/0.9317, allocations: 166.3 kB / 0.7124 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.9318, allocations: 35.84 kB / 0.7124 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.9348, allocations: 2.838 MB / 0.7152 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.9348, allocations: 4 kB / 0.7152 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.9348, allocations: 0 / 0.7152 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.9349, allocations: 148.5 kB / 0.7154 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.9351, allocations: 95.08 kB / 0.7154 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.9355, allocations: 29.52 kB / 0.7155 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.9356, allocations: 30.62 kB / 0.7155 GB, free: 11.12 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: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.0005953/0.9362, allocations: 192.7 kB / 0.7157 GB, free: 10.94 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