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.01276/0.01276, allocations: 1.756 MB / 21.38 MB, free: 0.582 MB / 14.72 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.001327/0.001327, allocations: 102.8 kB / 24.97 MB, free: 2.184 MB / 14.72 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.001697/0.001697, allocations: 206 kB / 28.71 MB, free: 3.461 MB / 19.63 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.502/1.502, allocations: 230.6 MB / 262.9 MB, free: 6.211 MB / 206.1 MB " [Timeout remaining time 178] 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 1.139/1.139, allocations: 130.7 MB / 450.5 MB, free: 6.566 MB / 350.1 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.3.1 (/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="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="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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.0361/0.0361, allocations: 20.61 MB / 0.6364 GB, free: 5.328 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.2131, allocations: 81.91 MB / 0.7164 GB, free: 3.32 MB / 0.5294 GB 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.5694/0.7825, allocations: 69.25 MB / 0.784 GB, free: 3.262 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05249/0.835, allocations: 28.18 MB / 0.8115 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01217/0.8472, allocations: 204 kB / 0.8117 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.8596, allocations: 2.924 MB / 0.8146 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02323/0.8828, allocations: 5.439 MB / 0.8199 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02086/0.9037, allocations: 7.128 MB / 0.8268 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.06762/0.9713, allocations: 53.94 MB / 0.8795 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03333/1.005, allocations: 17.1 MB / 0.8962 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03679/1.041, allocations: 18.21 MB / 0.914 GB, free: 8.668 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04628/1.088, allocations: 23.48 MB / 0.9369 GB, free: 1.164 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01861/1.106, allocations: 3.676 MB / 0.9405 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02939/1.136, allocations: 5.404 MB / 0.9458 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.03134/1.167, allocations: 14.96 MB / 0.9604 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.05237/1.219, allocations: 19.61 MB / 0.9795 GB, free: 5.395 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.09398/1.313, allocations: 52.74 MB / 1.031 GB, free: 484 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.313, allocations: 0 / 1.031 GB, free: 484 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/1.313, allocations: 0 / 1.031 GB, free: 484 kB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002092/1.316, allocations: 1.875 kB / 1.031 GB, free: 484 kB / 0.795 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.8868/2.202, allocations: 42 MB / 1.072 GB, free: 310.7 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/2.202, allocations: 11.22 kB / 1.072 GB, free: 310.7 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001008/2.203, allocations: 0.5809 MB / 1.073 GB, free: 310.7 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01843/2.222, allocations: 3.529 MB / 1.076 GB, free: 308.9 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/2.242, allocations: 3.451 MB / 1.079 GB, free: 307.1 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05659/2.299, allocations: 17.67 MB / 1.097 GB, free: 300.9 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002955/2.302, allocations: 2.409 MB / 1.099 GB, free: 299.6 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01564/2.317, allocations: 2.448 MB / 1.101 GB, free: 298.7 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1162/2.434, allocations: 49.69 MB / 1.15 GB, free: 252.5 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001723/2.435, allocations: 147 kB / 1.15 GB, free: 252.4 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01132/2.447, allocations: 0.8239 MB / 1.151 GB, free: 251.6 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/2.449, allocations: 3.432 MB / 1.154 GB, free: 248.1 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1479/2.597, allocations: 66.18 MB / 1.219 GB, free: 182 MB / 0.8264 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.3442/2.941, allocations: 165 MB / 1.38 GB, free: 15.56 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4407/3.382, allocations: 35.04 MB / 1.414 GB, free: 279.2 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04742/3.429, allocations: 20.11 MB / 1.434 GB, free: 271.6 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005661/3.435, allocations: 0.9977 MB / 1.435 GB, free: 271.5 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/3.436, allocations: 349.8 kB / 1.435 GB, free: 271.2 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=3289): time 3.228e-05/3.436, allocations: 0 / 1.435 GB, free: 271.2 MB / 0.8264 GB Notification: Performance of matching and sorting (n=3445): time 0.6145/4.05, allocations: 198.9 MB / 1.629 GB, free: 110.6 MB / 0.8264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004966/4.051, allocations: 1.554 MB / 1.631 GB, free: 108.8 MB / 0.8264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03146/4.082, allocations: 16.05 MB / 1.647 GB, free: 93.11 MB / 0.8264 GB Notification: Performance of collectPreVariables (initialization): time 0.0101/4.092, allocations: 0.5629 MB / 1.647 GB, free: 92.54 MB / 0.8264 GB Notification: Performance of collectInitialEqns (initialization): time 0.008602/4.101, allocations: 10.14 MB / 1.657 GB, free: 83.66 MB / 0.8264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01739/4.118, allocations: 12.86 MB / 1.67 GB, free: 71.23 MB / 0.8264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03913/4.157, allocations: 7.959 MB / 1.677 GB, free: 63.24 MB / 0.8264 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/4.157, allocations: 307.5 kB / 1.678 GB, free: 62.94 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05272/4.21, allocations: 22.41 MB / 1.7 GB, free: 40.52 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4543/4.664, allocations: 29.83 MB / 1.729 GB, free: 258.7 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1186/4.783, allocations: 52.33 MB / 1.78 GB, free: 232.1 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003438/4.783, allocations: 53.38 kB / 1.78 GB, free: 232.1 MB / 0.8264 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.2049/4.988, allocations: 68.93 MB / 1.847 GB, free: 175.2 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/4.988, allocations: 88.06 kB / 1.847 GB, free: 175.1 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1701/5.158, allocations: 60.71 MB / 1.907 GB, free: 114.3 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6688/5.827, allocations: 118.7 MB / 2.022 GB, free: 257.2 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03113/5.858, allocations: 6.034 MB / 2.028 GB, free: 257.2 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1474/6.006, allocations: 54.75 MB / 2.082 GB, free: 234.1 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04767/6.053, allocations: 2.395 MB / 2.084 GB, free: 231.9 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01313/6.066, allocations: 1.905 MB / 2.086 GB, free: 230 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07431/6.141, allocations: 29.22 MB / 2.115 GB, free: 200.8 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06011/6.201, allocations: 29.72 MB / 2.144 GB, free: 168.4 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1096/6.31, allocations: 52.09 MB / 2.194 GB, free: 113.6 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002486/6.311, allocations: 52.19 kB / 2.194 GB, free: 113.6 MB / 0.8264 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.1764/6.487, allocations: 67.01 MB / 2.26 GB, free: 47.71 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/6.487, allocations: 88 kB / 2.26 GB, free: 47.62 MB / 0.8264 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.5393/7.027, allocations: 58.83 MB / 2.317 GB, free: 227.6 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2652/7.292, allocations: 111.4 MB / 2.426 GB, free: 176.6 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0306/7.322, allocations: 6.572 MB / 2.433 GB, free: 171.1 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1261/7.448, allocations: 57.38 MB / 2.489 GB, free: 113.6 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04303/7.491, allocations: 2.186 MB / 2.491 GB, free: 111.5 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01202/7.503, allocations: 1.893 MB / 2.493 GB, free: 109.6 MB / 0.8264 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.02135/7.525, allocations: 2.12 MB / 2.495 GB, free: 107.6 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01422/7.539, allocations: 2.582 MB / 2.497 GB, free: 106.4 MB / 0.8264 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.08032/7.619, allocations: 31.51 MB / 2.528 GB, free: 75.55 MB / 0.8264 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 792] [Calling sys.exit(0), Time elapsed: 12.084689868032001] Failed to read output from testmodel.py, exit status != 0: 8.196330814971589 8.211636584 6.892626892 Calling exit ...