Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit.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.01014/0.01014, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001205/0.001205, allocations: 106 kB / 24.19 MB, free: 2.652 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.001471/0.001471, allocations: 210.4 kB / 27.92 MB, free: 3.996 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.459/1.459, allocations: 230.6 MB / 262.1 MB, free: 6.211 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.098/1.098, allocations: 130.7 MB / 449.7 MB, free: 6.586 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.Fittings.Check.Test_MixAndSplit,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_MixAndSplit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_MixAndSplit,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_MixAndSplit",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.03244/0.03244, allocations: 20.78 MB / 0.6358 GB, free: 5.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.2014, allocations: 81.91 MB / 0.7157 GB, free: 3.164 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.Fittings.Check.Test_MixAndSplit): time 0.5609/0.7623, allocations: 75.4 MB / 0.7894 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.06394/0.8262, allocations: 29.71 MB / 0.8184 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01762/0.8438, allocations: 265.6 kB / 0.8186 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01334/0.8572, allocations: 4.242 MB / 0.8228 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02396/0.8812, allocations: 6.685 MB / 0.8293 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01737/0.8985, allocations: 6.465 MB / 0.8356 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03486/0.9334, allocations: 18.17 MB / 0.8534 GB, free: 6.285 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.9438, allocations: 4.977 MB / 0.8582 GB, free: 1.223 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01681/0.9606, allocations: 7.427 MB / 0.8655 GB, free: 9.766 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01483/0.9755, allocations: 7.528 MB / 0.8728 GB, free: 2.207 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005267/0.9807, allocations: 1.074 MB / 0.8739 GB, free: 1.133 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.9945, allocations: 3.463 MB / 0.8773 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.008684/1.003, allocations: 3.408 MB / 0.8806 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01734/1.021, allocations: 6.128 MB / 0.8866 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03547/1.056, allocations: 17.72 MB / 0.9039 GB, free: 2.316 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.056, allocations: 0 / 0.9039 GB, free: 2.316 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.933e-06/1.056, allocations: 2.656 kB / 0.9039 GB, free: 2.316 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007025/1.057, allocations: 0 / 0.9039 GB, free: 2.316 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.03111/1.088, allocations: 11.98 MB / 0.9156 GB, free: 6.258 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.088, allocations: 8.031 kB / 0.9156 GB, free: 6.25 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003352/1.091, allocations: 1.152 MB / 0.9167 GB, free: 5.09 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006077/1.097, allocations: 1.6 MB / 0.9183 GB, free: 3.484 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/1.118, allocations: 8.222 MB / 0.9263 GB, free: 11.21 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006018/1.119, allocations: 0.4938 MB / 0.9268 GB, free: 10.71 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/1.121, allocations: 0.6366 MB / 0.9274 GB, free: 10.08 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0415/1.162, allocations: 16.8 MB / 0.9438 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/1.163, allocations: 105.7 kB / 0.9439 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/1.164, allocations: 348 kB / 0.9443 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004519/1.164, allocations: 368 kB / 0.9446 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/1.199, allocations: 12.18 MB / 0.9565 GB, free: 10.14 MB / 0.7325 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.0947/1.294, allocations: 80.28 MB / 1.035 GB, free: 7.285 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02753/1.322, allocations: 9.591 MB / 1.044 GB, free: 13.37 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007484/1.329, allocations: 3.233 MB / 1.047 GB, free: 10.01 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/1.33, allocations: 353 kB / 1.048 GB, free: 9.664 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/1.331, allocations: 134.7 kB / 1.048 GB, free: 9.523 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1268): time 1.613e-05/1.331, allocations: 4 kB / 1.048 GB, free: 9.52 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1269): time 0.4245/1.755, allocations: 82.03 MB / 1.128 GB, free: 300.6 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004057/1.756, allocations: 1.69 MB / 1.13 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01777/1.773, allocations: 8.314 MB / 1.138 GB, free: 292.3 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002981/1.776, allocations: 106.5 kB / 1.138 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.004029/1.78, allocations: 4.623 MB / 1.142 GB, free: 288 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.006243/1.787, allocations: 4.337 MB / 1.147 GB, free: 284.1 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009498/1.796, allocations: 2.851 MB / 1.149 GB, free: 281.8 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.134e-05/1.796, allocations: 301.1 kB / 1.15 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00835/1.804, allocations: 4.927 MB / 1.154 GB, free: 276.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/1.815, allocations: 9.617 MB / 1.164 GB, free: 265 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/1.836, allocations: 15.89 MB / 1.179 GB, free: 247.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.836, allocations: 43.94 kB / 1.179 GB, free: 247.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.03765/1.874, allocations: 16.71 MB / 1.196 GB, free: 230.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/1.874, allocations: 68 kB / 1.196 GB, free: 230.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02607/1.9, allocations: 11.53 MB / 1.207 GB, free: 219.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/1.903, allocations: 1.184 MB / 1.208 GB, free: 218 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01122/1.915, allocations: 3.615 MB / 1.212 GB, free: 214.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009607/1.924, allocations: 10.24 MB / 1.222 GB, free: 203.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009723/1.934, allocations: 0.5433 MB / 1.222 GB, free: 203.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003017/1.937, allocations: 0.933 MB / 1.223 GB, free: 202.3 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01572/1.953, allocations: 6.873 MB / 1.23 GB, free: 195.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01274/1.965, allocations: 9.563 MB / 1.239 GB, free: 183.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02262/1.988, allocations: 15.79 MB / 1.255 GB, free: 165.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001917/1.988, allocations: 40 kB / 1.255 GB, free: 165.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1922) (initialization_lambda0): time 0.03875/2.027, allocations: 16.39 MB / 1.271 GB, free: 149.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/2.027, allocations: 68 kB / 1.271 GB, free: 149.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02267/2.05, allocations: 11.23 MB / 1.282 GB, free: 138 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/2.052, allocations: 0.8998 MB / 1.283 GB, free: 137.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/2.063, allocations: 3.65 MB / 1.286 GB, free: 133.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007595/2.07, allocations: 8.807 MB / 1.295 GB, free: 124.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008477/2.079, allocations: 0.5323 MB / 1.295 GB, free: 123.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002649/2.081, allocations: 0.9291 MB / 1.296 GB, free: 122.8 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 674 * 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 (1862): * Single equations (assignments): 1853 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(2,11), (2,14), (2,13), (1,3), (1,3), (1,3), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.005048/2.086, allocations: 1.026 MB / 1.297 GB, free: 121.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005267/2.092, allocations: 1.117 MB / 1.298 GB, free: 120.6 MB / 0.8263 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 1872 equation(s) and 1777 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (massFlowSource_XRG4.fluidOut.q, massFlowSource_XRG4.fluidOut.cp, massFlowSource_XRG4.fluidOut.cv, massFlowSource_XRG4.fluidOut.beta, massFlowSource_XRG4.fluidOut.kappa, massFlowSource_XRG4.fluidOut.drhodp_hxi, massFlowSource_XRG4.fluidOut.drhodh_pxi, _, massFlowSource_XRG4.fluidOut.w, massFlowSource_XRG4.fluidOut.gamma) = ($cse494, $cse495, $cse496, $cse497, $cse498, $cse499, $cse500, $cse501, $cse502, $cse503) has size 9 but 4 variables (flxibleJoin.drhodt, valveLinear_1_XRG.pressureLoss.m_flow, quadruple2.m_flow, quadruple4.m_flow) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02752/2.119, allocations: 17.13 MB / 1.315 GB, free: 103.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.360128503998567] Failed to read output from testmodel.py, exit status != 0: 2.5906314400017436 2.609185226 1.549257428 Calling exit ...