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.01175/0.01175, allocations: 1.757 MB / 21.34 MB, free: 0.5898 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.001448/0.001448, allocations: 105.7 kB / 24.94 MB, free: 2.16 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.001901/0.001901, allocations: 207.8 kB / 28.67 MB, free: 3.438 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.623/1.623, allocations: 230.6 MB / 262.8 MB, free: 6.027 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.213/1.213, allocations: 130.7 MB / 450.4 MB, free: 6.539 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.03515/0.03515, allocations: 20.78 MB / 0.637 GB, free: 4.621 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2473, allocations: 81.9 MB / 0.7169 GB, free: 2.633 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.7092/0.9565, allocations: 69.52 MB / 0.7848 GB, free: 3.188 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06091/1.017, allocations: 28.81 MB / 0.813 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01505/1.032, allocations: 212.2 kB / 0.8132 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.014/1.046, allocations: 3.927 MB / 0.817 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.03022/1.077, allocations: 6.303 MB / 0.8232 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01805/1.095, allocations: 5.923 MB / 0.8289 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0357/1.13, allocations: 17.42 MB / 0.846 GB, free: 14.69 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01295/1.143, allocations: 4.782 MB / 0.8506 GB, free: 9.816 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01819/1.162, allocations: 6.926 MB / 0.8574 GB, free: 2.867 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01615/1.178, allocations: 7.141 MB / 0.8644 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0058/1.183, allocations: 1.144 MB / 0.8655 GB, free: 10.56 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01388/1.197, allocations: 3.739 MB / 0.8691 GB, free: 6.824 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.009376/1.207, allocations: 3.475 MB / 0.8725 GB, free: 3.34 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.02302/1.23, allocations: 5.819 MB / 0.8782 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03725/1.267, allocations: 17.97 MB / 0.8958 GB, free: 11.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.267, allocations: 3.469 kB / 0.8958 GB, free: 11.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.655e-06/1.267, allocations: 6.625 kB / 0.8958 GB, free: 11.45 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006744/1.268, allocations: 0 / 0.8958 GB, free: 11.45 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.03833/1.306, allocations: 11.26 MB / 0.9068 GB, free: 132 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.306, allocations: 8.031 kB / 0.9068 GB, free: 124 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007299/1.313, allocations: 1.404 MB / 0.9081 GB, free: 14.71 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02173/1.335, allocations: 7.904 MB / 0.9159 GB, free: 6.738 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007041/1.336, allocations: 451.7 kB / 0.9163 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003043/1.339, allocations: 0.5663 MB / 0.9168 GB, free: 5.73 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04253/1.381, allocations: 14.74 MB / 0.9312 GB, free: 5.469 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003966/1.382, allocations: 67.38 kB / 0.9313 GB, free: 5.402 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002711/1.384, allocations: 298.6 kB / 0.9316 GB, free: 5.113 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008485/1.385, allocations: 484.6 kB / 0.9321 GB, free: 4.637 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03587/1.421, allocations: 11.75 MB / 0.9435 GB, free: 8.891 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.09662/1.518, allocations: 63.45 MB / 1.005 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02912/1.547, allocations: 9.394 MB / 1.015 GB, free: 13.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009256/1.556, allocations: 3.522 MB / 1.018 GB, free: 10.37 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/1.558, allocations: 446.6 kB / 1.019 GB, free: 9.941 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/1.558, allocations: 118.9 kB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1085): time 1.342e-05/1.559, allocations: 0 / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=1086): time 0.6238/2.182, allocations: 64.57 MB / 1.082 GB, free: 331.3 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003964/2.183, allocations: 1.465 MB / 1.083 GB, free: 329.5 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/2.194, allocations: 7.262 MB / 1.09 GB, free: 326.9 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.00225/2.197, allocations: 111.3 kB / 1.09 GB, free: 326.8 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.00257/2.199, allocations: 3.854 MB / 1.094 GB, free: 324.1 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004873/2.204, allocations: 3.718 MB / 1.098 GB, free: 321.7 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004667/2.209, allocations: 2.359 MB / 1.1 GB, free: 320.8 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/2.209, allocations: 307.5 kB / 1.1 GB, free: 320.5 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009035/2.218, allocations: 4.838 MB / 1.105 GB, free: 318.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/2.228, allocations: 8.177 MB / 1.113 GB, free: 312.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/2.247, allocations: 13.97 MB / 1.127 GB, free: 302.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/2.247, allocations: 28 kB / 1.127 GB, free: 302.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03764/2.285, allocations: 15.67 MB / 1.142 GB, free: 287.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/2.285, allocations: 51.94 kB / 1.142 GB, free: 287.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03312/2.318, allocations: 12.68 MB / 1.154 GB, free: 274.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08649/2.405, allocations: 7.996 MB / 1.162 GB, free: 266.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/2.416, allocations: 2.921 MB / 1.165 GB, free: 263.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/2.427, allocations: 9.967 MB / 1.175 GB, free: 253.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01111/2.439, allocations: 0.5466 MB / 1.175 GB, free: 252.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003037/2.442, allocations: 0.7339 MB / 1.176 GB, free: 252.2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01669/2.458, allocations: 6.708 MB / 1.183 GB, free: 245.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01231/2.471, allocations: 8.083 MB / 1.191 GB, free: 235.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02193/2.493, allocations: 13.82 MB / 1.204 GB, free: 220.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001328/2.493, allocations: 28 kB / 1.204 GB, free: 220.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03488/2.528, allocations: 14.76 MB / 1.218 GB, free: 205.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/2.528, allocations: 45 kB / 1.219 GB, free: 205.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02735/2.555, allocations: 11.06 MB / 1.229 GB, free: 194.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/2.557, allocations: 0.8528 MB / 1.23 GB, free: 194 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/2.569, allocations: 3.007 MB / 1.233 GB, free: 191 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008375/2.577, allocations: 8.187 MB / 1.241 GB, free: 182.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/2.588, allocations: 0.5299 MB / 1.242 GB, free: 181.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003103/2.591, 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.005334/2.597, allocations: 0.841 MB / 1.243 GB, free: 180.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005405/2.602, allocations: 0.9465 MB / 1.244 GB, free: 179.4 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.02905/2.631, allocations: 13.76 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: 7.04519603587687] Failed to read output from testmodel.py, exit status != 0: 2.8392644089180976 2.851698358 1.5815454340000001 Calling exit ...