Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008614/0.008614, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.000866/0.000866, allocations: 84.03 kB / 25.62 MB, free: 6.523 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.000865/0.000865, allocations: 172.9 kB / 29.46 MB, free: 3.035 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.8973/0.8973, allocations: 177.1 MB / 210.3 MB, free: 1.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7655/0.7655, allocations: 102.4 MB / 369.8 MB, free: 0.8398 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 469.9 MB, free: 12.86 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.854e-05, allocations: 7.578 kB / 469.9 MB, free: 12.85 MB / 442.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.3074/0.3074, allocations: 85 MB / 0.5419 GB, free: 63 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03271/0.3401, allocations: 27.76 MB / 0.569 GB, free: 43.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006686/0.3468, allocations: 207.5 kB / 0.5692 GB, free: 43.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005396/0.3522, allocations: 2.899 MB / 0.572 GB, free: 42.36 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.3647, allocations: 5.616 MB / 0.5775 GB, free: 38.55 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.3791, allocations: 7.248 MB / 0.5846 GB, free: 32.89 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.03779/0.4169, allocations: 54.76 MB / 0.6381 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02576/0.4427, allocations: 18.52 MB / 0.6562 GB, free: 11.45 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04689/0.4896, allocations: 24.83 MB / 0.6804 GB, free: 2.578 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03246/0.522, allocations: 21.52 MB / 0.7014 GB, free: 13.06 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.011/0.533, allocations: 3.676 MB / 0.705 GB, free: 9.383 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01569/0.5487, allocations: 4.865 MB / 0.7098 GB, free: 4.52 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.01809/0.5668, allocations: 15.24 MB / 0.7246 GB, free: 5.238 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.02967/0.5965, allocations: 14.32 MB / 0.7386 GB, free: 6.887 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.4907/1.087, allocations: 38.52 MB / 0.7762 GB, free: 81.86 MB / 0.6044 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.087, allocations: 0 / 0.7762 GB, free: 81.86 MB / 0.6044 GB Notification: Performance of FrontEnd: time 2.264e-06/1.087, allocations: 0.5312 kB / 0.7762 GB, free: 81.86 MB / 0.6044 GB Notification: Performance of Transformations before backend: time 0.001997/1.089, allocations: 1.938 kB / 0.7763 GB, free: 81.86 MB / 0.6044 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.1205/1.21, allocations: 43.79 MB / 0.819 GB, free: 70.13 MB / 0.6044 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.21, allocations: 11.72 kB / 0.819 GB, free: 70.13 MB / 0.6044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02821/1.238, allocations: 5.023 MB / 0.8239 GB, free: 68.27 MB / 0.6044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04531/1.283, allocations: 15.69 MB / 0.8392 GB, free: 63.79 MB / 0.6044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002845/1.286, allocations: 2.374 MB / 0.8416 GB, free: 62.37 MB / 0.6044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01591/1.302, allocations: 2.443 MB / 0.844 GB, free: 61.47 MB / 0.6044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08755/1.39, allocations: 31.91 MB / 0.8751 GB, free: 28.34 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001507/1.391, allocations: 128 kB / 0.8752 GB, free: 28.25 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01208/1.403, allocations: 0.8313 MB / 0.8761 GB, free: 27.44 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001972/1.405, allocations: 3.423 MB / 0.8794 GB, free: 24.02 MB / 0.6044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08714/1.492, allocations: 31.58 MB / 0.9102 GB, free: 8.742 MB / 0.62 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.5309/2.023, allocations: 142.6 MB / 1.049 GB, free: 170.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03865/2.062, allocations: 22.07 MB / 1.071 GB, free: 168.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0196/2.081, allocations: 9.213 MB / 1.08 GB, free: 166.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00289/2.084, allocations: 0.9796 MB / 1.081 GB, free: 166.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/2.084, allocations: 348.6 kB / 1.081 GB, free: 166.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=3289): time 2.935e-05/2.084, allocations: 2.656 kB / 1.081 GB, free: 166.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=3445): time 0.2313/2.316, allocations: 147.2 MB / 1.225 GB, free: 52.34 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004676/2.316, allocations: 1.552 MB / 1.227 GB, free: 50.49 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01539/2.332, allocations: 13.88 MB / 1.24 GB, free: 36.65 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.01026/2.342, allocations: 0.5564 MB / 1.241 GB, free: 36.09 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005223/2.347, allocations: 10.49 MB / 1.251 GB, free: 25.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.01688/2.364, allocations: 13.14 MB / 1.264 GB, free: 12.62 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02904/2.393, allocations: 8.207 MB / 1.272 GB, free: 4.383 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/2.393, allocations: 480.7 kB / 1.272 GB, free: 3.91 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2949/2.688, allocations: 9.397 MB / 1.281 GB, free: 215 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03807/2.726, allocations: 20.47 MB / 1.301 GB, free: 203.3 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06024/2.786, allocations: 30.23 MB / 1.331 GB, free: 191.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002718/2.787, allocations: 52.38 kB / 1.331 GB, free: 191.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.09981/2.886, allocations: 39.08 MB / 1.369 GB, free: 175.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/2.886, allocations: 84 kB / 1.369 GB, free: 175.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08399/2.97, allocations: 30.52 MB / 1.399 GB, free: 148.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.141/3.111, allocations: 109.3 MB / 1.506 GB, free: 43.62 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02288/3.134, allocations: 6.181 MB / 1.512 GB, free: 37.43 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2998/3.434, allocations: 28.27 MB / 1.539 GB, free: 189 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02607/3.46, allocations: 2.491 MB / 1.542 GB, free: 189 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01089/3.471, allocations: 1.898 MB / 1.544 GB, free: 189 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03535/3.506, allocations: 9.954 MB / 1.553 GB, free: 188.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02746/3.534, allocations: 20.41 MB / 1.573 GB, free: 177 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05554/3.589, allocations: 30.05 MB / 1.603 GB, free: 165 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002964/3.59, allocations: 55.47 kB / 1.603 GB, free: 165 MB / 0.6982 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.1233/3.713, allocations: 38.25 MB / 1.64 GB, free: 133.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/3.713, allocations: 89.28 kB / 1.64 GB, free: 133.7 MB / 0.6982 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.09038/3.804, allocations: 29.74 MB / 1.669 GB, free: 107.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3964/4.2, allocations: 103.4 MB / 1.77 GB, free: 189.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02524/4.225, allocations: 6.685 MB / 1.777 GB, free: 189.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04751/4.273, allocations: 36.46 MB / 1.812 GB, free: 172.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02938/4.302, allocations: 2.274 MB / 1.814 GB, free: 172.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01179/4.314, allocations: 1.894 MB / 1.816 GB, free: 172.2 MB / 0.6982 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.03302/4.347, allocations: 2.214 MB / 1.819 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0343/4.381, allocations: 3.397 MB / 1.822 GB, free: 171.6 MB / 0.6982 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.03111/4.412, allocations: 20.64 MB / 1.842 GB, free: 169 MB / 0.6982 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 795] [Calling sys.exit(0), Time elapsed: 6.950852686073631]