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.0103/0.0103, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.00124/0.00124, allocations: 105 kB / 24.18 MB, free: 2.469 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.001496/0.001496, allocations: 213.3 kB / 27.9 MB, free: 3.773 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.464/1.464, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.067/1.067, allocations: 130.7 MB / 449.6 MB, free: 6.703 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="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: 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.06398/0.06398, allocations: 21 MB / 0.6359 GB, free: 4.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.2264, allocations: 81.91 MB / 0.7159 GB, free: 2.719 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.5595/0.7859, allocations: 64.02 MB / 0.7784 GB, free: 8.492 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05213/0.8381, allocations: 27.39 MB / 0.8051 GB, free: 4.246 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/0.8505, allocations: 207.3 kB / 0.8053 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01046/0.8609, allocations: 2.886 MB / 0.8081 GB, free: 1.934 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02149/0.8824, allocations: 5.438 MB / 0.8135 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02129/0.9037, allocations: 7.128 MB / 0.8204 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.06562/0.9694, allocations: 53.83 MB / 0.873 GB, free: 1.594 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03491/1.004, allocations: 17.27 MB / 0.8899 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04304/1.047, allocations: 18.27 MB / 0.9077 GB, free: 13.98 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04438/1.092, allocations: 22.69 MB / 0.9299 GB, free: 7.27 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01593/1.108, allocations: 3.672 MB / 0.9334 GB, free: 3.598 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02257/1.13, allocations: 4.835 MB / 0.9382 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0279/1.158, allocations: 14.96 MB / 0.9528 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04583/1.204, allocations: 16.52 MB / 0.9689 GB, free: 15.18 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.08452/1.288, allocations: 52.91 MB / 1.021 GB, free: 10.08 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.288, allocations: 0 / 1.021 GB, free: 10.08 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.512e-06/1.288, allocations: 2.656 kB / 1.021 GB, free: 10.08 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001867/1.29, allocations: 0 / 1.021 GB, free: 10.08 MB / 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.1855/1.476, allocations: 42 MB / 1.062 GB, free: 392 kB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.476, allocations: 11.97 kB / 1.062 GB, free: 380 kB / 0.8263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.7325/2.208, allocations: 3.521 MB / 1.065 GB, free: 315.7 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/2.229, allocations: 3.449 MB / 1.068 GB, free: 314.7 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06467/2.294, allocations: 17.68 MB / 1.086 GB, free: 308.3 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003802/2.298, allocations: 2.413 MB / 1.088 GB, free: 307 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01668/2.314, allocations: 2.446 MB / 1.09 GB, free: 306.1 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1301/2.444, allocations: 51.11 MB / 1.14 GB, free: 264.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001783/2.446, allocations: 143.1 kB / 1.14 GB, free: 264 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01232/2.459, allocations: 0.8288 MB / 1.141 GB, free: 263.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002906/2.461, allocations: 3.427 MB / 1.145 GB, free: 259.7 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1559/2.617, allocations: 65.75 MB / 1.209 GB, free: 194 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.3484/2.966, allocations: 147.3 MB / 1.353 GB, free: 47.59 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07079/3.037, allocations: 34.96 MB / 1.387 GB, free: 12.42 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3916/3.428, allocations: 20.1 MB / 1.406 GB, free: 285.8 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006653/3.435, allocations: 0.8028 MB / 1.407 GB, free: 285.8 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005122/3.435, allocations: 347.6 kB / 1.408 GB, free: 285.7 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=3289): time 4.351e-05/3.435, allocations: 0 / 1.408 GB, free: 285.7 MB / 0.8264 GB Notification: Performance of matching and sorting (n=3445): time 0.593/4.028, allocations: 198.9 MB / 1.602 GB, free: 141.9 MB / 0.8264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005466/4.029, allocations: 1.553 MB / 1.603 GB, free: 140 MB / 0.8264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03239/4.061, allocations: 16.36 MB / 1.619 GB, free: 124.2 MB / 0.8264 GB Notification: Performance of collectPreVariables (initialization): time 0.009845/4.071, allocations: 0.5623 MB / 1.62 GB, free: 123.6 MB / 0.8264 GB Notification: Performance of collectInitialEqns (initialization): time 0.008777/4.08, allocations: 10.14 MB / 1.63 GB, free: 114.7 MB / 0.8264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01779/4.098, allocations: 12.85 MB / 1.642 GB, free: 102.2 MB / 0.8264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03872/4.137, allocations: 7.955 MB / 1.65 GB, free: 94.27 MB / 0.8264 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/4.137, allocations: 307.8 kB / 1.65 GB, free: 93.96 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05391/4.19, allocations: 22.41 MB / 1.672 GB, free: 71.55 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06244/4.253, allocations: 30.49 MB / 1.702 GB, free: 38.23 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5306/4.784, allocations: 52.33 MB / 1.753 GB, free: 235.4 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003463/4.784, allocations: 54.47 kB / 1.753 GB, free: 235.4 MB / 0.8264 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.2039/4.988, allocations: 68.95 MB / 1.821 GB, free: 202.1 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005552/4.988, allocations: 86.19 kB / 1.821 GB, free: 202.1 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1838/5.172, allocations: 60.71 MB / 1.88 GB, free: 142.6 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2667/5.439, allocations: 118.7 MB / 1.996 GB, free: 23.99 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03016/5.469, allocations: 6.033 MB / 2.002 GB, free: 17.95 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5183/5.987, allocations: 54.76 MB / 2.055 GB, free: 239.7 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04919/6.036, allocations: 2.393 MB / 2.058 GB, free: 239 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01125/6.048, allocations: 1.9 MB / 2.059 GB, free: 238.7 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.073/6.121, allocations: 29.23 MB / 2.088 GB, free: 228 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06485/6.186, allocations: 30.38 MB / 2.118 GB, free: 204.5 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1309/6.316, allocations: 52.1 MB / 2.168 GB, free: 150.2 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004797/6.317, allocations: 58.59 kB / 2.169 GB, free: 150.2 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.2054/6.522, allocations: 67 MB / 2.234 GB, free: 84.57 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004902/6.523, allocations: 91.98 kB / 2.234 GB, free: 84.48 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.1746/6.697, allocations: 58.83 MB / 2.292 GB, free: 25.61 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6595/7.357, allocations: 111.4 MB / 2.4 GB, free: 202.4 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03217/7.389, allocations: 6.571 MB / 2.407 GB, free: 197.3 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1335/7.523, allocations: 57.18 MB / 2.463 GB, free: 151.3 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04333/7.566, allocations: 2.188 MB / 2.465 GB, free: 149.4 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01171/7.578, allocations: 1.897 MB / 2.467 GB, free: 147.8 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.02024/7.598, allocations: 2.125 MB / 2.469 GB, free: 145.8 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01352/7.611, allocations: 2.564 MB / 2.471 GB, free: 144.7 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.07836/7.69, allocations: 31.57 MB / 2.502 GB, free: 116.3 MB / 0.8264 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 792] [Calling sys.exit(0), Time elapsed: 11.507084771990776] Failed to read output from testmodel.py, exit status != 0: 7.842996504623443 7.854692096 6.563297633 Calling exit ...