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.0102/0.0102, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001335/0.001335, allocations: 104.6 kB / 24.18 MB, free: 2.438 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.001528/0.001528, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.435/1.435, allocations: 230.6 MB / 262.1 MB, free: 5.812 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.066/1.066, allocations: 130.7 MB / 449.6 MB, free: 6.41 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.06409/0.06409, allocations: 20.98 MB / 0.6359 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.2502, allocations: 81.91 MB / 0.7159 GB, free: 2.656 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.5814/0.8316, allocations: 64.02 MB / 0.7784 GB, free: 8.426 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0516/0.8832, allocations: 27.39 MB / 0.8051 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0123/0.8955, allocations: 210.4 kB / 0.8053 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.9057, allocations: 2.885 MB / 0.8082 GB, free: 1.871 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02183/0.9275, allocations: 5.433 MB / 0.8135 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02185/0.9494, allocations: 7.131 MB / 0.8204 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.06417/1.014, allocations: 53.84 MB / 0.873 GB, free: 1.535 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03085/1.044, allocations: 17.26 MB / 0.8899 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03787/1.082, allocations: 18.28 MB / 0.9077 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05149/1.134, allocations: 22.68 MB / 0.9299 GB, free: 7.211 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01817/1.152, allocations: 3.676 MB / 0.9334 GB, free: 3.535 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02529/1.177, allocations: 4.834 MB / 0.9382 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.02731/1.205, allocations: 14.96 MB / 0.9528 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04512/1.25, allocations: 16.52 MB / 0.9689 GB, free: 15.12 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.08408/1.334, allocations: 52.92 MB / 1.021 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.334, allocations: 0 / 1.021 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/1.334, allocations: 0 / 1.021 GB, free: 10.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001879/1.336, allocations: 0 / 1.021 GB, free: 10.02 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.1891/1.525, allocations: 42 MB / 1.062 GB, free: 332 kB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/1.525, allocations: 12.03 kB / 1.062 GB, free: 320 kB / 0.8263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.6585/2.183, allocations: 3.521 MB / 1.065 GB, free: 315.8 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02202/2.205, allocations: 3.447 MB / 1.068 GB, free: 314.7 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0902/2.295, allocations: 17.68 MB / 1.086 GB, free: 308.3 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003948/2.299, allocations: 2.409 MB / 1.088 GB, free: 307 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01792/2.317, allocations: 2.444 MB / 1.09 GB, free: 306.1 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1347/2.452, allocations: 51.11 MB / 1.14 GB, free: 264.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001738/2.454, allocations: 139.1 kB / 1.14 GB, free: 264 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01243/2.466, allocations: 0.8322 MB / 1.141 GB, free: 263.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002661/2.469, allocations: 3.427 MB / 1.145 GB, free: 259.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1502/2.619, allocations: 65.74 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.3477/2.967, allocations: 147.3 MB / 1.353 GB, free: 47.61 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07008/3.037, allocations: 34.96 MB / 1.387 GB, free: 12.44 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4213/3.458, allocations: 20.09 MB / 1.406 GB, free: 285.7 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006358/3.464, allocations: 0.8081 MB / 1.407 GB, free: 285.7 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/3.465, allocations: 352.4 kB / 1.408 GB, free: 285.6 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=3289): time 4.146e-05/3.465, allocations: 0.5938 kB / 1.408 GB, free: 285.6 MB / 0.8264 GB Notification: Performance of matching and sorting (n=3445): time 0.5977/4.063, allocations: 198.9 MB / 1.602 GB, free: 142 MB / 0.8264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004285/4.063, allocations: 1.548 MB / 1.603 GB, free: 140.2 MB / 0.8264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02762/4.091, allocations: 16.37 MB / 1.619 GB, free: 124.3 MB / 0.8264 GB Notification: Performance of collectPreVariables (initialization): time 0.009577/4.1, allocations: 0.5573 MB / 1.62 GB, free: 123.7 MB / 0.8264 GB Notification: Performance of collectInitialEqns (initialization): time 0.007743/4.108, allocations: 10.14 MB / 1.63 GB, free: 114.8 MB / 0.8264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0169/4.125, allocations: 12.85 MB / 1.642 GB, free: 102.4 MB / 0.8264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03574/4.161, allocations: 7.962 MB / 1.65 GB, free: 94.38 MB / 0.8264 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/4.161, allocations: 301.1 kB / 1.65 GB, free: 94.08 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04951/4.21, allocations: 22.4 MB / 1.672 GB, free: 71.66 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05829/4.269, allocations: 30.49 MB / 1.702 GB, free: 38.35 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5142/4.783, allocations: 52.33 MB / 1.753 GB, free: 235.3 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000245/4.783, allocations: 58.84 kB / 1.753 GB, free: 235.3 MB / 0.8264 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1922/4.975, allocations: 68.94 MB / 1.821 GB, free: 202.2 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/4.975, allocations: 88 kB / 1.821 GB, free: 202.1 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1651/5.14, allocations: 60.72 MB / 1.88 GB, free: 142.7 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2734/5.414, allocations: 118.7 MB / 1.996 GB, free: 24.09 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03035/5.444, allocations: 6.033 MB / 2.002 GB, free: 18.05 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.591/6.035, allocations: 54.76 MB / 2.055 GB, free: 239.8 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04452/6.08, allocations: 2.393 MB / 2.058 GB, free: 239.1 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01215/6.092, allocations: 1.904 MB / 2.059 GB, free: 238.8 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07571/6.168, allocations: 29.22 MB / 2.088 GB, free: 228.1 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06014/6.228, allocations: 30.37 MB / 2.118 GB, free: 204.9 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1093/6.337, allocations: 52.1 MB / 2.168 GB, free: 150.7 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003827/6.337, allocations: 52.98 kB / 2.169 GB, free: 150.6 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.1938/6.531, allocations: 67 MB / 2.234 GB, free: 84.98 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004343/6.532, allocations: 84 kB / 2.234 GB, free: 84.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 postOpt simplifyComplexFunction (initialization): time 0.1666/6.698, allocations: 58.84 MB / 2.292 GB, free: 26.01 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6863/7.385, allocations: 111.4 MB / 2.4 GB, free: 202.9 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03394/7.419, allocations: 6.583 MB / 2.407 GB, free: 197.8 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1434/7.562, allocations: 57.18 MB / 2.463 GB, free: 151.8 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04391/7.606, allocations: 2.185 MB / 2.465 GB, free: 149.9 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01279/7.619, allocations: 1.897 MB / 2.467 GB, free: 148.4 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.02349/7.642, allocations: 2.12 MB / 2.469 GB, free: 146.3 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0155/7.658, allocations: 2.566 MB / 2.471 GB, free: 145.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.07993/7.738, allocations: 31.56 MB / 2.502 GB, free: 116.8 MB / 0.8264 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 792] [Calling sys.exit(0), Time elapsed: 11.53564202412963] Failed to read output from testmodel.py, exit status != 0: 7.912882190197706 7.923203842 6.586755571 Calling exit ...