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.008478/0.008478, allocations: 1.798 MB / 21.36 MB, free: 3.191 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.0007998/0.0007998, allocations: 84.86 kB / 25.15 MB, free: 6.395 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.0007934/0.0007934, allocations: 161.8 kB / 29.06 MB, free: 3.379 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.9616/0.9616, allocations: 177.1 MB / 210 MB, free: 3.598 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.6389/0.6389, allocations: 102.5 MB / 369.5 MB, free: 400 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.703e-06/1.703e-06, allocations: 0 / 470 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.802e-05, allocations: 3.438 kB / 470 MB, free: 18.96 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.1475/0.1475, allocations: 85.21 MB / 0.5422 GB, free: 2.609 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04186/0.1894, allocations: 27.79 MB / 0.5693 GB, free: 6.742 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006016/0.1954, allocations: 206.4 kB / 0.5695 GB, free: 6.539 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005205/0.2006, allocations: 2.904 MB / 0.5724 GB, free: 3.621 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00806/0.2087, allocations: 5.609 MB / 0.5778 GB, free: 13.98 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.2206, allocations: 7.25 MB / 0.5849 GB, free: 6.711 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.04012/0.2607, allocations: 54.77 MB / 0.6384 GB, free: 15.8 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3161/0.5768, allocations: 18.52 MB / 0.6565 GB, free: 28.41 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05122/0.6281, allocations: 24.82 MB / 0.6807 GB, free: 28.41 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04149/0.6696, allocations: 21.52 MB / 0.7018 GB, free: 28.32 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.01914/0.6887, allocations: 3.679 MB / 0.7053 GB, free: 28.32 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02443/0.7131, allocations: 4.873 MB / 0.7101 GB, free: 28.32 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.02553/0.7387, allocations: 15.25 MB / 0.725 GB, free: 25.99 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.03703/0.7757, allocations: 14.31 MB / 0.739 GB, free: 23.24 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0537/0.8294, allocations: 38.53 MB / 0.7766 GB, free: 1.5 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8294, allocations: 2.688 kB / 0.7766 GB, free: 1.5 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8294, allocations: 0 / 0.7766 GB, free: 1.5 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.001689/0.8311, allocations: 3.406 kB / 0.7766 GB, free: 1.5 MB / 0.5574 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.1099/0.941, allocations: 43.78 MB / 0.8194 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.941, allocations: 8.031 kB / 0.8194 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/0.9628, allocations: 5.025 MB / 0.8243 GB, free: 5.238 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0366/0.9994, allocations: 15.7 MB / 0.8396 GB, free: 6.387 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002573/1.002, allocations: 2.375 MB / 0.8419 GB, free: 3.934 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01205/1.014, allocations: 2.44 MB / 0.8443 GB, free: 1.52 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07861/1.093, allocations: 31.92 MB / 0.8755 GB, free: 15.57 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006831/1.093, allocations: 129.4 kB / 0.8756 GB, free: 15.49 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002582/1.096, allocations: 0.8311 MB / 0.8764 GB, free: 14.68 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002214/1.098, allocations: 3.426 MB / 0.8798 GB, free: 11.25 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3647/1.463, allocations: 31.57 MB / 0.9106 GB, free: 148.4 MB / 0.6824 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.2537/1.717, allocations: 142.6 MB / 1.05 GB, free: 71.22 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04204/1.759, allocations: 22.08 MB / 1.071 GB, free: 61 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02528/1.784, allocations: 9.221 MB / 1.08 GB, free: 58 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004151/1.788, allocations: 0.9711 MB / 1.081 GB, free: 57.73 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/1.788, allocations: 359.1 kB / 1.082 GB, free: 57.48 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3289): time 3.061e-05/1.788, allocations: 0 / 1.082 GB, free: 57.48 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3445): time 0.6116/2.4, allocations: 147.2 MB / 1.225 GB, free: 152.8 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005486/2.4, allocations: 1.555 MB / 1.227 GB, free: 151.3 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0203/2.421, allocations: 13.88 MB / 1.24 GB, free: 149.7 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.0085/2.429, allocations: 0.5579 MB / 1.241 GB, free: 149.7 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.006365/2.436, allocations: 10.48 MB / 1.251 GB, free: 144.9 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.01478/2.45, allocations: 13.15 MB / 1.264 GB, free: 136.6 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0294/2.48, allocations: 8.204 MB / 1.272 GB, free: 136 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/2.48, allocations: 476.8 kB / 1.273 GB, free: 135.5 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02473/2.505, allocations: 9.399 MB / 1.282 GB, free: 135 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03419/2.539, allocations: 20.47 MB / 1.302 GB, free: 121 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05652/2.595, allocations: 30.23 MB / 1.331 GB, free: 104.3 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002914/2.596, allocations: 54.88 kB / 1.331 GB, free: 104.3 MB / 0.7137 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1064/2.702, allocations: 39.09 MB / 1.369 GB, free: 71.91 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/2.702, allocations: 86.69 kB / 1.37 GB, free: 71.83 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08252/2.785, allocations: 30.52 MB / 1.399 GB, free: 41.3 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5035/3.288, allocations: 109.3 MB / 1.506 GB, free: 152.6 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02128/3.309, allocations: 6.173 MB / 1.512 GB, free: 148 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0492/3.359, allocations: 28.26 MB / 1.54 GB, free: 127.3 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03061/3.389, allocations: 2.484 MB / 1.542 GB, free: 126.1 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01371/3.403, allocations: 1.903 MB / 1.544 GB, free: 124.8 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04182/3.445, allocations: 9.958 MB / 1.554 GB, free: 118 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03615/3.481, allocations: 20.41 MB / 1.574 GB, free: 98.05 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06499/3.546, allocations: 30.05 MB / 1.603 GB, free: 68.62 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004143/3.546, allocations: 56 kB / 1.603 GB, free: 68.56 MB / 0.7137 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.1292/3.675, allocations: 38.25 MB / 1.64 GB, free: 32.68 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/3.676, allocations: 88.77 kB / 1.64 GB, free: 32.6 MB / 0.7137 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.0966/3.772, allocations: 29.74 MB / 1.669 GB, free: 2.82 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4596/4.232, allocations: 103.4 MB / 1.77 GB, free: 189.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.021/4.253, allocations: 6.689 MB / 1.777 GB, free: 184.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04501/4.298, allocations: 36.45 MB / 1.813 GB, free: 155.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02574/4.324, allocations: 2.275 MB / 1.815 GB, free: 154.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0102/4.334, allocations: 1.896 MB / 1.817 GB, free: 153.5 MB / 0.7605 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.01747/4.351, allocations: 2.208 MB / 1.819 GB, free: 152.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.018/4.369, allocations: 3.399 MB / 1.822 GB, free: 151.1 MB / 0.7605 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.05144/4.421, allocations: 20.64 MB / 1.842 GB, free: 140 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 795] [Calling sys.exit(0), Time elapsed: 7.1915877792052925]