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.01201/0.01201, allocations: 1.772 MB / 20.62 MB, free: 4 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.1065/0.1065, allocations: 25.61 MB / 49.71 MB, free: 0.6562 MB / 33.04 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.001174/0.001174, allocations: 119.2 kB / 60.65 MB, free: 5.918 MB / 44.05 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.001992/0.001992, allocations: 219 kB / 71.72 MB, free: 9.523 MB / 58.74 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 1.045/1.045, allocations: 230.6 MB / 313.3 MB, free: 5.191 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.6274/0.6274, allocations: 130.8 MB / 0.4964 GB, free: 2.637 MB / 378.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: SMArtInt 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: 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: ClaRa 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: Performance of FrontEnd - loaded program: time 0.004498/0.004498, allocations: 155.8 kB / 0.6902 GB, free: 1.539 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4055, allocations: 89.26 MB / 0.7773 GB, free: 7.629 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.02241/0.4279, allocations: 31.04 MB / 0.8077 GB, free: 332 kB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.03714/0.465, allocations: 27.39 MB / 0.8344 GB, free: 7.152 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007105/0.4721, allocations: 206.4 kB / 0.8346 GB, free: 6.949 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.005492/0.4776, allocations: 2.887 MB / 0.8374 GB, free: 4.043 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.4882, allocations: 5.423 MB / 0.8427 GB, free: 14.59 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.01329/0.5015, allocations: 7.144 MB / 0.8497 GB, free: 7.434 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.03974/0.5412, allocations: 53.82 MB / 0.9023 GB, free: 1.484 MB / 0.6512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02416/0.5654, allocations: 17.27 MB / 0.9191 GB, free: 88 kB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02853/0.5939, allocations: 18.28 MB / 0.937 GB, free: 13.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03221/0.6261, allocations: 22.68 MB / 0.9591 GB, free: 7.02 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 0.01158/0.6377, allocations: 3.676 MB / 0.9627 GB, free: 3.344 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/0.6529, allocations: 4.829 MB / 0.9674 GB, free: 14.51 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.01511/0.668, allocations: 14.96 MB / 0.982 GB, free: 15.52 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.02805/0.696, allocations: 16.52 MB / 0.9982 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.7826/1.479, allocations: 52.91 MB / 1.05 GB, free: 103.9 MB / 0.7919 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.479, allocations: 1.188 kB / 1.05 GB, free: 103.9 MB / 0.7919 GB Notification: Performance of FrontEnd: time 2.705e-06/1.479, allocations: 2.25 kB / 1.05 GB, free: 103.9 MB / 0.7919 GB Notification: Performance of Transformations before backend: time 0.001861/1.481, allocations: 0 / 1.05 GB, free: 103.9 MB / 0.7919 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.1302/1.611, allocations: 42.01 MB / 1.091 GB, free: 91.81 MB / 0.7919 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.611, allocations: 11 kB / 1.091 GB, free: 91.81 MB / 0.7919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01425/1.625, allocations: 3.519 MB / 1.094 GB, free: 91.58 MB / 0.7919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/1.644, allocations: 3.449 MB / 1.098 GB, free: 89.72 MB / 0.7919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04663/1.69, allocations: 17.68 MB / 1.115 GB, free: 86.69 MB / 0.7919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002809/1.693, allocations: 2.41 MB / 1.117 GB, free: 86.14 MB / 0.7919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01436/1.708, allocations: 2.44 MB / 1.12 GB, free: 86.04 MB / 0.7919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1049/1.812, allocations: 51.1 MB / 1.17 GB, free: 50.38 MB / 0.7919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001532/1.814, allocations: 145.1 kB / 1.17 GB, free: 50.27 MB / 0.7919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01149/1.825, allocations: 0.8346 MB / 1.171 GB, free: 49.46 MB / 0.7919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/1.827, allocations: 3.422 MB / 1.174 GB, free: 46.04 MB / 0.7919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1267/1.954, allocations: 65.74 MB / 1.238 GB, free: 12.58 MB / 0.8232 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.2936/2.248, allocations: 147.3 MB / 1.382 GB, free: 9.938 MB / 0.9638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4148/2.663, allocations: 34.96 MB / 1.416 GB, free: 357.9 MB / 0.9794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03499/2.698, allocations: 20.09 MB / 1.436 GB, free: 350.2 MB / 0.9794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003726/2.701, allocations: 0.8067 MB / 1.437 GB, free: 350.1 MB / 0.9794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/2.702, allocations: 349.1 kB / 1.437 GB, free: 349.9 MB / 0.9794 GB Notification: Performance of pre-optimization done (n=3289): time 3.061e-05/2.702, allocations: 3.984 kB / 1.437 GB, free: 349.9 MB / 0.9794 GB Notification: Performance of matching and sorting (n=3445): time 0.4528/3.154, allocations: 198.9 MB / 1.631 GB, free: 195.6 MB / 0.9794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003594/3.155, allocations: 1.549 MB / 1.633 GB, free: 193.7 MB / 0.9794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02219/3.177, allocations: 16.37 MB / 1.649 GB, free: 177.5 MB / 0.9794 GB Notification: Performance of collectPreVariables (initialization): time 0.008587/3.186, allocations: 0.5564 MB / 1.649 GB, free: 176.9 MB / 0.9794 GB Notification: Performance of collectInitialEqns (initialization): time 0.006248/3.192, allocations: 10.14 MB / 1.659 GB, free: 166.8 MB / 0.9794 GB Notification: Performance of collectInitialBindings (initialization): time 0.01406/3.206, allocations: 12.86 MB / 1.672 GB, free: 154.1 MB / 0.9794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03565/3.242, allocations: 7.959 MB / 1.679 GB, free: 146.1 MB / 0.9794 GB Notification: Performance of setup shared object (initialization): time 3.603e-05/3.242, allocations: 305.1 kB / 1.68 GB, free: 145.8 MB / 0.9794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04072/3.282, allocations: 22.41 MB / 1.702 GB, free: 123.4 MB / 0.9794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04809/3.33, allocations: 30.49 MB / 1.731 GB, free: 90.05 MB / 0.9794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09041/3.421, allocations: 52.33 MB / 1.782 GB, free: 35.02 MB / 0.9794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002483/3.421, allocations: 56 kB / 1.782 GB, free: 34.97 MB / 0.9794 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.5579/3.979, allocations: 68.93 MB / 1.85 GB, free: 319.6 MB / 0.9794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/3.979, allocations: 89.53 kB / 1.85 GB, free: 319.6 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1346/4.114, allocations: 60.72 MB / 1.909 GB, free: 272.8 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1504/4.264, allocations: 118.7 MB / 2.025 GB, free: 154.1 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01906/4.283, allocations: 6.029 MB / 2.031 GB, free: 148.1 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09362/4.377, allocations: 54.77 MB / 2.084 GB, free: 93.38 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02957/4.406, allocations: 2.389 MB / 2.087 GB, free: 91.2 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01081/4.417, allocations: 1.897 MB / 2.089 GB, free: 89.3 MB / 0.9794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0601/4.477, allocations: 29.23 MB / 2.117 GB, free: 60.04 MB / 0.9794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04665/4.524, allocations: 30.38 MB / 2.147 GB, free: 26.82 MB / 0.9794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4746/4.999, allocations: 52.1 MB / 2.198 GB, free: 305.1 MB / 0.9794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002742/4.999, allocations: 54.44 kB / 2.198 GB, free: 305.1 MB / 0.9794 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.1804/5.179, allocations: 67 MB / 2.263 GB, free: 261.2 MB / 0.9794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001849/5.179, allocations: 86.53 kB / 2.263 GB, free: 261.1 MB / 0.9794 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.1268/5.306, allocations: 58.84 MB / 2.321 GB, free: 205.4 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.156/5.462, allocations: 111.4 MB / 2.43 GB, free: 93.82 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02153/5.484, allocations: 6.572 MB / 2.436 GB, free: 87.24 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08901/5.573, allocations: 57.18 MB / 2.492 GB, free: 29.8 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02753/5.6, allocations: 2.178 MB / 2.494 GB, free: 27.65 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01022/5.61, allocations: 1.893 MB / 2.496 GB, free: 25.76 MB / 0.9794 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.01974/5.63, allocations: 2.13 MB / 2.498 GB, free: 23.73 MB / 0.9794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01266/5.643, allocations: 2.563 MB / 2.5 GB, free: 22.6 MB / 0.9794 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.4331/6.076, allocations: 31.55 MB / 2.531 GB, free: 320.3 MB / 0.9794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 794] [Calling sys.exit(0), Time elapsed: 9.076986099593341]