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.006264/0.006264, 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.07471/0.07471, 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.0011/0.0011, 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.001152/0.001152, 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.8896/0.8896, allocations: 177.2 MB / 252.1 MB, free: 11.76 MB / 218.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.5322/0.5322, allocations: 102.5 MB / 418.6 MB, free: 5.195 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/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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.603 GB, free: 244 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.975e-05, allocations: 4.109 kB / 0.603 GB, free: 240 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.02193/0.02195, allocations: 31 MB / 0.6332 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03687/0.05883, allocations: 27.12 MB / 0.6597 GB, free: 5.902 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009001/0.06783, allocations: 210.4 kB / 0.6599 GB, free: 5.695 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.006798/0.07462, allocations: 2.906 MB / 0.6628 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.2675/0.3421, allocations: 5.607 MB / 0.6682 GB, free: 17.83 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.3568, allocations: 7.214 MB / 0.6753 GB, free: 17.5 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.0452/0.402, allocations: 54.77 MB / 0.7288 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02823/0.4302, allocations: 17.37 MB / 0.7457 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05288/0.4831, allocations: 24.8 MB / 0.7699 GB, free: 7.516 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0342/0.5173, allocations: 21.49 MB / 0.7909 GB, free: 3.461 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.01299/0.5303, allocations: 3.672 MB / 0.7945 GB, free: 15.78 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01885/0.5491, allocations: 4.877 MB / 0.7993 GB, free: 11.04 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.01861/0.5677, allocations: 15.34 MB / 0.8142 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.03169/0.5994, allocations: 14.3 MB / 0.8282 GB, free: 14.7 MB / 0.6512 GB Notification: Performance of NFConvertDAE.convert: time 0.0675/0.6669, allocations: 55.76 MB / 0.8827 GB, free: 9.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.6669, allocations: 0 / 0.8827 GB, free: 9.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.066e-06/0.6669, allocations: 0 / 0.8827 GB, free: 9.129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.002695/0.6696, allocations: 0 / 0.8827 GB, free: 9.129 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.127/0.7967, allocations: 41.67 MB / 0.9234 GB, free: 15.38 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.7967, allocations: 8.031 kB / 0.9234 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01274/0.8095, allocations: 3.531 MB / 0.9268 GB, free: 11.85 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.825, allocations: 3.451 MB / 0.9302 GB, free: 8.379 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04697/0.872, allocations: 17.69 MB / 0.9475 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00284/0.8748, allocations: 2.408 MB / 0.9498 GB, free: 5.07 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01277/0.8876, allocations: 2.442 MB / 0.9522 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6196/1.507, allocations: 51.11 MB / 1.002 GB, free: 159.3 MB / 0.7606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001745/1.509, allocations: 141 kB / 1.002 GB, free: 159.3 MB / 0.7606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0103/1.519, allocations: 0.8275 MB / 1.003 GB, free: 158.7 MB / 0.7606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/1.521, allocations: 3.418 MB / 1.006 GB, free: 158.2 MB / 0.7606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1253/1.647, allocations: 65.74 MB / 1.071 GB, free: 110.6 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.2489/1.895, allocations: 147.2 MB / 1.214 GB, free: 14.66 MB / 0.8075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05746/1.953, allocations: 34.96 MB / 1.248 GB, free: 11.45 MB / 0.8388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03669/1.99, allocations: 20.11 MB / 1.268 GB, free: 7.242 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003959/1.994, allocations: 0.8054 MB / 1.269 GB, free: 6.434 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/1.994, allocations: 344.1 kB / 1.269 GB, free: 6.094 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=3289): time 2.884e-05/1.994, allocations: 7.984 kB / 1.269 GB, free: 6.086 MB / 0.8544 GB Notification: Performance of matching and sorting (n=3445): time 0.7339/2.728, allocations: 198.8 MB / 1.463 GB, free: 176.9 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003012/2.728, allocations: 1.553 MB / 1.465 GB, free: 175.1 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02392/2.752, allocations: 16.37 MB / 1.481 GB, free: 159.2 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.008266/2.76, allocations: 0.5603 MB / 1.481 GB, free: 158.6 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005778/2.766, allocations: 10.1 MB / 1.491 GB, free: 149.8 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.01335/2.779, allocations: 12.7 MB / 1.504 GB, free: 137.8 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03248/2.812, allocations: 7.892 MB / 1.511 GB, free: 129.9 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 3.695e-05/2.812, allocations: 309.1 kB / 1.512 GB, free: 129.6 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0407/2.853, allocations: 22.4 MB / 1.534 GB, free: 107.2 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04416/2.897, allocations: 30.49 MB / 1.563 GB, free: 73.81 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3995/3.296, allocations: 52.32 MB / 1.614 GB, free: 251.9 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002667/3.296, allocations: 54.5 kB / 1.615 GB, free: 251.9 MB / 0.8544 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1553/3.452, allocations: 68.94 MB / 1.682 GB, free: 229.8 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/3.452, allocations: 83.12 kB / 1.682 GB, free: 229.8 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.124/3.576, allocations: 60.72 MB / 1.741 GB, free: 198 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1581/3.734, allocations: 118.7 MB / 1.857 GB, free: 79.04 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0202/3.754, allocations: 6.037 MB / 1.863 GB, free: 73 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3853/4.139, allocations: 54.75 MB / 1.917 GB, free: 263.7 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02788/4.167, allocations: 2.39 MB / 1.919 GB, free: 263.7 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01158/4.179, allocations: 1.902 MB / 1.921 GB, free: 263.7 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06725/4.246, allocations: 29.23 MB / 1.949 GB, free: 256.5 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04465/4.291, allocations: 30.38 MB / 1.979 GB, free: 239.6 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08547/4.376, allocations: 52.1 MB / 2.03 GB, free: 210.5 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002675/4.377, allocations: 56 kB / 2.03 GB, free: 210.5 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.1382/4.515, allocations: 67.01 MB / 2.095 GB, free: 147.8 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/4.515, allocations: 88 kB / 2.095 GB, free: 147.7 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.1154/4.63, allocations: 58.84 MB / 2.153 GB, free: 88.79 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4744/5.105, allocations: 111.4 MB / 2.262 GB, free: 248.5 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02029/5.125, allocations: 6.576 MB / 2.268 GB, free: 248.4 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08311/5.208, allocations: 57.17 MB / 2.324 GB, free: 218.7 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02654/5.235, allocations: 2.185 MB / 2.326 GB, free: 216.8 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009404/5.244, allocations: 1.9 MB / 2.328 GB, free: 215.2 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.01933/5.263, allocations: 2.122 MB / 2.33 GB, free: 213.2 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01193/5.275, allocations: 2.567 MB / 2.332 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.06739/5.343, allocations: 31.56 MB / 2.363 GB, free: 185.4 MB / 0.8544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 795] [Calling sys.exit(0), Time elapsed: 8.103831664659083]