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.01031/0.01031, allocations: 1.758 MB / 20.59 MB, free: 1.293 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.001366/0.001366, allocations: 111.8 kB / 24.19 MB, free: 2.68 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.00163/0.00163, allocations: 211.8 kB / 27.92 MB, free: 4.031 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.484/1.484, allocations: 230.6 MB / 262.1 MB, free: 6.012 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.154/1.154, allocations: 130.7 MB / 449.7 MB, free: 6.625 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.03277/0.03277, allocations: 20.79 MB / 0.6358 GB, free: 5.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.2284, allocations: 81.91 MB / 0.7158 GB, free: 3.125 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.603/0.8314, allocations: 69.25 MB / 0.7834 GB, free: 3.309 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06127/0.8927, allocations: 28.18 MB / 0.8109 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01478/0.9075, allocations: 210.4 kB / 0.8111 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.919, allocations: 2.926 MB / 0.814 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.025/0.944, allocations: 5.438 MB / 0.8193 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02431/0.9683, allocations: 7.138 MB / 0.8262 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.06843/1.037, allocations: 53.94 MB / 0.8789 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03367/1.07, allocations: 17.1 MB / 0.8956 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04204/1.112, allocations: 18.21 MB / 0.9134 GB, free: 8.617 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05003/1.162, allocations: 23.48 MB / 0.9363 GB, free: 1.117 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01821/1.181, allocations: 3.676 MB / 0.9399 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/1.206, allocations: 5.41 MB / 0.9452 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.02784/1.234, allocations: 14.96 MB / 0.9598 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.06636/1.301, allocations: 19.61 MB / 0.979 GB, free: 5.352 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.1025/1.403, allocations: 52.74 MB / 1.03 GB, free: 436 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/1.403, allocations: 6.625 kB / 1.03 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.094e-06/1.403, allocations: 0 / 1.03 GB, free: 432 kB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002295/1.405, allocations: 0 / 1.03 GB, free: 432 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.9897/2.395, allocations: 41.99 MB / 1.071 GB, free: 310.6 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/2.395, allocations: 10.19 kB / 1.071 GB, free: 310.6 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02126/2.416, allocations: 3.522 MB / 1.075 GB, free: 308.8 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02418/2.441, allocations: 3.449 MB / 1.078 GB, free: 307 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06442/2.505, allocations: 17.68 MB / 1.096 GB, free: 300.8 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003458/2.508, allocations: 2.414 MB / 1.098 GB, free: 299.5 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01687/2.525, allocations: 2.435 MB / 1.1 GB, free: 298.6 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1308/2.656, allocations: 49.69 MB / 1.149 GB, free: 253.2 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001722/2.658, allocations: 147 kB / 1.149 GB, free: 253 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01564/2.673, allocations: 0.8336 MB / 1.15 GB, free: 252.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0033/2.677, allocations: 3.423 MB / 1.153 GB, free: 248.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.159/2.836, allocations: 66.18 MB / 1.218 GB, free: 182.6 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.3721/3.208, allocations: 165 MB / 1.379 GB, free: 16.23 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5513/3.759, allocations: 35.05 MB / 1.413 GB, free: 279.1 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04519/3.804, allocations: 20.11 MB / 1.433 GB, free: 271.5 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005484/3.81, allocations: 0.9961 MB / 1.434 GB, free: 271.4 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/3.81, allocations: 353.3 kB / 1.434 GB, free: 271.1 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=3289): time 3.082e-05/3.81, allocations: 0 / 1.434 GB, free: 271.1 MB / 0.8264 GB Notification: Performance of matching and sorting (n=3445): time 0.6274/4.438, allocations: 198.9 MB / 1.628 GB, free: 111.4 MB / 0.8264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000611/4.438, allocations: 1.546 MB / 1.63 GB, free: 109.5 MB / 0.8264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02942/4.468, allocations: 16.05 MB / 1.645 GB, free: 93.88 MB / 0.8264 GB Notification: Performance of collectPreVariables (initialization): time 0.01099/4.479, allocations: 0.5589 MB / 1.646 GB, free: 93.32 MB / 0.8264 GB Notification: Performance of collectInitialEqns (initialization): time 0.009714/4.488, allocations: 10.13 MB / 1.656 GB, free: 84.43 MB / 0.8264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01985/4.508, allocations: 12.86 MB / 1.668 GB, free: 72 MB / 0.8264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04287/4.551, allocations: 7.959 MB / 1.676 GB, free: 64.01 MB / 0.8264 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/4.551, allocations: 313 kB / 1.677 GB, free: 63.7 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0526/4.604, allocations: 22.4 MB / 1.698 GB, free: 41.29 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5144/5.118, allocations: 29.83 MB / 1.728 GB, free: 258.5 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1131/5.231, allocations: 52.33 MB / 1.779 GB, free: 231.8 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003738/5.232, allocations: 54.91 kB / 1.779 GB, free: 231.8 MB / 0.8264 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1995/5.431, allocations: 68.93 MB / 1.846 GB, free: 176.1 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005288/5.432, allocations: 90.72 kB / 1.846 GB, free: 176 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1755/5.607, allocations: 60.72 MB / 1.905 GB, free: 115.2 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7181/6.325, allocations: 118.7 MB / 2.021 GB, free: 257 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03201/6.357, allocations: 6.039 MB / 2.027 GB, free: 256.9 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1262/6.483, allocations: 54.75 MB / 2.081 GB, free: 235 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04259/6.526, allocations: 2.393 MB / 2.083 GB, free: 232.8 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01204/6.538, allocations: 1.904 MB / 2.085 GB, free: 230.9 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07263/6.611, allocations: 29.22 MB / 2.113 GB, free: 201.6 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06235/6.673, allocations: 29.73 MB / 2.142 GB, free: 169.2 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1109/6.784, allocations: 52.09 MB / 2.193 GB, free: 114.4 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003334/6.784, allocations: 56.19 kB / 2.193 GB, free: 114.4 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.2009/6.985, allocations: 67.01 MB / 2.259 GB, free: 48.53 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004623/6.986, allocations: 88 kB / 2.259 GB, free: 48.45 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.6478/7.633, allocations: 58.83 MB / 2.316 GB, free: 227.5 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2635/7.897, allocations: 111.4 MB / 2.425 GB, free: 177.3 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03088/7.928, allocations: 6.575 MB / 2.431 GB, free: 171.9 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1172/8.045, allocations: 57.37 MB / 2.488 GB, free: 114.4 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04476/8.09, allocations: 2.185 MB / 2.49 GB, free: 112.2 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01254/8.102, allocations: 1.891 MB / 2.491 GB, free: 110.3 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.02297/8.125, allocations: 2.124 MB / 2.494 GB, free: 108.3 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01515/8.14, allocations: 2.57 MB / 2.496 GB, free: 107.2 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.08508/8.225, allocations: 31.51 MB / 2.527 GB, free: 76.33 MB / 0.8264 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 791] [Calling sys.exit(0), Time elapsed: 12.656699692000984] Failed to read output from testmodel.py, exit status != 0: 8.786160940999252 8.798185451 7.392163264 Calling exit ...