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.01384/0.01384, allocations: 1.767 MB / 18.11 MB, free: 4.945 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.001507/0.001507, allocations: 103.7 kB / 21.36 MB, free: 1.715 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.001925/0.001925, allocations: 215.6 kB / 24.75 MB, free: 3.742 MB / 14.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 1.577/1.577, allocations: 230.6 MB / 258.5 MB, free: 13.11 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.126/1.126, allocations: 130.6 MB / 445.6 MB, free: 15 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4096/0.4096, allocations: 46.15 MB / 0.6545 GB, free: 30.21 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.6157, allocations: 89.05 MB / 0.7415 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.04327/0.6589, allocations: 36.28 MB / 0.7769 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05887/0.7178, allocations: 27.89 MB / 0.8041 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01041/0.7282, allocations: 202.4 kB / 0.8043 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.7385, allocations: 2.942 MB / 0.8072 GB, free: 15.21 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.01976/0.7583, allocations: 5.345 MB / 0.8124 GB, free: 9.84 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01966/0.7779, allocations: 7.019 MB / 0.8193 GB, free: 2.816 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.5696/1.348, allocations: 53.86 MB / 0.8719 GB, free: 16.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03042/1.378, allocations: 18.31 MB / 0.8898 GB, free: 16.14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03973/1.418, allocations: 18.21 MB / 0.9075 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04662/1.464, allocations: 23.44 MB / 0.9304 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.02058/1.485, allocations: 3.674 MB / 0.934 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02671/1.512, allocations: 5.259 MB / 0.9392 GB, free: 9.938 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0256/1.537, allocations: 14.94 MB / 0.9537 GB, free: 4.438 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.05516/1.592, allocations: 19.61 MB / 0.9729 GB, free: 7.68 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.1008/1.693, allocations: 52.69 MB / 1.024 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.693, allocations: 0 / 1.024 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/1.693, allocations: 0 / 1.024 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002146/1.695, allocations: 6.625 kB / 1.024 GB, free: 10.23 MB / 0.7325 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.2082/1.904, allocations: 42.07 MB / 1.065 GB, free: 0.6484 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.904, allocations: 8.031 kB / 1.065 GB, free: 0.6406 MB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01769/1.921, allocations: 3.522 MB / 1.069 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02036/1.942, allocations: 3.451 MB / 1.072 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06268/2.004, allocations: 17.76 MB / 1.09 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003588/2.008, allocations: 2.201 MB / 1.092 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01537/2.023, allocations: 2.446 MB / 1.094 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1497/2.173, allocations: 49.69 MB / 1.143 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001685/2.175, allocations: 148 kB / 1.143 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01479/2.189, allocations: 0.8312 MB / 1.144 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/2.193, allocations: 3.42 MB / 1.147 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.029/3.223, allocations: 66.18 MB / 1.212 GB, free: 270.8 MB / 0.9045 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.3545/3.577, allocations: 165.4 MB / 1.373 GB, free: 165.9 MB / 0.9045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06816/3.645, allocations: 35.13 MB / 1.407 GB, free: 134.3 MB / 0.9045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04179/3.687, allocations: 20.11 MB / 1.427 GB, free: 114 MB / 0.9045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005558/3.693, allocations: 0.9896 MB / 1.428 GB, free: 113.2 MB / 0.9045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/3.693, allocations: 352.6 kB / 1.428 GB, free: 112.9 MB / 0.9045 GB Notification: Performance of pre-optimization done (n=3289): time 3.007e-05/3.693, allocations: 4 kB / 1.428 GB, free: 112.9 MB / 0.9045 GB Notification: Performance of matching and sorting (n=3445): time 1.095/4.788, allocations: 199.8 MB / 1.623 GB, free: 243 MB / 0.9202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008793/4.789, allocations: 1.548 MB / 1.625 GB, free: 241.4 MB / 0.9202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03933/4.828, allocations: 16.06 MB / 1.641 GB, free: 236.1 MB / 0.9202 GB Notification: Performance of collectPreVariables (initialization): time 0.01092/4.839, allocations: 0.5571 MB / 1.641 GB, free: 235.6 MB / 0.9202 GB Notification: Performance of collectInitialEqns (initialization): time 0.009126/4.848, allocations: 10.14 MB / 1.651 GB, free: 229.1 MB / 0.9202 GB Notification: Performance of collectInitialBindings (initialization): time 0.01868/4.867, allocations: 12.86 MB / 1.664 GB, free: 220 MB / 0.9202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04776/4.915, allocations: 7.956 MB / 1.671 GB, free: 216.8 MB / 0.9202 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/4.915, allocations: 307.1 kB / 1.672 GB, free: 216.5 MB / 0.9202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05558/4.97, allocations: 22.4 MB / 1.694 GB, free: 208.3 MB / 0.9202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06948/5.04, allocations: 29.83 MB / 1.723 GB, free: 191.1 MB / 0.9202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.125/5.165, allocations: 52.33 MB / 1.774 GB, free: 137.6 MB / 0.9202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004323/5.165, allocations: 58.72 kB / 1.774 GB, free: 137.6 MB / 0.9202 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.217/5.382, allocations: 68.93 MB / 1.841 GB, free: 69.19 MB / 0.9202 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/5.382, allocations: 90.06 kB / 1.841 GB, free: 69.11 MB / 0.9202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1726/5.555, allocations: 60.72 MB / 1.901 GB, free: 8.348 MB / 0.9202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8298/6.385, allocations: 118.7 MB / 2.017 GB, free: 217.6 MB / 0.9202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03071/6.415, allocations: 6.036 MB / 2.022 GB, free: 213.1 MB / 0.9202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1335/6.549, allocations: 54.75 MB / 2.076 GB, free: 164.3 MB / 0.9202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04618/6.595, allocations: 2.389 MB / 2.078 GB, free: 162.1 MB / 0.9202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01337/6.609, allocations: 1.901 MB / 2.08 GB, free: 160.2 MB / 0.9202 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07475/6.683, allocations: 29.23 MB / 2.109 GB, free: 130.9 MB / 0.9202 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05969/6.743, allocations: 29.72 MB / 2.138 GB, free: 98.61 MB / 0.9202 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.107/6.85, allocations: 52.1 MB / 2.188 GB, free: 44.53 MB / 0.9202 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002325/6.85, allocations: 52.19 kB / 2.189 GB, free: 44.48 MB / 0.9202 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.1913/7.042, allocations: 67.15 MB / 2.254 GB, free: 10.62 MB / 0.9514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/7.042, allocations: 84 kB / 2.254 GB, free: 10.54 MB / 0.9514 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.6467/7.688, allocations: 58.99 MB / 2.312 GB, free: 274 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2708/7.959, allocations: 111.4 MB / 2.421 GB, free: 191.5 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03392/7.993, allocations: 6.575 MB / 2.427 GB, free: 185.3 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.143/8.136, allocations: 57.8 MB / 2.483 GB, free: 127.3 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04453/8.181, allocations: 2.179 MB / 2.486 GB, free: 125.2 MB / 0.9514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01236/8.193, allocations: 1.9 MB / 2.487 GB, free: 123.3 MB / 0.9514 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.02261/8.216, allocations: 2.125 MB / 2.489 GB, free: 121.7 MB / 0.9514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01533/8.231, allocations: 2.567 MB / 2.492 GB, free: 120.5 MB / 0.9514 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.08469/8.316, allocations: 31.53 MB / 2.523 GB, free: 89.92 MB / 0.9514 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 792] [Calling sys.exit(0), Time elapsed: 12.131603640998947] Failed to read output from testmodel.py, exit status != 0: 8.324748641010956 8.336233307 6.638014023 Calling exit ...