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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.00612/0.00612, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006914/0.0006914, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007811/0.0007811, allocations: 160.2 kB / 27.85 MB, free: 5.496 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.8659/0.8659, allocations: 177.2 MB / 208.6 MB, free: 2.98 MB / 186.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.7174/0.7174, allocations: 102.5 MB / 367.9 MB, free: 1.496 MB / 330.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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) 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",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",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5362 GB, free: 39.91 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.078e-05, allocations: 6.078 kB / 0.5362 GB, free: 39.91 MB / 490.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.1194/0.1194, allocations: 77.67 MB / 0.6121 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03614/0.1555, allocations: 27.13 MB / 0.6386 GB, free: 3.449 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006986/0.1625, allocations: 210.4 kB / 0.6388 GB, free: 3.242 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.1673, allocations: 2.898 MB / 0.6416 GB, free: 332 kB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.1802, allocations: 5.613 MB / 0.6471 GB, free: 10.68 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01236/0.1926, allocations: 7.227 MB / 0.6541 GB, free: 3.434 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.04059/0.2332, allocations: 54.76 MB / 0.7076 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02636/0.2596, allocations: 17.37 MB / 0.7246 GB, free: 11.02 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05254/0.3121, allocations: 24.8 MB / 0.7488 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3774/0.6895, allocations: 21.48 MB / 0.7698 GB, free: 57.59 MB / 0.6512 GB Notification: Performance of NFPackage.collectConstants: time 0.01563/0.7052, allocations: 3.673 MB / 0.7734 GB, free: 57.59 MB / 0.6512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01874/0.7239, allocations: 4.867 MB / 0.7781 GB, free: 57.59 MB / 0.6512 GB Notification: Performance of NFScalarize.scalarize: time 0.01808/0.742, allocations: 15.35 MB / 0.7931 GB, free: 57.59 MB / 0.6512 GB Notification: Performance of NFVerifyModel.verify: time 0.04752/0.7895, allocations: 14.29 MB / 0.807 GB, free: 57.59 MB / 0.6512 GB Notification: Performance of NFConvertDAE.convert: time 0.05823/0.8477, allocations: 55.77 MB / 0.8615 GB, free: 35.73 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8477, allocations: 0 / 0.8615 GB, free: 35.73 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8477, allocations: 0 / 0.8615 GB, free: 35.73 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.001785/0.8495, allocations: 0 / 0.8615 GB, free: 35.73 MB / 0.6512 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.1138/0.9633, allocations: 41.67 MB / 0.9022 GB, free: 12.18 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.9634, allocations: 8.812 kB / 0.9022 GB, free: 12.18 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01516/0.9785, allocations: 3.523 MB / 0.9056 GB, free: 9.723 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/0.9973, allocations: 3.449 MB / 0.909 GB, free: 7.777 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04419/1.042, allocations: 17.69 MB / 0.9263 GB, free: 9.391 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002525/1.044, allocations: 2.412 MB / 0.9286 GB, free: 6.906 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01389/1.058, allocations: 2.441 MB / 0.931 GB, free: 4.492 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1004/1.158, allocations: 51.11 MB / 0.9809 GB, free: 15.85 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008159/1.159, allocations: 142.1 kB / 0.9811 GB, free: 15.75 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007235/1.166, allocations: 0.829 MB / 0.9819 GB, free: 14.95 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001993/1.168, allocations: 3.428 MB / 0.9852 GB, free: 11.52 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1208/1.289, allocations: 65.74 MB / 1.049 GB, free: 10.11 MB / 0.7918 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.5566/1.846, allocations: 147.2 MB / 1.193 GB, free: 168.1 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0497/1.895, allocations: 34.97 MB / 1.227 GB, free: 138 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03234/1.928, allocations: 20.09 MB / 1.247 GB, free: 117.8 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003519/1.931, allocations: 0.8152 MB / 1.248 GB, free: 117 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/1.932, allocations: 352.6 kB / 1.248 GB, free: 116.7 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=3289): time 2.768e-05/1.932, allocations: 0 / 1.248 GB, free: 116.7 MB / 0.7918 GB Notification: Performance of matching and sorting (n=3445): time 0.6962/2.628, allocations: 198.8 MB / 1.442 GB, free: 197.6 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004185/2.628, allocations: 1.552 MB / 1.444 GB, free: 196.1 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01951/2.648, allocations: 16.36 MB / 1.46 GB, free: 190.5 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.009861/2.658, allocations: 0.5567 MB / 1.46 GB, free: 190.1 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.005874/2.663, allocations: 10.1 MB / 1.47 GB, free: 182.3 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.01509/2.679, allocations: 12.7 MB / 1.483 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02445/2.703, allocations: 7.896 MB / 1.49 GB, free: 169.1 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/2.703, allocations: 302.4 kB / 1.491 GB, free: 168.8 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03649/2.739, allocations: 22.4 MB / 1.512 GB, free: 159.5 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04394/2.783, allocations: 30.5 MB / 1.542 GB, free: 130.8 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07913/2.863, allocations: 52.33 MB / 1.593 GB, free: 76.11 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/2.863, allocations: 56 kB / 1.593 GB, free: 76.05 MB / 0.7918 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1461/3.009, allocations: 68.94 MB / 1.661 GB, free: 7.211 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/3.009, allocations: 88 kB / 1.661 GB, free: 7.125 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4822/3.491, allocations: 60.72 MB / 1.72 GB, free: 220.9 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1529/3.644, allocations: 118.7 MB / 1.836 GB, free: 114.8 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0193/3.663, allocations: 6.039 MB / 1.842 GB, free: 109 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07947/3.743, allocations: 54.75 MB / 1.895 GB, free: 54.32 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03136/3.774, allocations: 2.386 MB / 1.898 GB, free: 52.14 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0108/3.785, allocations: 1.901 MB / 1.9 GB, free: 50.23 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.05653/3.842, allocations: 29.22 MB / 1.928 GB, free: 20.98 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0462/3.888, allocations: 30.38 MB / 1.958 GB, free: 3.742 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4458/4.334, allocations: 52.1 MB / 2.009 GB, free: 222.7 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000483/4.334, allocations: 57.19 kB / 2.009 GB, free: 222.7 MB / 0.8074 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.1437/4.478, allocations: 67.01 MB / 2.074 GB, free: 181.1 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/4.478, allocations: 92.39 kB / 2.074 GB, free: 181.1 MB / 0.8074 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.1174/4.595, allocations: 58.84 MB / 2.132 GB, free: 122.2 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1378/4.733, allocations: 111.4 MB / 2.24 GB, free: 11.2 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02111/4.754, allocations: 6.579 MB / 2.247 GB, free: 4.609 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4394/5.194, allocations: 57.17 MB / 2.303 GB, free: 228.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02954/5.223, allocations: 2.182 MB / 2.305 GB, free: 227.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01065/5.234, allocations: 1.898 MB / 2.307 GB, free: 227.6 MB / 0.823 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.0155/5.249, allocations: 2.12 MB / 2.309 GB, free: 226.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009206/5.259, allocations: 2.563 MB / 2.311 GB, free: 226.3 MB / 0.823 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.05542/5.314, allocations: 31.56 MB / 2.342 GB, free: 213.8 MB / 0.823 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 795] [Calling sys.exit(0), Time elapsed: 8.101559659466147] Failed to read output from testmodel.py, exit status != 0: 5.461317950859666 5.468389258 4.619069942 Calling exit ...