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.01105/0.01105, allocations: 1.757 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.00135/0.00135, allocations: 106.3 kB / 24.19 MB, free: 2.656 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.001833/0.001833, allocations: 209.2 kB / 27.92 MB, free: 4 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.556/1.556, allocations: 230.6 MB / 262.1 MB, free: 6.207 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.18/1.18, 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.035/0.035, allocations: 20.78 MB / 0.6358 GB, free: 5.164 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.2186, allocations: 81.9 MB / 0.7157 GB, free: 3.156 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.5255/0.7441, allocations: 75.41 MB / 0.7894 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.06722/0.8113, allocations: 29.7 MB / 0.8184 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/0.8238, allocations: 266.8 kB / 0.8186 GB, free: 8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01351/0.8373, allocations: 4.251 MB / 0.8228 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02516/0.8625, allocations: 6.686 MB / 0.8293 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0174/0.8799, allocations: 6.462 MB / 0.8356 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03231/0.9122, allocations: 18.17 MB / 0.8534 GB, free: 6.262 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01296/0.9251, allocations: 4.973 MB / 0.8582 GB, free: 1.203 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01747/0.9426, allocations: 7.431 MB / 0.8655 GB, free: 9.746 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01856/0.9612, allocations: 7.536 MB / 0.8728 GB, free: 2.18 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005918/0.9671, allocations: 1.074 MB / 0.8739 GB, free: 1.105 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.9802, allocations: 3.458 MB / 0.8773 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007445/0.9877, allocations: 3.406 MB / 0.8806 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01816/1.006, allocations: 6.128 MB / 0.8866 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0398/1.046, allocations: 17.71 MB / 0.9039 GB, free: 2.293 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.046, allocations: 3.984 kB / 0.9039 GB, free: 2.289 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.904e-06/1.046, allocations: 2.656 kB / 0.9039 GB, free: 2.289 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007309/1.046, allocations: 0 / 0.9039 GB, free: 2.289 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.03357/1.08, allocations: 11.98 MB / 0.9156 GB, free: 6.234 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.08, allocations: 12.02 kB / 0.9156 GB, free: 6.223 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003761/1.084, allocations: 1.151 MB / 0.9167 GB, free: 5.066 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00659/1.09, allocations: 1.6 MB / 0.9183 GB, free: 3.461 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02156/1.112, allocations: 8.226 MB / 0.9263 GB, free: 11.18 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007415/1.113, allocations: 0.4899 MB / 0.9268 GB, free: 10.69 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/1.115, allocations: 0.6327 MB / 0.9274 GB, free: 10.05 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04557/1.161, allocations: 16.81 MB / 0.9438 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003617/1.161, allocations: 103 kB / 0.9439 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/1.163, allocations: 344 kB / 0.9443 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005885/1.164, allocations: 368 kB / 0.9446 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03789/1.202, allocations: 12.18 MB / 0.9565 GB, free: 10.11 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.1031/1.305, allocations: 80.28 MB / 1.035 GB, free: 7.27 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02877/1.334, allocations: 9.593 MB / 1.044 GB, free: 13.36 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008407/1.342, allocations: 3.234 MB / 1.047 GB, free: 9.988 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/1.344, allocations: 349 kB / 1.048 GB, free: 9.648 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/1.344, allocations: 137.4 kB / 1.048 GB, free: 9.508 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1268): time 9.608e-06/1.344, allocations: 0 / 1.048 GB, free: 9.508 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1269): time 0.4682/1.812, allocations: 82.02 MB / 1.128 GB, free: 298 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004015/1.812, allocations: 1.696 MB / 1.13 GB, free: 296 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/1.826, allocations: 8.311 MB / 1.138 GB, free: 289.4 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002512/1.828, allocations: 109.7 kB / 1.138 GB, free: 289.2 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002991/1.831, allocations: 4.622 MB / 1.142 GB, free: 285.5 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.006216/1.838, allocations: 4.34 MB / 1.147 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005552/1.843, allocations: 2.845 MB / 1.149 GB, free: 279.6 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 6.207e-05/1.843, allocations: 301.1 kB / 1.15 GB, free: 279.3 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008133/1.851, allocations: 4.927 MB / 1.154 GB, free: 274.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/1.863, allocations: 9.616 MB / 1.164 GB, free: 262.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02105/1.884, allocations: 15.88 MB / 1.179 GB, free: 245.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/1.884, allocations: 47.94 kB / 1.179 GB, free: 245.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.03648/1.921, allocations: 16.71 MB / 1.196 GB, free: 228.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/1.921, allocations: 71.94 kB / 1.196 GB, free: 228.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02513/1.946, allocations: 11.52 MB / 1.207 GB, free: 217 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003431/1.949, allocations: 1.196 MB / 1.208 GB, free: 215.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/1.961, allocations: 3.613 MB / 1.212 GB, free: 212.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009633/1.97, allocations: 10.24 MB / 1.222 GB, free: 201.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009657/1.98, allocations: 0.5443 MB / 1.222 GB, free: 201 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00286/1.983, allocations: 0.9291 MB / 1.223 GB, free: 200.1 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01581/1.998, allocations: 6.879 MB / 1.23 GB, free: 193.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01318/2.012, allocations: 9.559 MB / 1.239 GB, free: 181.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02334/2.035, allocations: 15.79 MB / 1.255 GB, free: 163.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001769/2.035, allocations: 44 kB / 1.255 GB, free: 163.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1922) (initialization_lambda0): time 0.03651/2.072, allocations: 16.39 MB / 1.271 GB, free: 147.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/2.072, allocations: 70.5 kB / 1.271 GB, free: 147.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0251/2.097, allocations: 11.23 MB / 1.282 GB, free: 135.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/2.099, allocations: 0.9002 MB / 1.283 GB, free: 134.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.111, allocations: 3.642 MB / 1.286 GB, free: 131.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00858/2.12, allocations: 8.815 MB / 1.295 GB, free: 122 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009714/2.129, allocations: 0.5329 MB / 1.295 GB, free: 121.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002901/2.132, allocations: 0.9213 MB / 1.296 GB, free: 120.6 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.005573/2.138, allocations: 1.037 MB / 1.297 GB, free: 119.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005845/2.144, allocations: 1.109 MB / 1.298 GB, free: 118.5 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.03215/2.176, allocations: 17.13 MB / 1.315 GB, free: 101.6 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.606134262867272] Failed to read output from testmodel.py, exit status != 0: 2.634893177077174 2.648383632 1.5994807450000001 Calling exit ...