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.0147/0.0147, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001461/0.001461, allocations: 82.8 kB / 25.4 MB, free: 7 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.001717/0.001717, allocations: 158.3 kB / 29.33 MB, free: 3.137 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.9239/0.9239, allocations: 177.2 MB / 210.3 MB, free: 3.465 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.567/0.567, allocations: 102.4 MB / 369.9 MB, free: 272 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.974e-06/1.974e-06, allocations: 2.906 kB / 470.5 MB, free: 18.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.235e-05, allocations: 5.422 kB / 470.5 MB, free: 18.77 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.1275/0.1275, allocations: 84.02 MB / 0.5415 GB, free: 3.559 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03753/0.1651, allocations: 27.71 MB / 0.5686 GB, free: 7.777 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006931/0.172, allocations: 206.4 kB / 0.5688 GB, free: 7.574 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006726/0.1787, allocations: 2.906 MB / 0.5716 GB, free: 4.648 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.191, allocations: 5.612 MB / 0.5771 GB, free: 15 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01282/0.2039, allocations: 7.258 MB / 0.5842 GB, free: 7.727 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.03812/0.242, allocations: 54.77 MB / 0.6376 GB, free: 0.8164 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2428/0.4848, allocations: 18.53 MB / 0.6557 GB, free: 28.58 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1618/0.6466, allocations: 70.06 MB / 0.7242 GB, free: 1.656 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03462/0.6813, allocations: 21.52 MB / 0.7452 GB, free: 0.7734 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.01266/0.6939, allocations: 3.586 MB / 0.7487 GB, free: 0.7734 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01985/0.7138, allocations: 4.766 MB / 0.7533 GB, free: 0.5352 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.02187/0.7356, allocations: 15.63 MB / 0.7686 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.02745/0.7631, allocations: 14.16 MB / 0.7824 GB, free: 10.27 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.05212/0.8152, allocations: 38.18 MB / 0.8197 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8152, allocations: 0 / 0.8197 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8152, allocations: 0 / 0.8197 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.00153/0.8168, allocations: 0 / 0.8197 GB, free: 12.18 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.09094/0.9077, allocations: 41.23 MB / 0.86 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.9077, allocations: 12.02 kB / 0.86 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/0.9262, allocations: 4.967 MB / 0.8648 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02552/0.9517, allocations: 13.12 MB / 0.8776 GB, free: 4.086 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002409/0.9541, allocations: 2.38 MB / 0.88 GB, free: 1.633 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009849/0.9639, allocations: 2.441 MB / 0.8824 GB, free: 15.27 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06617/1.03, allocations: 29.39 MB / 0.9111 GB, free: 1.047 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001007/1.031, allocations: 144.2 kB / 0.9112 GB, free: 0.957 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006875/1.038, allocations: 0.8278 MB / 0.912 GB, free: 152 kB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4154/1.453, allocations: 3.418 MB / 0.9153 GB, free: 161.3 MB / 0.6825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05179/1.505, allocations: 24.56 MB / 0.9393 GB, free: 160.7 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.1892/1.694, allocations: 135 MB / 1.071 GB, free: 75.85 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02604/1.72, allocations: 20.2 MB / 1.091 GB, free: 55.82 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01465/1.735, allocations: 7.756 MB / 1.098 GB, free: 48.05 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003637/1.739, allocations: 1.704 MB / 1.1 GB, free: 46.86 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/1.739, allocations: 360.4 kB / 1.1 GB, free: 46.51 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=3289): time 2.915e-05/1.739, allocations: 0.9062 kB / 1.1 GB, free: 46.51 MB / 0.6825 GB Notification: Performance of matching and sorting (n=3445): time 0.1928/1.932, allocations: 73.43 MB / 1.172 GB, free: 1.352 MB / 0.6981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006152/1.932, allocations: 1.799 MB / 1.174 GB, free: 15.2 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/1.946, allocations: 13.32 MB / 1.187 GB, free: 4.555 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.005982/1.952, allocations: 0.5564 MB / 1.188 GB, free: 3.992 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.2427/2.195, allocations: 10.57 MB / 1.198 GB, free: 177.7 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.01372/2.209, allocations: 13.24 MB / 1.211 GB, free: 170.5 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0236/2.232, allocations: 8.352 MB / 1.219 GB, free: 169.9 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/2.232, allocations: 479.8 kB / 1.219 GB, free: 169.5 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01922/2.252, allocations: 8.378 MB / 1.228 GB, free: 169.1 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0309/2.283, allocations: 19.93 MB / 1.247 GB, free: 157 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05449/2.337, allocations: 28.57 MB / 1.275 GB, free: 146.1 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004952/2.338, allocations: 56 kB / 1.275 GB, free: 146.1 MB / 0.7138 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.0944/2.432, allocations: 36.29 MB / 1.31 GB, free: 137.1 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/2.432, allocations: 84 kB / 1.311 GB, free: 137 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05504/2.487, allocations: 28.05 MB / 1.338 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1351/2.622, allocations: 108.5 MB / 1.444 GB, free: 5.734 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/2.64, allocations: 6.038 MB / 1.45 GB, free: 84 kB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3328/2.973, allocations: 26.52 MB / 1.476 GB, free: 166.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0264/2.999, allocations: 2.102 MB / 1.478 GB, free: 166.9 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009009/3.008, allocations: 1.588 MB / 1.479 GB, free: 166.9 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03408/3.042, allocations: 8.941 MB / 1.488 GB, free: 166.7 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0314/3.074, allocations: 19.88 MB / 1.507 GB, free: 154.6 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05901/3.133, allocations: 28.4 MB / 1.535 GB, free: 143.6 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004671/3.133, allocations: 57.31 kB / 1.535 GB, free: 143.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 matching and sorting (n=5130) (initialization_lambda0): time 0.1034/3.237, allocations: 35.57 MB / 1.57 GB, free: 129.7 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002522/3.237, allocations: 84 kB / 1.57 GB, free: 129.7 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.07908/3.316, allocations: 27.39 MB / 1.597 GB, free: 106 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1262/3.442, allocations: 103 MB / 1.697 GB, free: 3.457 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02107/3.463, allocations: 6.537 MB / 1.704 GB, free: 13.33 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3452/3.808, allocations: 34.71 MB / 1.738 GB, free: 185.1 MB / 0.7606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0221/3.83, allocations: 1.889 MB / 1.739 GB, free: 185.1 MB / 0.7606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007933/3.838, allocations: 1.581 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.01709/3.855, allocations: 2.214 MB / 1.743 GB, free: 184.9 MB / 0.7606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01717/3.873, allocations: 3.403 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.04698/3.92, 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: 6.520707947202027]