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.01266/0.01266, allocations: 1.741 MB / 21.38 MB, free: 476 kB / 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.00127/0.00127, allocations: 101 kB / 24.96 MB, free: 2.066 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.001515/0.001515, allocations: 210.9 kB / 28.68 MB, free: 3.352 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.47/1.47, allocations: 230.6 MB / 262.9 MB, free: 5.844 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.072/1.072, allocations: 130.7 MB / 450.4 MB, free: 6.434 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.06351/0.06351, allocations: 20.59 MB / 0.6363 GB, free: 5.074 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.2553, allocations: 81.91 MB / 0.7162 GB, free: 3.07 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.5251/0.7804, allocations: 64 MB / 0.7787 GB, free: 8.516 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05003/0.8304, allocations: 27.37 MB / 0.8055 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0113/0.8417, allocations: 207.6 kB / 0.8057 GB, free: 4.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009918/0.8516, allocations: 2.889 MB / 0.8085 GB, free: 2.031 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01961/0.8712, allocations: 5.446 MB / 0.8138 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02067/0.8919, allocations: 7.152 MB / 0.8208 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.06703/0.9589, allocations: 53.83 MB / 0.8734 GB, free: 1.871 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03487/0.9938, allocations: 17.1 MB / 0.8901 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03626/1.03, allocations: 18.29 MB / 0.9079 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04777/1.078, allocations: 23.46 MB / 0.9308 GB, free: 6.914 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01683/1.095, allocations: 3.678 MB / 0.9344 GB, free: 3.238 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02311/1.118, allocations: 4.863 MB / 0.9392 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.02476/1.143, allocations: 14.96 MB / 0.9538 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04591/1.188, allocations: 16.52 MB / 0.9699 GB, free: 14.79 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.08823/1.277, allocations: 52.92 MB / 1.022 GB, free: 9.688 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/1.277, allocations: 6.656 kB / 1.022 GB, free: 9.684 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.705e-06/1.277, allocations: 0 / 1.022 GB, free: 9.684 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001972/1.279, allocations: 0 / 1.022 GB, free: 9.684 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.8964/2.175, allocations: 42 MB / 1.063 GB, free: 311.6 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/2.175, allocations: 9.5 kB / 1.063 GB, free: 311.6 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0009132/2.176, allocations: 0.5814 MB / 1.063 GB, free: 311.6 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01637/2.192, allocations: 3.519 MB / 1.067 GB, free: 311.4 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/2.213, allocations: 3.448 MB / 1.07 GB, free: 310.3 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05962/2.273, allocations: 17.69 MB / 1.087 GB, free: 303.9 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002919/2.276, allocations: 2.415 MB / 1.09 GB, free: 302.6 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01347/2.289, allocations: 2.44 MB / 1.092 GB, free: 301.7 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1215/2.411, allocations: 51.11 MB / 1.142 GB, free: 258.2 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001516/2.412, allocations: 143 kB / 1.142 GB, free: 258.1 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01175/2.424, allocations: 0.8339 MB / 1.143 GB, free: 257.3 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002697/2.427, allocations: 3.427 MB / 1.146 GB, free: 253.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1449/2.572, allocations: 66.18 MB / 1.211 GB, free: 187.7 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.3305/2.902, allocations: 147.3 MB / 1.355 GB, free: 41.21 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06826/2.97, allocations: 34.97 MB / 1.389 GB, free: 6.016 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.516/3.486, allocations: 20.1 MB / 1.409 GB, free: 286.9 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005813/3.492, allocations: 0.7989 MB / 1.409 GB, free: 286.8 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/3.492, allocations: 357.5 kB / 1.41 GB, free: 286.6 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=3289): time 4.315e-05/3.493, allocations: 0 / 1.41 GB, free: 286.6 MB / 0.8264 GB Notification: Performance of matching and sorting (n=3445): time 0.6095/4.102, allocations: 198.9 MB / 1.604 GB, free: 136.1 MB / 0.8264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005207/4.103, allocations: 1.55 MB / 1.605 GB, free: 134.2 MB / 0.8264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03193/4.134, allocations: 16.06 MB / 1.621 GB, free: 118.6 MB / 0.8264 GB Notification: Performance of collectPreVariables (initialization): time 0.01028/4.145, allocations: 0.5564 MB / 1.622 GB, free: 118 MB / 0.8264 GB Notification: Performance of collectInitialEqns (initialization): time 0.008696/4.153, allocations: 10.14 MB / 1.631 GB, free: 109.1 MB / 0.8264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01657/4.17, allocations: 12.85 MB / 1.644 GB, free: 96.75 MB / 0.8264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03655/4.207, allocations: 7.962 MB / 1.652 GB, free: 88.76 MB / 0.8264 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/4.207, allocations: 306.1 kB / 1.652 GB, free: 88.46 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05187/4.259, allocations: 22.41 MB / 1.674 GB, free: 66.04 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06162/4.32, allocations: 30.49 MB / 1.704 GB, free: 32.72 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5254/4.846, allocations: 52.32 MB / 1.755 GB, free: 234.2 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000332/4.846, allocations: 60.78 kB / 1.755 GB, free: 234.2 MB / 0.8264 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1952/5.041, allocations: 68.93 MB / 1.822 GB, free: 197.9 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004102/5.042, allocations: 88 kB / 1.822 GB, free: 197.8 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1671/5.209, allocations: 60.72 MB / 1.882 GB, free: 138 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2738/5.482, allocations: 118.7 MB / 1.998 GB, free: 19.36 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02906/5.511, allocations: 6.038 MB / 2.003 GB, free: 13.32 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5234/6.035, allocations: 54.76 MB / 2.057 GB, free: 240.2 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04191/6.077, allocations: 2.386 MB / 2.059 GB, free: 239.6 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01211/6.089, allocations: 1.904 MB / 2.061 GB, free: 239.2 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07754/6.166, allocations: 29.23 MB / 2.09 GB, free: 228.5 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06282/6.229, allocations: 30.38 MB / 2.119 GB, free: 200.3 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1022/6.331, allocations: 52.09 MB / 2.17 GB, free: 146 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003716/6.332, allocations: 52 kB / 2.17 GB, free: 145.9 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.1884/6.52, allocations: 67.01 MB / 2.236 GB, free: 80.31 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/6.52, allocations: 88 kB / 2.236 GB, free: 80.22 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.1574/6.678, allocations: 58.84 MB / 2.293 GB, free: 21.32 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7137/7.391, allocations: 111.4 MB / 2.402 GB, free: 198.4 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03251/7.424, allocations: 6.577 MB / 2.408 GB, free: 193.4 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1187/7.543, allocations: 57.19 MB / 2.464 GB, free: 147 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0469/7.589, allocations: 2.188 MB / 2.466 GB, free: 145.1 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01442/7.604, allocations: 1.894 MB / 2.468 GB, free: 143.5 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.02536/7.629, allocations: 2.118 MB / 2.47 GB, free: 141.5 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01543/7.645, allocations: 2.564 MB / 2.473 GB, free: 140.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.08048/7.725, allocations: 31.52 MB / 2.504 GB, free: 111.3 MB / 0.8264 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 792] [Calling sys.exit(0), Time elapsed: 11.659827780094929] Failed to read output from testmodel.py, exit status != 0: 7.894822095986456 7.906705498 6.625826051 Calling exit ...