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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.009798/0.009798, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09296/0.09296, allocations: 18.24 MB / 42.19 MB, free: 5.184 MB / 33.03 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.0009818/0.0009818, allocations: 88.81 kB / 53.06 MB, free: 6.508 MB / 44.04 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.001123/0.001123, allocations: 161.4 kB / 64.04 MB, free: 10.2 MB / 58.72 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.8829/0.8829, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.5031/0.5031, allocations: 102.6 MB / 418.7 MB, free: 5.32 MB / 362.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-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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Pipes_Check_OnePhaseFlow_Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Pipes_Check_OnePhaseFlow_Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.603 GB, free: 340 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.985e-05, allocations: 2.281 kB / 0.603 GB, free: 336 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.02098/0.021, allocations: 31 MB / 0.6333 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03435/0.05534, allocations: 27.13 MB / 0.6598 GB, free: 5.984 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005634/0.06098, allocations: 206.4 kB / 0.66 GB, free: 5.781 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.004598/0.06558, allocations: 2.91 MB / 0.6628 GB, free: 2.852 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.2535/0.3191, allocations: 5.601 MB / 0.6683 GB, free: 17.87 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.3328, allocations: 7.214 MB / 0.6754 GB, free: 17.54 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.04104/0.3738, allocations: 54.77 MB / 0.7288 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02749/0.4013, allocations: 17.38 MB / 0.7458 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04222/0.4435, allocations: 24.8 MB / 0.77 GB, free: 7.566 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03039/0.4739, allocations: 21.49 MB / 0.791 GB, free: 3.516 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.01159/0.4855, allocations: 3.676 MB / 0.7946 GB, free: 15.83 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01748/0.503, allocations: 4.869 MB / 0.7994 GB, free: 11.1 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.01909/0.5221, allocations: 15.35 MB / 0.8144 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.03487/0.5569, allocations: 14.29 MB / 0.8283 GB, free: 14.76 MB / 0.6512 GB Notification: Performance of NFConvertDAE.convert: time 0.05989/0.6168, allocations: 55.76 MB / 0.8828 GB, free: 9.191 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6168, allocations: 3.094 kB / 0.8828 GB, free: 9.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/0.6168, allocations: 0 / 0.8828 GB, free: 9.191 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001735/0.6186, allocations: 8 kB / 0.8828 GB, free: 9.184 MB / 0.698 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.1136/0.7321, allocations: 41.67 MB / 0.9235 GB, free: 15.45 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.7322, allocations: 12.03 kB / 0.9235 GB, free: 15.43 MB / 0.7449 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01192/0.7441, allocations: 3.522 MB / 0.9269 GB, free: 11.92 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.7575, allocations: 3.447 MB / 0.9303 GB, free: 8.453 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0398/0.7973, allocations: 17.69 MB / 0.9476 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002367/0.7996, allocations: 2.413 MB / 0.9499 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01294/0.8126, allocations: 2.442 MB / 0.9523 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5875/1.4, allocations: 51.11 MB / 1.002 GB, free: 159.2 MB / 0.7606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007375/1.401, allocations: 145 kB / 1.002 GB, free: 159.2 MB / 0.7606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005196/1.406, allocations: 0.8277 MB / 1.003 GB, free: 158.6 MB / 0.7606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001933/1.408, allocations: 3.418 MB / 1.006 GB, free: 158.1 MB / 0.7606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1043/1.512, allocations: 65.75 MB / 1.071 GB, free: 110.7 MB / 0.7606 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.2395/1.752, allocations: 147.2 MB / 1.214 GB, free: 14.71 MB / 0.8075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05484/1.807, allocations: 34.97 MB / 1.249 GB, free: 11.5 MB / 0.8388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03393/1.84, allocations: 20.1 MB / 1.268 GB, free: 7.293 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003444/1.844, allocations: 0.8092 MB / 1.269 GB, free: 6.484 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/1.844, allocations: 352.6 kB / 1.269 GB, free: 6.141 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=3289): time 3.007e-05/1.844, allocations: 0 / 1.269 GB, free: 6.141 MB / 0.8544 GB Notification: Performance of matching and sorting (n=3445): time 0.6283/2.473, allocations: 198.8 MB / 1.464 GB, free: 177 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002969/2.473, allocations: 1.553 MB / 1.465 GB, free: 175.1 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01589/2.489, allocations: 16.37 MB / 1.481 GB, free: 159.2 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.008651/2.497, allocations: 0.5564 MB / 1.482 GB, free: 158.7 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00367/2.501, allocations: 10.1 MB / 1.491 GB, free: 149.8 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.01244/2.513, allocations: 12.7 MB / 1.504 GB, free: 137.9 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01078/2.524, allocations: 7.896 MB / 1.512 GB, free: 129.9 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 3.115e-05/2.524, allocations: 305.1 kB / 1.512 GB, free: 129.6 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02901/2.553, allocations: 22.4 MB / 1.534 GB, free: 107.2 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03404/2.587, allocations: 30.49 MB / 1.563 GB, free: 73.86 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.385/2.972, allocations: 52.32 MB / 1.615 GB, free: 251.8 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002411/2.973, allocations: 53.88 kB / 1.615 GB, free: 251.8 MB / 0.8544 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1407/3.113, allocations: 68.94 MB / 1.682 GB, free: 229.7 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/3.113, allocations: 88.06 kB / 1.682 GB, free: 229.7 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1066/3.22, allocations: 60.72 MB / 1.741 GB, free: 198.1 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1505/3.37, allocations: 118.7 MB / 1.857 GB, free: 79.11 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0206/3.391, allocations: 6.041 MB / 1.863 GB, free: 73.06 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3586/3.75, allocations: 54.75 MB / 1.917 GB, free: 263.6 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02689/3.777, allocations: 2.391 MB / 1.919 GB, free: 263.6 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009896/3.786, allocations: 1.902 MB / 1.921 GB, free: 263.6 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.05832/3.845, allocations: 29.23 MB / 1.949 GB, free: 256.4 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04303/3.888, allocations: 30.38 MB / 1.979 GB, free: 239.5 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08594/3.974, allocations: 52.11 MB / 2.03 GB, free: 210.6 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003146/3.974, allocations: 55.36 kB / 2.03 GB, free: 210.6 MB / 0.8544 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.138/4.112, allocations: 67.01 MB / 2.095 GB, free: 147.9 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/4.112, allocations: 88 kB / 2.096 GB, free: 147.8 MB / 0.8544 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.1162/4.228, allocations: 58.83 MB / 2.153 GB, free: 88.82 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.47/4.698, allocations: 111.4 MB / 2.262 GB, free: 247.7 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02264/4.721, allocations: 6.58 MB / 2.268 GB, free: 247.6 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07982/4.801, allocations: 57.16 MB / 2.324 GB, free: 218.7 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02803/4.829, allocations: 2.177 MB / 2.326 GB, free: 216.9 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01221/4.841, allocations: 1.909 MB / 2.328 GB, free: 215.3 MB / 0.8544 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.01959/4.861, allocations: 2.121 MB / 2.33 GB, free: 213.3 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01125/4.872, allocations: 2.564 MB / 2.333 GB, free: 212.1 MB / 0.8544 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 1.9.0-ClaRa/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.05919/4.931, allocations: 31.56 MB / 2.363 GB, free: 185.3 MB / 0.8544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 795] [Calling sys.exit(0), Time elapsed: 7.717370701953769]