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.01214/0.01214, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001212/0.001212, allocations: 107.3 kB / 24.98 MB, free: 2.184 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.001403/0.001403, allocations: 206 kB / 28.71 MB, free: 3.461 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.369/1.369, allocations: 230.6 MB / 262.9 MB, free: 6.219 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.026/1.026, allocations: 130.7 MB / 450.4 MB, free: 6.598 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.03026/0.03026, allocations: 20.6 MB / 0.6368 GB, free: 4.84 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1911, allocations: 81.91 MB / 0.7168 GB, free: 2.84 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.499/0.6901, allocations: 69.52 MB / 0.7847 GB, free: 3.289 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05515/0.7452, allocations: 28.82 MB / 0.8128 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01257/0.7578, allocations: 211.9 kB / 0.813 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.7702, allocations: 3.926 MB / 0.8169 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02196/0.7922, allocations: 6.304 MB / 0.823 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0156/0.8078, allocations: 5.913 MB / 0.8288 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02901/0.8368, allocations: 17.42 MB / 0.8458 GB, free: 14.89 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009586/0.8464, allocations: 4.782 MB / 0.8505 GB, free: 10.02 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01601/0.8624, allocations: 6.922 MB / 0.8572 GB, free: 3.07 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01579/0.8782, allocations: 7.146 MB / 0.8642 GB, free: 11.9 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005137/0.8833, allocations: 1.141 MB / 0.8653 GB, free: 10.76 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/0.8954, allocations: 3.744 MB / 0.869 GB, free: 7.027 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006832/0.9022, allocations: 3.477 MB / 0.8724 GB, free: 3.539 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0129/0.9151, allocations: 5.826 MB / 0.8781 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03314/0.9482, allocations: 17.97 MB / 0.8956 GB, free: 11.65 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.9482, allocations: 0 / 0.8956 GB, free: 11.65 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.979e-06/0.9482, allocations: 3.984 kB / 0.8956 GB, free: 11.64 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006157/0.9489, allocations: 2.656 kB / 0.8956 GB, free: 11.64 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.03219/0.981, allocations: 11.25 MB / 0.9066 GB, free: 344 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.9811, allocations: 10.69 kB / 0.9066 GB, free: 336 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/0.9865, allocations: 1.408 MB / 0.908 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01853/1.005, allocations: 7.913 MB / 0.9157 GB, free: 6.93 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/1.006, allocations: 443.7 kB / 0.9161 GB, free: 6.496 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/1.008, allocations: 0.5702 MB / 0.9167 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03857/1.047, allocations: 14.74 MB / 0.9311 GB, free: 5.668 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002136/1.047, allocations: 71.31 kB / 0.9312 GB, free: 5.598 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/1.048, allocations: 302.6 kB / 0.9315 GB, free: 5.305 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005682/1.048, allocations: 483.3 kB / 0.9319 GB, free: 4.832 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03482/1.083, allocations: 11.74 MB / 0.9434 GB, free: 9.086 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.09421/1.178, allocations: 63.44 MB / 1.005 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03037/1.208, allocations: 9.405 MB / 1.015 GB, free: 14.17 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008752/1.217, allocations: 3.518 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/1.218, allocations: 434.7 kB / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/1.219, allocations: 134.7 kB / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1085): time 8.396e-06/1.219, allocations: 0 / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=1086): time 0.4751/1.694, allocations: 64.57 MB / 1.082 GB, free: 331.5 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003107/1.694, allocations: 1.462 MB / 1.083 GB, free: 329.8 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.705, allocations: 7.266 MB / 1.09 GB, free: 327.2 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/1.707, allocations: 109.4 kB / 1.09 GB, free: 327.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002295/1.709, allocations: 3.855 MB / 1.094 GB, free: 324.4 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004143/1.713, allocations: 3.719 MB / 1.098 GB, free: 322 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0038/1.717, allocations: 2.362 MB / 1.1 GB, free: 321.1 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.773e-05/1.717, allocations: 301.1 kB / 1.1 GB, free: 320.8 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007852/1.725, allocations: 4.841 MB / 1.105 GB, free: 318.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009415/1.734, allocations: 8.173 MB / 1.113 GB, free: 312.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/1.752, allocations: 13.98 MB / 1.127 GB, free: 303 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.763e-05/1.753, allocations: 28 kB / 1.127 GB, free: 302.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03295/1.786, allocations: 15.67 MB / 1.142 GB, free: 287.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.786, allocations: 48 kB / 1.142 GB, free: 287.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03022/1.816, allocations: 12.69 MB / 1.154 GB, free: 274.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08131/1.897, allocations: 7.989 MB / 1.162 GB, free: 266.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/1.908, allocations: 2.915 MB / 1.165 GB, free: 264 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009866/1.918, allocations: 9.968 MB / 1.175 GB, free: 253.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008838/1.926, allocations: 0.5388 MB / 1.175 GB, free: 253.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/1.928, allocations: 0.7378 MB / 1.176 GB, free: 252.4 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01146/1.94, allocations: 6.714 MB / 1.182 GB, free: 245.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008523/1.948, allocations: 8.083 MB / 1.19 GB, free: 236.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.017/1.965, allocations: 13.82 MB / 1.204 GB, free: 221 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.481e-05/1.965, allocations: 28 kB / 1.204 GB, free: 220.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.02571/1.991, allocations: 14.76 MB / 1.218 GB, free: 206.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/1.991, allocations: 48 kB / 1.218 GB, free: 206.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01768/2.009, allocations: 11.06 MB / 1.229 GB, free: 195.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/2.011, allocations: 0.8539 MB / 1.23 GB, free: 194.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009667/2.02, allocations: 2.999 MB / 1.233 GB, free: 191.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007033/2.028, allocations: 8.196 MB / 1.241 GB, free: 182.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008531/2.036, allocations: 0.5255 MB / 1.241 GB, free: 182.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/2.038, allocations: 0.7183 MB / 1.242 GB, free: 181.4 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.0034/2.041, allocations: 0.8508 MB / 1.243 GB, free: 180.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003248/2.044, allocations: 0.9426 MB / 1.244 GB, free: 179.7 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.01995/2.064, allocations: 13.76 MB / 1.257 GB, free: 166.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.704151830985211] Failed to read output from testmodel.py, exit status != 0: 2.2095150160603225 2.220475093 1.268055401 Calling exit ...