Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01529/0.01529, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001668/0.001668, allocations: 107.9 kB / 24.19 MB, free: 2.688 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.002243/0.002243, allocations: 211.8 kB / 27.92 MB, free: 4.035 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.665/1.665, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.153/1.153, allocations: 130.7 MB / 449.6 MB, free: 6.566 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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: translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|injector.mixingZone.h|injector.mixingZone.p|injector.outflowZone.h|injector.outflowZone.p|injector.wall.U.1.|injector.wall.U.2.|injector.wall.U.3.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.1.|injector1.wall.U.2.|injector1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|injector.mixingZone.h|injector.mixingZone.p|injector.outflowZone.h|injector.outflowZone.p|injector.wall.U.1.|injector.wall.U.2.|injector.wall.U.3.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.1.|injector1.wall.U.2.|injector1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [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.03613/0.03613, allocations: 20.78 MB / 0.6362 GB, free: 4.621 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.2273, allocations: 81.91 MB / 0.7162 GB, free: 2.629 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.5831/0.8104, allocations: 69.52 MB / 0.7841 GB, free: 3.18 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06068/0.8711, allocations: 28.81 MB / 0.8122 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01463/0.8857, allocations: 211.2 kB / 0.8124 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01346/0.8991, allocations: 3.925 MB / 0.8163 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02825/0.9274, allocations: 6.303 MB / 0.8224 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02072/0.9481, allocations: 5.924 MB / 0.8282 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03556/0.9837, allocations: 17.41 MB / 0.8452 GB, free: 14.7 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.995, allocations: 4.786 MB / 0.8499 GB, free: 9.824 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01795/1.013, allocations: 6.93 MB / 0.8567 GB, free: 2.871 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.016/1.029, allocations: 7.133 MB / 0.8636 GB, free: 11.71 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005805/1.035, allocations: 1.145 MB / 0.8647 GB, free: 10.57 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/1.048, allocations: 3.752 MB / 0.8684 GB, free: 6.828 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007368/1.056, allocations: 3.472 MB / 0.8718 GB, free: 3.348 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01474/1.07, allocations: 5.819 MB / 0.8775 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03613/1.107, allocations: 17.98 MB / 0.895 GB, free: 11.46 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.107, allocations: 0 / 0.895 GB, free: 11.46 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/1.107, allocations: 2.656 kB / 0.895 GB, free: 11.46 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006749/1.107, allocations: 0 / 0.895 GB, free: 11.46 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.03481/1.142, allocations: 11.26 MB / 0.906 GB, free: 144 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.142, allocations: 8.031 kB / 0.906 GB, free: 136 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006466/1.149, allocations: 1.4 MB / 0.9074 GB, free: 14.73 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/1.168, allocations: 7.909 MB / 0.9151 GB, free: 6.75 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005577/1.169, allocations: 451.7 kB / 0.9156 GB, free: 6.309 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/1.171, allocations: 0.5663 MB / 0.9161 GB, free: 5.742 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03885/1.21, allocations: 14.74 MB / 0.9305 GB, free: 5.48 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001975/1.21, allocations: 67.38 kB / 0.9306 GB, free: 5.414 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/1.211, allocations: 298.6 kB / 0.9309 GB, free: 5.125 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005724/1.212, allocations: 484.6 kB / 0.9313 GB, free: 4.648 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/1.246, allocations: 11.75 MB / 0.9428 GB, free: 8.902 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.09346/1.339, allocations: 63.45 MB / 1.005 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02942/1.368, allocations: 9.393 MB / 1.014 GB, free: 13.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01122/1.38, allocations: 3.518 MB / 1.017 GB, free: 10.38 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002377/1.382, allocations: 445.3 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/1.382, allocations: 120.3 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1085): time 1.335e-05/1.382, allocations: 0 / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=1086): time 0.5934/1.976, allocations: 64.56 MB / 1.081 GB, free: 331.3 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003652/1.976, allocations: 1.461 MB / 1.082 GB, free: 329.6 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.988, allocations: 7.264 MB / 1.089 GB, free: 327 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002095/1.99, allocations: 117.4 kB / 1.09 GB, free: 326.9 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002446/1.992, allocations: 3.854 MB / 1.093 GB, free: 324.2 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004402/1.997, allocations: 3.716 MB / 1.097 GB, free: 321.8 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00403/2.001, allocations: 2.365 MB / 1.099 GB, free: 320.9 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.419e-05/2.001, allocations: 301.1 kB / 1.1 GB, free: 320.6 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008099/2.009, allocations: 4.842 MB / 1.104 GB, free: 318.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/2.02, allocations: 8.168 MB / 1.112 GB, free: 312.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02138/2.041, allocations: 13.98 MB / 1.126 GB, free: 302.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/2.041, allocations: 28 kB / 1.126 GB, free: 302.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03828/2.08, allocations: 15.68 MB / 1.141 GB, free: 287.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/2.08, allocations: 44 kB / 1.141 GB, free: 287.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03379/2.113, allocations: 12.68 MB / 1.154 GB, free: 274.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08648/2.2, allocations: 7.995 MB / 1.162 GB, free: 266.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/2.211, allocations: 2.921 MB / 1.164 GB, free: 263.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/2.222, allocations: 9.964 MB / 1.174 GB, free: 253.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/2.233, allocations: 0.5424 MB / 1.175 GB, free: 253 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003121/2.236, allocations: 0.7337 MB / 1.175 GB, free: 252.3 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01657/2.253, allocations: 6.715 MB / 1.182 GB, free: 245.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01166/2.264, allocations: 8.085 MB / 1.19 GB, free: 236 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02122/2.286, allocations: 13.82 MB / 1.203 GB, free: 220.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001284/2.286, allocations: 32 kB / 1.203 GB, free: 220.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03483/2.321, allocations: 14.75 MB / 1.218 GB, free: 206 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/2.321, allocations: 48 kB / 1.218 GB, free: 205.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0247/2.345, allocations: 11.06 MB / 1.229 GB, free: 194.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/2.348, allocations: 0.8508 MB / 1.229 GB, free: 194 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/2.359, allocations: 3.013 MB / 1.232 GB, free: 191 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008381/2.368, allocations: 8.174 MB / 1.24 GB, free: 182.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/2.378, allocations: 0.5343 MB / 1.241 GB, free: 182 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002994/2.381, allocations: 0.7222 MB / 1.242 GB, free: 181.2 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.005425/2.387, allocations: 0.8493 MB / 1.242 GB, free: 180.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00522/2.392, allocations: 0.9426 MB / 1.243 GB, free: 179.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 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.02811/2.42, allocations: 13.77 MB / 1.257 GB, free: 166.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.704721579000761] Failed to read output from testmodel.py, exit status != 0: 2.6061849459983932 2.6173927470000002 1.508061355 Calling exit ...