Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector.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.01251/0.01251, 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.001277/0.001277, allocations: 111 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.001728/0.001728, allocations: 211.8 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.484/1.484, allocations: 230.6 MB / 262.1 MB, free: 6.195 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.064/1.064, allocations: 130.7 MB / 449.7 MB, free: 6.57 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_SprayInjector,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_SprayInjector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_SprayInjector",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.03544/0.03544, allocations: 20.8 MB / 0.6358 GB, free: 5.152 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.2185, allocations: 81.91 MB / 0.7157 GB, free: 3.152 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_SprayInjector): time 0.5363/0.7548, allocations: 69.52 MB / 0.7836 GB, free: 3.293 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05849/0.8133, allocations: 28.81 MB / 0.8118 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01279/0.826, allocations: 212.1 kB / 0.812 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.8385, allocations: 3.936 MB / 0.8158 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02194/0.8605, allocations: 6.302 MB / 0.822 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01592/0.8764, allocations: 5.924 MB / 0.8277 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03018/0.9066, allocations: 17.41 MB / 0.8447 GB, free: 15.1 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009799/0.9164, allocations: 4.786 MB / 0.8494 GB, free: 10.23 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01512/0.9315, allocations: 6.925 MB / 0.8562 GB, free: 3.281 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01423/0.9457, allocations: 7.147 MB / 0.8632 GB, free: 12.11 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005313/0.951, allocations: 1.141 MB / 0.8643 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/0.964, allocations: 3.744 MB / 0.8679 GB, free: 7.23 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.00737/0.9714, allocations: 3.476 MB / 0.8713 GB, free: 3.746 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01381/0.9852, allocations: 5.823 MB / 0.877 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03571/1.021, allocations: 17.97 MB / 0.8946 GB, free: 11.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.021, allocations: 0 / 0.8946 GB, free: 11.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.225e-06/1.021, allocations: 0 / 0.8946 GB, free: 11.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006741/1.022, allocations: 0 / 0.8946 GB, free: 11.86 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: 2203 * Number of variables: 2203 Notification: Performance of Generate backend data structure: time 0.03255/1.054, allocations: 11.26 MB / 0.9056 GB, free: 0.543 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.054, allocations: 8.031 kB / 0.9056 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002292/1.056, allocations: 1.015 MB / 0.9066 GB, free: 15.51 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/1.061, allocations: 1.404 MB / 0.9079 GB, free: 14.1 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/1.078, allocations: 7.908 MB / 0.9156 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/1.078, allocations: 450.4 kB / 0.9161 GB, free: 5.684 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/1.08, allocations: 0.5741 MB / 0.9166 GB, free: 5.109 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03717/1.117, allocations: 14.74 MB / 0.931 GB, free: 4.848 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002108/1.117, allocations: 80.73 kB / 0.9311 GB, free: 4.773 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001146/1.118, allocations: 288 kB / 0.9314 GB, free: 4.492 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005674/1.119, allocations: 484.6 kB / 0.9318 GB, free: 4.016 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03183/1.151, allocations: 11.74 MB / 0.9433 GB, free: 8.27 MB / 0.7169 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.09017/1.241, allocations: 63.45 MB / 1.005 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02748/1.268, allocations: 9.406 MB / 1.014 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008616/1.277, allocations: 3.508 MB / 1.018 GB, free: 9.758 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002059/1.279, allocations: 448.7 kB / 1.018 GB, free: 9.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/1.279, allocations: 132.2 kB / 1.018 GB, free: 9.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1085): time 1.713e-05/1.279, allocations: 0 / 1.018 GB, free: 9.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=1086): time 0.456/1.735, allocations: 64.56 MB / 1.081 GB, free: 330.8 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005215/1.736, allocations: 1.463 MB / 1.083 GB, free: 329.1 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/1.749, allocations: 7.271 MB / 1.09 GB, free: 326.5 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002175/1.751, allocations: 113.3 kB / 1.09 GB, free: 326.4 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002529/1.753, allocations: 3.853 MB / 1.094 GB, free: 323.7 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004774/1.758, allocations: 3.717 MB / 1.098 GB, free: 321.3 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004146/1.762, allocations: 2.361 MB / 1.1 GB, free: 320.4 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/1.762, allocations: 302.2 kB / 1.1 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007822/1.77, allocations: 4.839 MB / 1.105 GB, free: 318 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009481/1.78, allocations: 8.171 MB / 1.113 GB, free: 311.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/1.797, allocations: 13.97 MB / 1.126 GB, free: 302.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.626e-05/1.797, allocations: 30.66 kB / 1.126 GB, free: 302.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.02719/1.824, allocations: 15.68 MB / 1.142 GB, free: 286.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/1.824, allocations: 48 kB / 1.142 GB, free: 286.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0254/1.85, allocations: 12.68 MB / 1.154 GB, free: 273.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0813/1.931, allocations: 7.994 MB / 1.162 GB, free: 266.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/1.941, allocations: 2.921 MB / 1.165 GB, free: 263.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009602/1.951, allocations: 9.962 MB / 1.175 GB, free: 252.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008861/1.96, allocations: 0.5426 MB / 1.175 GB, free: 252.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002262/1.962, allocations: 0.7339 MB / 1.176 GB, free: 251.7 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0125/1.974, allocations: 6.708 MB / 1.182 GB, free: 244.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01265/1.987, allocations: 8.087 MB / 1.19 GB, free: 235.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.025/2.012, allocations: 13.82 MB / 1.204 GB, free: 220.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001192/2.012, allocations: 30.03 kB / 1.204 GB, free: 220.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03373/2.046, allocations: 14.76 MB / 1.218 GB, free: 205.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/2.046, allocations: 51.03 kB / 1.218 GB, free: 205.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02551/2.071, allocations: 11.07 MB / 1.229 GB, free: 194.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/2.074, allocations: 0.8451 MB / 1.23 GB, free: 193.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.085, allocations: 3.007 MB / 1.233 GB, free: 190.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008113/2.093, allocations: 8.188 MB / 1.241 GB, free: 181.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009945/2.103, allocations: 0.5304 MB / 1.241 GB, free: 181.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002868/2.106, allocations: 0.7261 MB / 1.242 GB, free: 180.6 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 2 (valve1.pressureLoss.normIsValid,valve.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1466): * Single equations (assignments): 1458 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,43), (3,19), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00508/2.111, allocations: 0.8424 MB / 1.243 GB, free: 179.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004966/2.116, allocations: 0.9465 MB / 1.244 GB, free: 178.9 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 1624 equation(s) and 1554 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (massFlowSource_XRG.fluidOut.q, massFlowSource_XRG.fluidOut.cp, massFlowSource_XRG.fluidOut.cv, massFlowSource_XRG.fluidOut.beta, massFlowSource_XRG.fluidOut.kappa, massFlowSource_XRG.fluidOut.drhodp_hxi, massFlowSource_XRG.fluidOut.drhodh_pxi, _, massFlowSource_XRG.fluidOut.w, massFlowSource_XRG.fluidOut.gamma) = ($cse388, $cse389, $cse390, $cse391, $cse392, $cse393, $cse394, $cse395, $cse396, $cse397) has size 9 but 8 variables ($cse229, $cse230, $cse231, $cse232, injector.outflowZone.bulk.transp.Pr, injector.outflowZone.bulk.transp.lambda, injector.outflowZone.bulk.transp.eta, injector.outflowZone.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0283/2.144, allocations: 13.76 MB / 1.257 GB, free: 165.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.046529549999832] Failed to read output from testmodel.py, exit status != 0: 2.31567891099985 2.327678233 1.303935351 Calling exit ...