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.008337/0.008337, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0008165/0.0008165, allocations: 81.11 kB / 26.19 MB, free: 6.07 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.0009518/0.0009518, allocations: 171 kB / 30.13 MB, free: 2.176 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.9036/0.9036, allocations: 177.2 MB / 211.1 MB, free: 3.449 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.5897/0.5897, allocations: 102.5 MB / 370.7 MB, free: 200 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.352e-06/1.352e-06, allocations: 0 / 471.3 MB, free: 18.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.421e-05, allocations: 5.625 kB / 471.3 MB, free: 18.71 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.1182/0.1182, allocations: 83.99 MB / 0.5423 GB, free: 3.527 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.033/0.1512, allocations: 27.71 MB / 0.5693 GB, free: 7.738 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00672/0.1579, allocations: 206.4 kB / 0.5695 GB, free: 7.535 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006085/0.164, allocations: 2.914 MB / 0.5724 GB, free: 4.602 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.1754, allocations: 5.609 MB / 0.5778 GB, free: 14.96 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.1887, allocations: 7.254 MB / 0.5849 GB, free: 7.688 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.04267/0.2314, allocations: 54.77 MB / 0.6384 GB, free: 0.7734 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2317/0.4631, allocations: 18.52 MB / 0.6565 GB, free: 28.46 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.145/0.6081, allocations: 70.05 MB / 0.7249 GB, free: 1.59 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03232/0.6404, allocations: 21.52 MB / 0.7459 GB, free: 0.6875 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.01291/0.6533, allocations: 3.585 MB / 0.7494 GB, free: 0.6875 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.6708, allocations: 4.774 MB / 0.7541 GB, free: 452 kB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.02223/0.6931, allocations: 15.66 MB / 0.7694 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.02794/0.721, allocations: 14.16 MB / 0.7832 GB, free: 10.14 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.05321/0.7742, allocations: 38.18 MB / 0.8205 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7742, allocations: 4 kB / 0.8205 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7742, allocations: 0 / 0.8205 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.001446/0.7757, allocations: 0 / 0.8205 GB, free: 11.98 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.09103/0.8667, allocations: 41.23 MB / 0.8608 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8667, allocations: 12.03 kB / 0.8608 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.8836, allocations: 4.967 MB / 0.8656 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02441/0.908, allocations: 13.12 MB / 0.8784 GB, free: 3.887 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001932/0.9099, allocations: 2.373 MB / 0.8808 GB, free: 1.438 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008785/0.9187, allocations: 2.446 MB / 0.8831 GB, free: 15.07 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05334/0.972, allocations: 29.39 MB / 0.9118 GB, free: 0.8516 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006495/0.9727, allocations: 139 kB / 0.912 GB, free: 0.7656 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3653/1.338, allocations: 0.8289 MB / 0.9128 GB, free: 161.2 MB / 0.6825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001924/1.34, allocations: 3.423 MB / 0.9161 GB, free: 161.2 MB / 0.6825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04792/1.388, allocations: 24.57 MB / 0.9401 GB, free: 160.6 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.1707/1.558, allocations: 135 MB / 1.072 GB, free: 75.65 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02492/1.583, allocations: 20.21 MB / 1.092 GB, free: 55.62 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0105/1.594, allocations: 7.761 MB / 1.099 GB, free: 47.84 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/1.596, allocations: 0.9694 MB / 1.1 GB, free: 46.87 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/1.596, allocations: 355.3 kB / 1.101 GB, free: 46.51 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=3289): time 2.949e-05/1.596, allocations: 2.578 kB / 1.101 GB, free: 46.51 MB / 0.6825 GB Notification: Performance of matching and sorting (n=3445): time 0.1555/1.752, allocations: 73.43 MB / 1.172 GB, free: 1.371 MB / 0.6981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006115/1.752, allocations: 1.803 MB / 1.174 GB, free: 15.21 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/1.767, allocations: 13.32 MB / 1.187 GB, free: 4.57 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.006343/1.773, allocations: 0.5564 MB / 1.188 GB, free: 4.008 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.2416/2.015, allocations: 10.57 MB / 1.198 GB, free: 177.6 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.01091/2.026, allocations: 13.23 MB / 1.211 GB, free: 170.4 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0117/2.037, allocations: 8.353 MB / 1.219 GB, free: 169.8 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 5.046e-05/2.037, allocations: 482.3 kB / 1.219 GB, free: 169.4 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/2.051, allocations: 8.377 MB / 1.228 GB, free: 169 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01956/2.07, allocations: 19.94 MB / 1.247 GB, free: 156.9 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03705/2.107, allocations: 28.57 MB / 1.275 GB, free: 145.9 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003942/2.108, allocations: 56.16 kB / 1.275 GB, free: 145.9 MB / 0.7138 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.07437/2.182, allocations: 36.23 MB / 1.31 GB, free: 137.1 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/2.182, allocations: 88.72 kB / 1.311 GB, free: 137 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04977/2.232, allocations: 27.99 MB / 1.338 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1379/2.37, allocations: 108.5 MB / 1.444 GB, free: 5.75 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01714/2.387, allocations: 6.042 MB / 1.45 GB, free: 96 kB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2747/2.662, allocations: 26.53 MB / 1.476 GB, free: 166.8 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02531/2.687, allocations: 2.098 MB / 1.478 GB, free: 166.8 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009126/2.696, allocations: 1.589 MB / 1.479 GB, free: 166.8 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02996/2.726, allocations: 8.944 MB / 1.488 GB, free: 166.6 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02297/2.749, allocations: 19.88 MB / 1.507 GB, free: 154.4 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03898/2.788, allocations: 28.4 MB / 1.535 GB, free: 143.5 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002717/2.788, allocations: 54.78 kB / 1.535 GB, free: 143.5 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.06882/2.857, allocations: 35.52 MB / 1.57 GB, free: 129.7 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/2.857, allocations: 88.69 kB / 1.57 GB, free: 129.6 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 postOpt simplifyComplexFunction (initialization): time 0.05832/2.916, allocations: 27.34 MB / 1.597 GB, free: 106 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1323/3.048, allocations: 103 MB / 1.697 GB, free: 3.441 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02225/3.07, allocations: 6.541 MB / 1.704 GB, free: 13.31 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3002/3.37, allocations: 34.69 MB / 1.737 GB, free: 185.1 MB / 0.7606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02172/3.392, allocations: 1.892 MB / 1.739 GB, free: 185.1 MB / 0.7606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005773/3.398, allocations: 1.582 MB / 1.741 GB, free: 185.1 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 {(70,638), (10,88), (10,88), (10,88), (10,88), (10,98), (10,88), (10,88), (21,270), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.008042/3.406, allocations: 2.209 MB / 1.743 GB, free: 184.9 MB / 0.7606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007631/3.413, allocations: 3.405 MB / 1.746 GB, free: 184.9 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.03339/3.447, allocations: 19.17 MB / 1.765 GB, free: 183.9 MB / 0.7606 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 5.935598664917052]