Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002735/0.002739, allocations: 369 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.318/4.318, allocations: 388.9 MB / 405.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003539/0.003538, allocations: 224.9 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5124/0.5124, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004631, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09941, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01689/0.1164, allocations: 12.77 MB / 0.6926 GB, free: 28.83 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03368/0.1501, allocations: 24.59 MB / 0.7166 GB, free: 4.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.1504, allocations: 8 kB / 0.7166 GB, free: 4.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.1508, allocations: 63.59 kB / 0.7167 GB, free: 4.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3533/0.5042, allocations: 6.56 MB / 0.7231 GB, free: 14.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.5055, allocations: 301 kB / 0.7233 GB, free: 14.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007785/0.5133, allocations: 3.197 MB / 0.7265 GB, free: 14.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.5135, allocations: 20.52 kB / 0.7265 GB, free: 14.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008564/0.5143, allocations: 246.4 kB / 0.7267 GB, free: 14.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01346/0.5278, allocations: 5.665 MB / 0.7323 GB, free: 14.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.528, allocations: 9.969 kB / 0.7323 GB, free: 14.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03411/0.5621, allocations: 11.09 MB / 0.7431 GB, free: 13.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.5623, allocations: 42.89 kB / 0.7431 GB, free: 13.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.5625, allocations: 75.05 kB / 0.7432 GB, free: 13.74 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.575, allocations: 4.503 MB / 0.7476 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.5751, allocations: 0 / 0.7476 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5751, allocations: 1.422 kB / 0.7476 GB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.5751, allocations: 0 / 0.7476 GB, free: 10.2 MB / 346.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.006068/0.5812, allocations: 1.543 MB / 0.7491 GB, free: 8.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.5813, allocations: 12.02 kB / 0.7491 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.5833, allocations: 195.1 kB / 0.7493 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.5837, allocations: 269.7 kB / 0.7496 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.5837, allocations: 26.03 kB / 0.7496 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.5838, allocations: 27.31 kB / 0.7496 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.5867, allocations: 0.7517 MB / 0.7504 GB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.5867, allocations: 2.531 kB / 0.7504 GB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.5868, allocations: 17.33 kB / 0.7504 GB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.5868, allocations: 12 kB / 0.7504 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.5898, allocations: 0.8134 MB / 0.7512 GB, free: 6.914 MB / 346.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.004571/0.5945, allocations: 2.706 MB / 0.7538 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.5962, allocations: 354.2 kB / 0.7542 GB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.5964, allocations: 73.05 kB / 0.7542 GB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7064/1.303, allocations: 142.5 MB / 0.8934 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/1.305, allocations: 443.2 kB / 0.8938 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=31): time 4.92e-06/1.305, allocations: 2.156 kB / 0.8938 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of matching and sorting (n=32): time 0.005884/1.311, allocations: 1.114 MB / 0.8949 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002149/1.311, allocations: 373.9 kB / 0.8952 GB, free: 11.85 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/1.311, allocations: 188.5 kB / 0.8954 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 6.561e-05/1.311, allocations: 33.83 kB / 0.8954 GB, free: 11.65 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/1.311, allocations: 187.8 kB / 0.8956 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/1.312, allocations: 112.6 kB / 0.8957 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/1.312, allocations: 10 kB / 0.8957 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.312, allocations: 334.1 kB / 0.8961 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/1.312, allocations: 81.19 kB / 0.8961 GB, free: 11 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/1.313, allocations: 343.4 kB / 0.8965 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/1.313, allocations: 137 kB / 0.8966 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.313, allocations: 4 kB / 0.8966 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001462/1.315, allocations: 460.2 kB / 0.897 GB, free: 10.17 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/1.315, allocations: 19.28 kB / 0.8971 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.315, allocations: 8 kB / 0.8971 GB, free: 10.14 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/1.315, allocations: 13.08 kB / 0.8971 GB, free: 10.13 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/1.318, allocations: 211.5 kB / 0.8973 GB, free: 9.953 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009276/1.319, allocations: 1.188 MB / 0.8984 GB, free: 8.738 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/1.319, allocations: 26.34 kB / 0.8985 GB, free: 8.719 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/1.319, allocations: 42.72 kB / 0.8985 GB, free: 8.684 MB / 0.4949 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.0003071/1.32, allocations: 164.1 kB / 0.8987 GB, free: 8.543 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.32, allocations: 27.7 kB / 0.8987 GB, free: 8.516 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/1.325, allocations: 2.886 MB / 0.9015 GB, free: 6.586 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/1.325, allocations: 4 kB / 0.9015 GB, free: 6.582 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.325, allocations: 4 kB / 0.9015 GB, free: 6.578 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/1.325, allocations: 351.2 kB / 0.9018 GB, free: 6.262 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/1.326, allocations: 20.88 kB / 0.9019 GB, free: 6.246 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/1.326, allocations: 31.97 kB / 0.9019 GB, free: 6.215 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/1.327, allocations: 34.91 kB / 0.9019 GB, free: 6.184 MB / 0.4949 GB [/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.0007854/1.327, allocations: 194.7 kB / 0.9021 GB, free: 6.016 MB / 0.4949 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.