Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01333/0.01333, allocations: 1.795 MB / 21.35 MB, free: 3.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 86.52 kB / 25.15 MB, free: 7.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 168.8 kB / 29.06 MB, free: 3.668 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.93/0.93, allocations: 177.2 MB / 210 MB, free: 3.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5853/0.5853, allocations: 102.5 MB / 369.5 MB, free: 396 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50029,variableFilter="Time|thinWall.T.[0-9,]+.|thinWall1.T.[0-9,]+.|thinWall2.T.[0-9,]+.|thinWall3.T.[0-9,]+.|thinWall4.T.[0-9,]+.|thinWall5.T.[0-9,]+.|thinWall6.T.[0-9,]+.|thinWall7.T.[0-9,]+.|tube1.Alpha|tube1.Beta|tube1.I_f.[0-9,]+.|tube1.Tau_pass|tube1.Tau_pass_tot|tube2.Alpha|tube2.Beta|tube2.I_f.[0-9,]+.|tube2.Tau_pass|tube2.Tau_pass_tot|tube3.Alpha|tube3.Beta|tube3.I_f.[0-9,]+.|tube3.Tau_pass|tube3.Tau_pass_tot|tube4.Alpha|tube4.Beta|tube4.I_f.[0-9,]+.|tube4.Tau_pass|tube4.Tau_pass_tot|tube5.Alpha|tube5.Beta|tube5.I_f.[0-9,]+.|tube5.Tau_pass|tube5.Tau_pass_tot|tube6.Alpha|tube6.Beta|tube6.I_f.[0-9,]+.|tube6.Tau_pass|tube6.Tau_pass_tot|tube7.Alpha|tube7.Beta|tube7.I_f.[0-9,]+.|tube7.Tau_pass|tube7.Tau_pass_tot|tube_merged.Alpha|tube_merged.Beta|tube_merged.I_f.[0-9,]+.|tube_merged.Tau_pass|tube_merged.Tau_pass_tot",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop") translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50029,variableFilter="Time|thinWall.T.[0-9,]+.|thinWall1.T.[0-9,]+.|thinWall2.T.[0-9,]+.|thinWall3.T.[0-9,]+.|thinWall4.T.[0-9,]+.|thinWall5.T.[0-9,]+.|thinWall6.T.[0-9,]+.|thinWall7.T.[0-9,]+.|tube1.Alpha|tube1.Beta|tube1.I_f.[0-9,]+.|tube1.Tau_pass|tube1.Tau_pass_tot|tube2.Alpha|tube2.Beta|tube2.I_f.[0-9,]+.|tube2.Tau_pass|tube2.Tau_pass_tot|tube3.Alpha|tube3.Beta|tube3.I_f.[0-9,]+.|tube3.Tau_pass|tube3.Tau_pass_tot|tube4.Alpha|tube4.Beta|tube4.I_f.[0-9,]+.|tube4.Tau_pass|tube4.Tau_pass_tot|tube5.Alpha|tube5.Beta|tube5.I_f.[0-9,]+.|tube5.Tau_pass|tube5.Tau_pass_tot|tube6.Alpha|tube6.Beta|tube6.I_f.[0-9,]+.|tube6.Tau_pass|tube6.Tau_pass_tot|tube7.Alpha|tube7.Beta|tube7.I_f.[0-9,]+.|tube7.Tau_pass|tube7.Tau_pass_tot|tube_merged.Alpha|tube_merged.Beta|tube_merged.I_f.[0-9,]+.|tube_merged.Tau_pass|tube_merged.Tau_pass_tot",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 470 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.702e-05, allocations: 2.312 kB / 470 MB, free: 18.99 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.1375/0.1375, allocations: 85.21 MB / 0.5422 GB, free: 2.613 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04033/0.1778, allocations: 27.8 MB / 0.5694 GB, free: 6.734 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008931/0.1867, allocations: 210.4 kB / 0.5696 GB, free: 6.527 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008623/0.1954, allocations: 2.895 MB / 0.5724 GB, free: 3.613 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01615/0.2115, allocations: 5.616 MB / 0.5779 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01626/0.2278, allocations: 7.25 MB / 0.585 GB, free: 6.691 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.04316/0.2709, allocations: 54.76 MB / 0.6384 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2845/0.5554, allocations: 18.52 MB / 0.6565 GB, free: 28.36 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1551/0.7105, allocations: 70.07 MB / 0.7249 GB, free: 1.445 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04248/0.753, allocations: 21.52 MB / 0.746 GB, free: 444 kB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.01608/0.7691, allocations: 3.586 MB / 0.7495 GB, free: 444 kB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02127/0.7903, allocations: 4.772 MB / 0.7541 GB, free: 192 kB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.02961/0.8199, allocations: 15.74 MB / 0.7695 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.03429/0.8542, allocations: 14.16 MB / 0.7833 GB, free: 8.844 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.05799/0.9122, allocations: 38.18 MB / 0.8206 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.9122, allocations: 6.656 kB / 0.8206 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9122, allocations: 0 / 0.8206 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.001683/0.9139, allocations: 0 / 0.8206 GB, free: 11.66 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7572 * Number of variables: 7572 Notification: Performance of Generate backend data structure: time 0.09886/1.013, allocations: 43.31 MB / 0.8629 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.013, allocations: 12.03 kB / 0.8629 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02141/1.034, allocations: 4.976 MB / 0.8678 GB, free: 12.04 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03138/1.066, allocations: 14.31 MB / 0.8818 GB, free: 14.53 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002858/1.068, allocations: 2.378 MB / 0.8841 GB, free: 12.07 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01175/1.08, allocations: 2.433 MB / 0.8864 GB, free: 9.66 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5338/1.614, allocations: 31.92 MB / 0.9176 GB, free: 147.5 MB / 0.6825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001797/1.616, allocations: 125.5 kB / 0.9177 GB, free: 147.5 MB / 0.6825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008888/1.625, allocations: 0.8327 MB / 0.9185 GB, free: 147.5 MB / 0.6825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/1.627, allocations: 3.419 MB / 0.9219 GB, free: 147.4 MB / 0.6825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08441/1.711, allocations: 31.58 MB / 0.9527 GB, free: 147.1 MB / 0.6825 GB 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.2152/1.926, allocations: 142.6 MB / 1.092 GB, free: 48.3 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03618/1.963, allocations: 22.07 MB / 1.114 GB, free: 26 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02113/1.984, allocations: 9.218 MB / 1.123 GB, free: 16.67 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003734/1.988, allocations: 0.9806 MB / 1.123 GB, free: 15.69 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/1.988, allocations: 358 kB / 1.124 GB, free: 15.34 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=3289): time 4.028e-05/1.988, allocations: 4 kB / 1.124 GB, free: 15.33 MB / 0.6825 GB Notification: Performance of matching and sorting (n=3445): time 0.6811/2.669, allocations: 147.2 MB / 1.268 GB, free: 113.7 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003663/2.669, allocations: 1.807 MB / 1.269 GB, free: 111.8 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01965/2.689, allocations: 13.83 MB / 1.283 GB, free: 110.3 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.007785/2.697, allocations: 0.5579 MB / 1.283 GB, free: 110.3 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.007862/2.705, allocations: 10.48 MB / 1.294 GB, free: 106.6 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.01533/2.72, allocations: 13.15 MB / 1.306 GB, free: 98.9 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03677/2.757, allocations: 8.219 MB / 1.314 GB, free: 97.65 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/2.757, allocations: 476.8 kB / 1.315 GB, free: 97.18 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02662/2.783, allocations: 9.394 MB / 1.324 GB, free: 95.8 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03745/2.821, allocations: 20.81 MB / 1.344 GB, free: 81.45 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05541/2.876, allocations: 30.24 MB / 1.374 GB, free: 54.94 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003067/2.877, allocations: 52 kB / 1.374 GB, free: 54.89 MB / 0.7138 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1192/2.996, allocations: 39.09 MB / 1.412 GB, free: 21.18 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/2.996, allocations: 84 kB / 1.412 GB, free: 21.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3986/3.395, allocations: 30.52 MB / 1.442 GB, free: 159.4 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1568/3.551, allocations: 109.3 MB / 1.549 GB, free: 121.7 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02336/3.575, allocations: 6.18 MB / 1.555 GB, free: 117.1 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04352/3.618, allocations: 28.26 MB / 1.582 GB, free: 96.3 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02523/3.643, allocations: 2.488 MB / 1.585 GB, free: 95 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009133/3.653, allocations: 1.9 MB / 1.587 GB, free: 93.75 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03544/3.688, allocations: 9.957 MB / 1.596 GB, free: 85.79 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03249/3.72, allocations: 20.75 MB / 1.617 GB, free: 63.34 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05337/3.774, allocations: 30.05 MB / 1.646 GB, free: 33.78 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002834/3.774, allocations: 59.94 kB / 1.646 GB, free: 33.72 MB / 0.7294 GB Warning: The linear system: 1 : tube4.outlet.p = tube4.p_L_init + tube4.Delta_p_grav_start 2 : tube4.p_L_init = tube4.outlet.p [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ tube4.outlet.p ; tube4.p_L_init ] = [ tube4.Delta_p_grav_start ; 0.0 ] might be structurally or numerically singular for variable tube4.p_L_init since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=5130) (initialization_lambda0): time 0.1107/3.885, allocations: 38.26 MB / 1.683 GB, free: 13.84 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/3.885, allocations: 84 kB / 1.684 GB, free: 13.76 MB / 0.745 GB Warning: The linear system: 1 : tube4.outlet.p = tube4.p_L_init + tube4.Delta_p_grav_start 2 : tube4.p_L_init = tube4.outlet.p [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ tube4.outlet.p ; tube4.p_L_init ] = [ tube4.Delta_p_grav_start ; 0.0 ] might be structurally or numerically singular for variable tube4.p_L_init since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3963/4.281, allocations: 29.74 MB / 1.713 GB, free: 175.3 MB / 0.7606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1609/4.442, allocations: 103.4 MB / 1.814 GB, free: 145 MB / 0.7606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02152/4.464, allocations: 6.685 MB / 1.82 GB, free: 140 MB / 0.7606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04557/4.509, allocations: 36.46 MB / 1.856 GB, free: 111.2 MB / 0.7606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0264/4.536, allocations: 2.28 MB / 1.858 GB, free: 110 MB / 0.7606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009617/4.545, allocations: 1.892 MB / 1.86 GB, free: 108.7 MB / 0.7606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3406): * Single equations (assignments): 3396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(10,88), (10,88), (10,88), (10,88), (10,98), (10,88), (10,88), (21,270), (70,638), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.01653/4.562, allocations: 2.216 MB / 1.862 GB, free: 108 MB / 0.7606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01759/4.579, allocations: 3.406 MB / 1.865 GB, free: 106.4 MB / 0.7606 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 3899 equation(s) and 3839 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:103:7-109:25:writable] Error: (tube3.fluidOutlet.VLEAdditional.cp_l, tube3.fluidOutlet.VLEAdditional.beta_l, tube3.fluidOutlet.VLEAdditional.kappa_l, tube3.fluidOutlet.VLEAdditional.cp_v, tube3.fluidOutlet.VLEAdditional.beta_v, tube3.fluidOutlet.VLEAdditional.kappa_v) = ($cse227, $cse228, $cse229, $cse230, $cse231, $cse232) has size 6 but 2 variables ($cse180, tube7.res[1]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04919/4.629, allocations: 20.64 MB / 1.885 GB, free: 92.23 MB / 0.7606 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 795] [Calling sys.exit(0), Time elapsed: 7.587781848851591]