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.01414/0.01414, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001529/0.001529, allocations: 114.3 kB / 24.19 MB, free: 2.691 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.001966/0.001966, allocations: 207.9 kB / 27.92 MB, free: 4.027 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.504/1.504, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.099/1.099, allocations: 130.7 MB / 449.7 MB, free: 6.582 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.03229/0.03229, allocations: 20.78 MB / 0.6358 GB, free: 5.109 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.2091, allocations: 81.91 MB / 0.7158 GB, free: 3.105 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.6165/0.8256, allocations: 69.26 MB / 0.7834 GB, free: 3.289 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06272/0.8883, allocations: 28.17 MB / 0.8109 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/0.9022, allocations: 208.2 kB / 0.8111 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.9136, allocations: 2.93 MB / 0.814 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02213/0.9357, allocations: 5.428 MB / 0.8193 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02293/0.9586, allocations: 7.139 MB / 0.8262 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0692/1.028, allocations: 53.94 MB / 0.8789 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03665/1.064, allocations: 17.1 MB / 0.8956 GB, free: 10.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03841/1.103, allocations: 18.22 MB / 0.9134 GB, free: 8.566 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04742/1.15, allocations: 23.48 MB / 0.9363 GB, free: 1.07 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01562/1.166, allocations: 3.676 MB / 0.9399 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02187/1.188, allocations: 5.409 MB / 0.9452 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.02468/1.212, allocations: 14.95 MB / 0.9598 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04721/1.26, allocations: 19.61 MB / 0.979 GB, free: 5.309 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.08251/1.342, allocations: 52.74 MB / 1.03 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.342, allocations: 0 / 1.03 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/1.342, allocations: 0 / 1.03 GB, free: 392 kB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001816/1.344, allocations: 5.812 kB / 1.03 GB, free: 388 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.7889/2.133, allocations: 41.99 MB / 1.071 GB, free: 310.7 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/2.133, allocations: 9.5 kB / 1.071 GB, free: 310.7 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01882/2.152, allocations: 3.527 MB / 1.075 GB, free: 309 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/2.174, allocations: 3.45 MB / 1.078 GB, free: 307.1 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06345/2.237, allocations: 17.68 MB / 1.096 GB, free: 301 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003352/2.241, allocations: 2.406 MB / 1.098 GB, free: 299.6 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01564/2.256, allocations: 2.445 MB / 1.1 GB, free: 298.8 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1275/2.384, allocations: 49.69 MB / 1.149 GB, free: 253.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001788/2.386, allocations: 139.1 kB / 1.149 GB, free: 253 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01593/2.401, allocations: 0.8309 MB / 1.15 GB, free: 252.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003385/2.405, allocations: 3.431 MB / 1.153 GB, free: 248.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.148/2.553, 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.3567/2.91, allocations: 165 MB / 1.379 GB, free: 16.21 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4362/3.346, allocations: 35.06 MB / 1.413 GB, free: 279.3 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04763/3.393, allocations: 20.1 MB / 1.433 GB, free: 271.7 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006125/3.4, allocations: 0.9882 MB / 1.434 GB, free: 271.5 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/3.4, allocations: 358.3 kB / 1.434 GB, free: 271.3 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=3289): time 5.695e-05/3.4, allocations: 0 / 1.434 GB, free: 271.3 MB / 0.8264 GB Notification: Performance of matching and sorting (n=3445): time 0.5863/3.986, allocations: 198.9 MB / 1.628 GB, free: 111.3 MB / 0.8264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004762/3.987, allocations: 1.553 MB / 1.63 GB, free: 109.5 MB / 0.8264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03031/4.017, allocations: 16.05 MB / 1.645 GB, free: 93.82 MB / 0.8264 GB Notification: Performance of collectPreVariables (initialization): time 0.008803/4.026, allocations: 0.5564 MB / 1.646 GB, free: 93.25 MB / 0.8264 GB Notification: Performance of collectInitialEqns (initialization): time 0.008457/4.034, allocations: 10.14 MB / 1.656 GB, free: 84.37 MB / 0.8264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01735/4.052, allocations: 12.86 MB / 1.668 GB, free: 71.93 MB / 0.8264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0344/4.086, allocations: 7.959 MB / 1.676 GB, free: 63.94 MB / 0.8264 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/4.086, allocations: 307.5 kB / 1.677 GB, free: 63.64 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0514/4.138, allocations: 22.41 MB / 1.698 GB, free: 41.22 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4627/4.6, allocations: 29.83 MB / 1.728 GB, free: 258.6 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1103/4.711, allocations: 52.33 MB / 1.779 GB, free: 231.9 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002703/4.711, allocations: 52.78 kB / 1.779 GB, free: 231.9 MB / 0.8264 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.177/4.888, allocations: 68.93 MB / 1.846 GB, free: 176 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/4.888, allocations: 88 kB / 1.846 GB, free: 175.9 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1652/5.053, allocations: 60.71 MB / 1.905 GB, free: 115.1 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6261/5.679, allocations: 118.7 MB / 2.021 GB, free: 257.1 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0305/5.71, allocations: 6.036 MB / 2.027 GB, free: 257.1 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1345/5.844, allocations: 54.74 MB / 2.081 GB, free: 234.9 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04057/5.885, allocations: 2.398 MB / 2.083 GB, free: 232.7 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01137/5.896, allocations: 1.9 MB / 2.085 GB, free: 230.8 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06611/5.962, allocations: 29.23 MB / 2.113 GB, free: 201.5 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05583/6.018, allocations: 29.72 MB / 2.142 GB, free: 169.2 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1047/6.123, allocations: 52.1 MB / 2.193 GB, free: 114.4 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002126/6.123, allocations: 56.19 kB / 2.193 GB, free: 114.3 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.1774/6.301, allocations: 67 MB / 2.259 GB, free: 48.46 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001925/6.301, allocations: 89 kB / 2.259 GB, free: 48.37 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.5613/6.862, allocations: 58.83 MB / 2.316 GB, free: 227.6 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2643/7.126, allocations: 111.4 MB / 2.425 GB, free: 177.2 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03166/7.158, allocations: 6.58 MB / 2.431 GB, free: 171.8 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1257/7.284, allocations: 57.38 MB / 2.488 GB, free: 114.3 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03894/7.323, allocations: 2.18 MB / 2.49 GB, free: 112.2 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01117/7.334, allocations: 1.897 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.01963/7.353, allocations: 2.121 MB / 2.494 GB, free: 108.2 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01301/7.366, allocations: 2.57 MB / 2.496 GB, free: 107.1 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.07788/7.444, allocations: 31.52 MB / 2.527 GB, free: 76.24 MB / 0.8264 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 792] [Calling sys.exit(0), Time elapsed: 11.809989994158968] Failed to read output from testmodel.py, exit status != 0: 7.965425770962611 7.97794207 6.632713172 Calling exit ...