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.008583/0.008583, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0008314/0.0008314, allocations: 86.36 kB / 25.61 MB, free: 6.992 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.0009024/0.0009024, allocations: 167 kB / 29.46 MB, free: 3.191 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.9047/0.9047, allocations: 177.1 MB / 210.3 MB, free: 3.59 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.5869/0.5869, allocations: 102.5 MB / 369.8 MB, free: 328 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.473e-06/1.473e-06, allocations: 0 / 469.9 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.261e-05, allocations: 3.859 kB / 469.9 MB, free: 19.02 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.122/0.122, allocations: 85 MB / 0.5419 GB, free: 3.172 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03336/0.1553, allocations: 27.77 MB / 0.569 GB, free: 7.324 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005669/0.161, allocations: 202.4 kB / 0.5692 GB, free: 7.125 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004724/0.1657, allocations: 2.902 MB / 0.5721 GB, free: 4.203 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008438/0.1742, allocations: 5.605 MB / 0.5775 GB, free: 14.56 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.009823/0.184, allocations: 7.246 MB / 0.5846 GB, free: 7.301 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.03446/0.2185, allocations: 54.77 MB / 0.6381 GB, free: 404 kB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2302/0.4487, allocations: 18.52 MB / 0.6562 GB, free: 28.03 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03932/0.488, allocations: 24.83 MB / 0.6804 GB, free: 28.03 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02935/0.5173, allocations: 21.52 MB / 0.7014 GB, free: 27.94 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0141/0.5314, allocations: 3.674 MB / 0.705 GB, free: 27.94 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01903/0.5505, allocations: 4.868 MB / 0.7098 GB, free: 27.94 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.01914/0.5696, allocations: 15.25 MB / 0.7247 GB, free: 25.7 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.02554/0.5952, allocations: 14.32 MB / 0.7386 GB, free: 22.95 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.03799/0.6331, allocations: 38.53 MB / 0.7763 GB, free: 1.742 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6331, allocations: 3.344 kB / 0.7763 GB, free: 1.742 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6331, allocations: 0 / 0.7763 GB, free: 1.742 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.001674/0.6348, allocations: 0 / 0.7763 GB, free: 1.742 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.104/0.7388, allocations: 43.77 MB / 0.819 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.7388, allocations: 8.031 kB / 0.819 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0151/0.7539, allocations: 5.025 MB / 0.8239 GB, free: 5.531 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02844/0.7824, allocations: 15.69 MB / 0.8393 GB, free: 6.684 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002332/0.7847, allocations: 2.373 MB / 0.8416 GB, free: 4.234 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008123/0.7928, allocations: 2.441 MB / 0.844 GB, free: 1.824 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05284/0.8457, allocations: 31.92 MB / 0.8751 GB, free: 15.87 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005597/0.8462, allocations: 131.5 kB / 0.8753 GB, free: 15.78 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002546/0.8488, allocations: 0.8239 MB / 0.8761 GB, free: 14.98 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.8509, allocations: 3.426 MB / 0.8794 GB, free: 11.55 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.245/1.096, allocations: 31.57 MB / 0.9102 GB, free: 218.2 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.1834/1.279, allocations: 142.6 MB / 1.049 GB, free: 125.8 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03407/1.313, allocations: 22.07 MB / 1.071 GB, free: 114.9 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0181/1.332, allocations: 9.212 MB / 1.08 GB, free: 105.6 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002844/1.334, allocations: 0.9741 MB / 1.081 GB, free: 104.6 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/1.335, allocations: 356.2 kB / 1.081 GB, free: 104.2 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3289): time 4.036e-05/1.335, allocations: 0 / 1.081 GB, free: 104.2 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3445): time 0.4147/1.749, allocations: 147.2 MB / 1.225 GB, free: 195.9 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004211/1.75, allocations: 1.551 MB / 1.227 GB, free: 194.4 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01756/1.767, allocations: 13.88 MB / 1.24 GB, free: 192.9 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.006024/1.773, allocations: 0.554 MB / 1.241 GB, free: 192.8 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.004817/1.778, allocations: 10.49 MB / 1.251 GB, free: 186.2 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.01004/1.788, allocations: 13.15 MB / 1.264 GB, free: 175.9 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01145/1.8, allocations: 8.206 MB / 1.272 GB, free: 172.3 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/1.8, allocations: 476.8 kB / 1.272 GB, free: 171.8 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01662/1.816, allocations: 9.392 MB / 1.281 GB, free: 170.5 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02306/1.839, allocations: 20.47 MB / 1.301 GB, free: 156.5 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04662/1.886, allocations: 30.23 MB / 1.331 GB, free: 132.4 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002406/1.886, allocations: 52 kB / 1.331 GB, free: 132.3 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.08174/1.968, allocations: 39.09 MB / 1.369 GB, free: 93.27 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/1.968, allocations: 84 kB / 1.369 GB, free: 93.19 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05781/2.026, allocations: 30.52 MB / 1.399 GB, free: 62.61 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3432/2.369, allocations: 109.3 MB / 1.506 GB, free: 163.9 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01813/2.387, allocations: 6.178 MB / 1.512 GB, free: 159.3 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04203/2.429, allocations: 28.27 MB / 1.539 GB, free: 138.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02146/2.451, allocations: 2.484 MB / 1.542 GB, free: 137.4 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005504/2.456, allocations: 1.902 MB / 1.544 GB, free: 136.1 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02508/2.481, allocations: 9.954 MB / 1.553 GB, free: 129.3 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02124/2.503, allocations: 20.41 MB / 1.573 GB, free: 106.8 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03849/2.541, allocations: 30.05 MB / 1.603 GB, free: 73.14 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002418/2.541, allocations: 55.94 kB / 1.603 GB, free: 73.09 MB / 0.6824 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.0802/2.621, allocations: 38.25 MB / 1.64 GB, free: 35.96 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/2.622, allocations: 88 kB / 1.64 GB, free: 35.88 MB / 0.6824 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.0648/2.686, allocations: 29.74 MB / 1.669 GB, free: 6.023 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3511/3.038, allocations: 103.4 MB / 1.77 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01979/3.057, allocations: 6.685 MB / 1.777 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04052/3.098, allocations: 36.45 MB / 1.812 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02049/3.118, allocations: 2.278 MB / 1.815 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004196/3.123, allocations: 1.893 MB / 1.816 GB, free: 114.6 MB / 0.698 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.006654/3.129, allocations: 2.208 MB / 1.819 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006056/3.135, allocations: 3.403 MB / 1.822 GB, free: 111.9 MB / 0.698 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.02533/3.161, allocations: 20.64 MB / 1.842 GB, free: 92.98 MB / 0.698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 5.831115372944623]