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.001428/0.001428, allocations: 111.8 kB / 18.46 MB, free: 4.617 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.00182/0.00182, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.412/1.412, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2082/0.2082, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.09 kB / 471.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3484, allocations: 60.83 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01549/0.3639, allocations: 13.82 MB / 0.5331 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03063/0.3945, allocations: 26.6 MB / 0.5591 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.3949, allocations: 0 / 0.5591 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.3954, allocations: 95.38 kB / 0.5592 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02766/0.4231, allocations: 8.539 MB / 0.5675 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009592/0.4241, allocations: 350.3 kB / 0.5679 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005364/0.4295, allocations: 1.998 MB / 0.5698 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4296, allocations: 16.41 kB / 0.5698 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.4302, allocations: 274.8 kB / 0.5701 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007493/0.4377, allocations: 3.258 MB / 0.5733 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.4378, allocations: 8 kB / 0.5733 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02509/0.4629, allocations: 11.61 MB / 0.5846 GB, free: 9.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.4631, allocations: 51.75 kB / 0.5847 GB, free: 9.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.4633, allocations: 143.3 kB / 0.5848 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.4809, allocations: 6.737 MB / 0.5914 GB, free: 2.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.481, allocations: 3.938 kB / 0.5914 GB, free: 2.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.481, allocations: 0 / 0.5914 GB, free: 2.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.481, allocations: 4 kB / 0.5914 GB, free: 2.367 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.004697/0.4857, allocations: 1.611 MB / 0.593 GB, free: 0.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4858, allocations: 8.031 kB / 0.593 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.4874, allocations: 188.5 kB / 0.5931 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.4878, allocations: 275.8 kB / 0.5934 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.4879, allocations: 21.03 kB / 0.5934 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.4879, allocations: 32.12 kB / 0.5935 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.4902, allocations: 0.7564 MB / 0.5942 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4902, allocations: 7.938 kB / 0.5942 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.4903, allocations: 12 kB / 0.5942 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4903, allocations: 8 kB / 0.5942 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.4925, allocations: 0.8176 MB / 0.595 GB, free: 14.5 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.003345/0.4958, allocations: 2.703 MB / 0.5977 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4971, allocations: 350.3 kB / 0.598 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.4972, allocations: 72.81 kB / 0.5981 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6766/1.174, allocations: 142.7 MB / 0.7374 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/1.175, allocations: 442.5 kB / 0.7378 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/1.175, allocations: 0 / 0.7378 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003831/1.179, allocations: 1.123 MB / 0.7389 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.179, allocations: 368.9 kB / 0.7393 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.179, allocations: 190.7 kB / 0.7395 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/1.179, allocations: 35.06 kB / 0.7395 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/1.18, allocations: 190.3 kB / 0.7397 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/1.18, allocations: 113.3 kB / 0.7398 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.18, allocations: 125.2 kB / 0.7399 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.706e-05/1.18, allocations: 334.6 kB / 0.7402 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.18, allocations: 83.78 kB / 0.7403 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/1.18, allocations: 345.1 kB / 0.7406 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/1.181, allocations: 479.7 kB / 0.7411 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.181, allocations: 6.781 kB / 0.7411 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007527/1.182, allocations: 465.7 kB / 0.7416 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.182, allocations: 14.31 kB / 0.7416 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.182, allocations: 11.81 kB / 0.7416 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.182, allocations: 11.06 kB / 0.7416 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.183, allocations: 214.6 kB / 0.7418 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003608/1.184, allocations: 1.186 MB / 0.743 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/1.184, allocations: 30.72 kB / 0.743 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/1.184, allocations: 46.98 kB / 0.743 GB, free: 162.9 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.0001433/1.184, allocations: 157.6 kB / 0.7432 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/1.184, allocations: 22.47 kB / 0.7432 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/1.186, allocations: 2.827 MB / 0.746 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.186, allocations: 5.969 kB / 0.746 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.186, allocations: 3.656 kB / 0.746 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/1.186, allocations: 135.4 kB / 0.7461 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.187, allocations: 89.03 kB / 0.7462 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/1.187, allocations: 35.17 kB / 0.7462 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/1.187, allocations: 25.86 kB / 0.7462 GB, free: 162.2 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.000541/1.188, allocations: 197.2 kB / 0.7464 GB, free: 162.1 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