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 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.01289/0.01289, allocations: 1.771 MB / 20.61 MB, free: 3.871 MB / 13.93 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.08424/0.08424, allocations: 25.61 MB / 49.71 MB, free: 2.766 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.001078/0.001078, allocations: 110.1 kB / 60.65 MB, free: 2.902 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.001294/0.001294, allocations: 217.2 kB / 71.72 MB, free: 6.461 MB / 44.04 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.975/0.975, allocations: 230.6 MB / 313.3 MB, free: 11.75 MB / 234.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.7537/0.7537, allocations: 130.7 MB / 0.4963 GB, free: 2.18 MB / 362.8 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 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_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_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.002724/0.002724, allocations: 153.8 kB / 0.6901 GB, free: 47.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1595, allocations: 89.26 MB / 0.7772 GB, free: 2.969 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.022/0.1815, allocations: 31.04 MB / 0.8076 GB, free: 3.801 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03785/0.2193, allocations: 27.39 MB / 0.8343 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008692/0.228, allocations: 210.4 kB / 0.8345 GB, free: 8.125 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.007656/0.2357, allocations: 2.89 MB / 0.8373 GB, free: 5.219 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.2494, allocations: 5.427 MB / 0.8426 GB, free: 15.76 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.2637, allocations: 7.139 MB / 0.8496 GB, free: 8.617 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.03941/0.3031, allocations: 53.82 MB / 0.9022 GB, free: 2.668 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3698/0.6729, allocations: 17.27 MB / 0.919 GB, free: 15.77 MB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03227/0.7051, allocations: 18.27 MB / 0.9369 GB, free: 14.32 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03358/0.7387, allocations: 22.68 MB / 0.959 GB, free: 10.93 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 0.01448/0.7532, allocations: 3.674 MB / 0.9626 GB, free: 10.93 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01869/0.7719, allocations: 4.828 MB / 0.9673 GB, free: 10.69 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 0.01959/0.7915, allocations: 14.96 MB / 0.9819 GB, free: 5.199 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 0.03224/0.8237, allocations: 16.52 MB / 0.9981 GB, free: 14.07 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.06246/0.8862, allocations: 52.93 MB / 1.05 GB, free: 12.04 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8862, allocations: 0 / 1.05 GB, free: 12.04 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8862, allocations: 0.5312 kB / 1.05 GB, free: 12.04 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 0.001723/0.8879, allocations: 0.7188 kB / 1.05 GB, free: 12.04 MB / 0.7293 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.1206/1.009, allocations: 42 MB / 1.091 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.009, allocations: 12.03 kB / 1.091 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01189/1.02, allocations: 3.525 MB / 1.094 GB, free: 14.43 MB / 0.7762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/1.036, allocations: 3.451 MB / 1.098 GB, free: 10.96 MB / 0.7762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04215/1.078, allocations: 17.68 MB / 1.115 GB, free: 10.13 MB / 0.7918 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002462/1.081, allocations: 2.415 MB / 1.117 GB, free: 7.641 MB / 0.7918 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01147/1.092, allocations: 2.441 MB / 1.12 GB, free: 5.227 MB / 0.7918 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1021/1.194, allocations: 51.1 MB / 1.17 GB, free: 0.5742 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001185/1.196, allocations: 141.7 kB / 1.17 GB, free: 484 kB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009148/1.205, allocations: 0.8369 MB / 1.17 GB, free: 15.66 MB / 0.8543 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/1.207, allocations: 3.421 MB / 1.174 GB, free: 12.25 MB / 0.8543 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1209/1.328, allocations: 65.74 MB / 1.238 GB, free: 10.78 MB / 0.9168 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.9061/2.234, allocations: 147.3 MB / 1.382 GB, free: 204.2 MB / 0.9169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04744/2.281, allocations: 34.97 MB / 1.416 GB, free: 169 MB / 0.9169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03355/2.315, allocations: 20.08 MB / 1.436 GB, free: 148.8 MB / 0.9169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004567/2.32, allocations: 0.8093 MB / 1.436 GB, free: 148 MB / 0.9169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/2.32, allocations: 348.7 kB / 1.437 GB, free: 147.6 MB / 0.9169 GB Notification: Performance of pre-optimization done (n=3289): time 3.643e-05/2.32, allocations: 8 kB / 1.437 GB, free: 147.6 MB / 0.9169 GB Notification: Performance of matching and sorting (n=3445): time 0.8171/3.137, allocations: 198.9 MB / 1.631 GB, free: 308.7 MB / 0.9482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003924/3.137, allocations: 1.552 MB / 1.633 GB, free: 307.1 MB / 0.9482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02452/3.162, allocations: 16.37 MB / 1.648 GB, free: 302.2 MB / 0.9482 GB Notification: Performance of collectPreVariables (initialization): time 0.008042/3.17, allocations: 0.5606 MB / 1.649 GB, free: 301.7 MB / 0.9482 GB Notification: Performance of collectInitialEqns (initialization): time 0.006185/3.176, allocations: 10.14 MB / 1.659 GB, free: 297.1 MB / 0.9482 GB Notification: Performance of collectInitialBindings (initialization): time 0.01358/3.19, allocations: 12.85 MB / 1.671 GB, free: 287.9 MB / 0.9482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03184/3.222, allocations: 7.966 MB / 1.679 GB, free: 284.7 MB / 0.9482 GB Notification: Performance of setup shared object (initialization): time 3.667e-05/3.222, allocations: 305.1 kB / 1.68 GB, free: 284.4 MB / 0.9482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04305/3.265, allocations: 22.41 MB / 1.701 GB, free: 275 MB / 0.9482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04762/3.312, allocations: 30.48 MB / 1.731 GB, free: 254.1 MB / 0.9482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08256/3.395, allocations: 52.33 MB / 1.782 GB, free: 206.1 MB / 0.9482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002418/3.395, allocations: 56 kB / 1.782 GB, free: 206 MB / 0.9482 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1363/3.531, allocations: 68.93 MB / 1.85 GB, free: 136.9 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/3.532, allocations: 91.94 kB / 1.85 GB, free: 136.9 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1269/3.658, allocations: 60.72 MB / 1.909 GB, free: 76.02 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.535/4.194, allocations: 118.7 MB / 2.025 GB, free: 295.1 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02521/4.219, allocations: 6.03 MB / 2.031 GB, free: 290.5 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08707/4.306, allocations: 54.77 MB / 2.084 GB, free: 241.4 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03135/4.337, allocations: 2.394 MB / 2.087 GB, free: 239.2 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01227/4.349, allocations: 1.897 MB / 2.089 GB, free: 237.3 MB / 0.9482 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.05809/4.408, allocations: 29.23 MB / 2.117 GB, free: 208 MB / 0.9482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04341/4.451, allocations: 30.37 MB / 2.147 GB, free: 174.8 MB / 0.9482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08329/4.534, allocations: 52.1 MB / 2.198 GB, free: 120 MB / 0.9482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001992/4.534, allocations: 56 kB / 2.198 GB, free: 119.9 MB / 0.9482 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.672, allocations: 67 MB / 2.263 GB, free: 54.08 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/4.673, allocations: 88 kB / 2.263 GB, free: 53.99 MB / 0.9482 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.1307/4.803, allocations: 58.84 MB / 2.321 GB, free: 11.04 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5379/5.341, allocations: 111.4 MB / 2.429 GB, free: 254.9 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02255/5.364, allocations: 6.58 MB / 2.436 GB, free: 249.8 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07686/5.441, allocations: 57.18 MB / 2.492 GB, free: 195.3 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02822/5.469, allocations: 2.187 MB / 2.494 GB, free: 193.2 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0111/5.48, allocations: 1.897 MB / 2.496 GB, free: 191.3 MB / 0.9638 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.01733/5.497, allocations: 2.119 MB / 2.498 GB, free: 189.2 MB / 0.9638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01192/5.509, allocations: 2.569 MB / 2.5 GB, free: 188.1 MB / 0.9638 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.06016/5.569, allocations: 31.57 MB / 2.531 GB, free: 157 MB / 0.9638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 794] [Calling sys.exit(0), Time elapsed: 8.670195562765002]