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.008378/0.008378, allocations: 1.794 MB / 21.35 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.0008253/0.0008253, allocations: 89.09 kB / 25.15 MB, free: 6.316 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.0009128/0.0009128, allocations: 163.2 kB / 29.05 MB, free: 3.352 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.9261/0.9261, allocations: 177.1 MB / 210 MB, free: 3.602 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.5806/0.5806, allocations: 102.4 MB / 369.5 MB, free: 392 kB / 330.7 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.393e-06/1.393e-06, allocations: 3.938 kB / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.793e-05, allocations: 2.969 kB / 470 MB, free: 18.94 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.12/0.12, allocations: 85.19 MB / 0.5422 GB, free: 2.629 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03381/0.1538, allocations: 27.8 MB / 0.5693 GB, free: 6.754 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005196/0.159, allocations: 206.4 kB / 0.5695 GB, free: 6.551 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004631/0.1636, allocations: 2.906 MB / 0.5724 GB, free: 3.625 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.1739, allocations: 5.605 MB / 0.5778 GB, free: 13.98 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.1853, allocations: 7.25 MB / 0.5849 GB, free: 6.719 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.04091/0.2262, allocations: 54.76 MB / 0.6384 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2552/0.4813, allocations: 18.52 MB / 0.6565 GB, free: 28.31 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03647/0.5178, allocations: 24.82 MB / 0.6807 GB, free: 28.31 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03122/0.549, allocations: 21.52 MB / 0.7017 GB, free: 28.22 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.01373/0.5627, allocations: 3.675 MB / 0.7053 GB, free: 28.22 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01401/0.5768, allocations: 4.871 MB / 0.7101 GB, free: 28.22 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.01181/0.5886, allocations: 15.24 MB / 0.725 GB, free: 25.91 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.02247/0.611, allocations: 14.32 MB / 0.7389 GB, free: 23.16 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.03601/0.647, allocations: 38.53 MB / 0.7766 GB, free: 1.41 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6471, allocations: 0 / 0.7766 GB, free: 1.41 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6471, allocations: 0 / 0.7766 GB, free: 1.41 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.001404/0.6485, allocations: 0 / 0.7766 GB, free: 1.41 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.09246/0.7409, allocations: 43.78 MB / 0.8193 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.741, allocations: 12.91 kB / 0.8193 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.7532, allocations: 5.028 MB / 0.8242 GB, free: 5.191 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03068/0.7839, allocations: 15.7 MB / 0.8396 GB, free: 6.344 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002228/0.7861, allocations: 2.377 MB / 0.8419 GB, free: 3.891 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008508/0.7946, allocations: 2.439 MB / 0.8443 GB, free: 1.477 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06744/0.862, allocations: 31.91 MB / 0.8754 GB, free: 15.54 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008284/0.8629, allocations: 132.6 kB / 0.8756 GB, free: 15.45 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005177/0.868, allocations: 0.8318 MB / 0.8764 GB, free: 14.64 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002476/0.8705, allocations: 3.422 MB / 0.8797 GB, free: 11.22 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2915/1.162, allocations: 31.57 MB / 0.9106 GB, free: 148.3 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.2112/1.373, allocations: 142.6 MB / 1.05 GB, free: 71.12 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03893/1.412, allocations: 22.08 MB / 1.071 GB, free: 60.91 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02034/1.433, allocations: 9.216 MB / 1.08 GB, free: 57.9 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003826/1.436, allocations: 0.9766 MB / 1.081 GB, free: 57.63 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/1.437, allocations: 354.8 kB / 1.082 GB, free: 57.38 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3289): time 3.053e-05/1.437, allocations: 0 / 1.082 GB, free: 57.38 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3445): time 0.6387/2.075, allocations: 147.2 MB / 1.225 GB, free: 152.8 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004206/2.076, allocations: 1.551 MB / 1.227 GB, free: 151.2 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02237/2.098, allocations: 13.88 MB / 1.24 GB, free: 149.7 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.008201/2.106, allocations: 0.5588 MB / 1.241 GB, free: 149.7 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.007265/2.114, allocations: 10.48 MB / 1.251 GB, free: 144.9 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.01324/2.127, allocations: 13.15 MB / 1.264 GB, free: 136.6 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03053/2.157, allocations: 8.203 MB / 1.272 GB, free: 136 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/2.158, allocations: 480.3 kB / 1.273 GB, free: 135.5 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02798/2.185, allocations: 9.398 MB / 1.282 GB, free: 135 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04017/2.226, allocations: 20.47 MB / 1.302 GB, free: 121 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06166/2.287, allocations: 30.23 MB / 1.331 GB, free: 104.3 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003259/2.288, allocations: 52 kB / 1.331 GB, free: 104.3 MB / 0.7137 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1187/2.406, allocations: 39.1 MB / 1.369 GB, free: 71.87 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/2.407, allocations: 88.62 kB / 1.37 GB, free: 71.79 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08056/2.487, allocations: 30.51 MB / 1.399 GB, free: 41.25 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4247/2.912, allocations: 109.3 MB / 1.506 GB, free: 153.7 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01919/2.931, allocations: 6.172 MB / 1.512 GB, free: 149.1 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04366/2.975, allocations: 28.27 MB / 1.54 GB, free: 128.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02465/2.999, allocations: 2.488 MB / 1.542 GB, free: 127.2 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009175/3.009, allocations: 1.903 MB / 1.544 GB, free: 126 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03742/3.046, allocations: 9.954 MB / 1.554 GB, free: 119.1 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03314/3.079, allocations: 20.41 MB / 1.574 GB, free: 99.18 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05607/3.135, allocations: 30.04 MB / 1.603 GB, free: 69.41 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003084/3.135, allocations: 60 kB / 1.603 GB, free: 69.35 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.131/3.266, allocations: 38.25 MB / 1.64 GB, free: 33.46 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/3.267, allocations: 86.19 kB / 1.64 GB, free: 33.38 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.0824/3.349, allocations: 29.74 MB / 1.669 GB, free: 3.609 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4387/3.788, allocations: 103.4 MB / 1.77 GB, free: 172.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02131/3.809, allocations: 6.687 MB / 1.777 GB, free: 167.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04728/3.856, allocations: 36.45 MB / 1.813 GB, free: 139.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02642/3.883, allocations: 2.271 MB / 1.815 GB, free: 138 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01001/3.893, allocations: 1.9 MB / 1.817 GB, free: 136.7 MB / 0.7449 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.01624/3.909, allocations: 2.211 MB / 1.819 GB, free: 136.1 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01811/3.927, allocations: 3.399 MB / 1.822 GB, free: 134.4 MB / 0.7449 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.05135/3.978, allocations: 20.64 MB / 1.842 GB, free: 123.2 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 6.602155629079789]