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.01768/0.01768, allocations: 1.454 MB / 20.8 MB, free: 3.617 MB / 18.57 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.00814/0.00814, allocations: 80.88 kB / 24.44 MB, free: 7.531 MB / 18.57 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.002011/0.002011, allocations: 157.4 kB / 28.2 MB, free: 4.668 MB / 18.57 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.538/1.538, allocations: 177.2 MB / 209 MB, free: 2.805 MB / 186.7 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.098/1.098, allocations: 102.5 MB / 368.3 MB, free: 1.297 MB / 330.8 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.5.2 (/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_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_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.735e-05, allocations: 2.312 kB / 468.3 MB, free: 13.5 MB / 442.8 MB 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.4263/0.4263, allocations: 78.28 MB / 0.5338 GB, free: 66.8 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04081/0.4671, allocations: 27.54 MB / 0.5607 GB, free: 48 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01106/0.4782, allocations: 211.9 kB / 0.5609 GB, free: 47.89 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01517/0.4933, allocations: 3.794 MB / 0.5646 GB, free: 46.07 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02987/0.5232, allocations: 6.482 MB / 0.5709 GB, free: 42.08 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01631/0.5395, allocations: 5.991 MB / 0.5768 GB, free: 37.78 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.03078/0.5703, allocations: 17.83 MB / 0.5942 GB, free: 25.39 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.5812, allocations: 5.357 MB / 0.5994 GB, free: 19.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02869/0.6099, allocations: 9.538 MB / 0.6087 GB, free: 10.39 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/0.6232, allocations: 6.103 MB / 0.6147 GB, free: 4.281 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004896/0.6281, allocations: 1.168 MB / 0.6158 GB, free: 3.113 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1038/0.7319, allocations: 18.41 MB / 0.6338 GB, free: 2.711 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.007886/0.7398, allocations: 3.602 MB / 0.6373 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01431/0.7541, allocations: 3.737 MB / 0.641 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.04122/0.7953, allocations: 17.99 MB / 0.6585 GB, free: 9.309 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.7954, allocations: 0 / 0.6585 GB, free: 9.309 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.569e-06/0.7954, allocations: 4 kB / 0.6585 GB, free: 9.305 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0007188/0.7961, allocations: 0 / 0.6585 GB, free: 9.305 MB / 0.5262 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.04134/0.8374, allocations: 11.14 MB / 0.6694 GB, free: 14.11 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.8375, allocations: 8.031 kB / 0.6694 GB, free: 14.1 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.848, allocations: 1.866 MB / 0.6713 GB, free: 12.23 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0232/0.8712, allocations: 8.319 MB / 0.6794 GB, free: 3.836 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008372/0.872, allocations: 452 kB / 0.6798 GB, free: 3.395 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/0.8752, allocations: 0.6096 MB / 0.6804 GB, free: 2.785 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04693/0.9222, allocations: 16.78 MB / 0.6968 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003968/0.9226, allocations: 74.03 kB / 0.6969 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002645/0.9252, allocations: 292 kB / 0.6971 GB, free: 15.51 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008782/0.9261, allocations: 480.6 kB / 0.6976 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04011/0.9662, allocations: 11.84 MB / 0.7092 GB, free: 3.195 MB / 0.573 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.3874/1.354, allocations: 59.33 MB / 0.7671 GB, free: 145.3 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02748/1.381, allocations: 9.505 MB / 0.7764 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009673/1.391, allocations: 3.587 MB / 0.7799 GB, free: 141.1 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/1.393, allocations: 418.7 kB / 0.7803 GB, free: 141.1 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/1.393, allocations: 123.8 kB / 0.7804 GB, free: 141 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1085): time 1.234e-05/1.393, allocations: 1.203 kB / 0.7804 GB, free: 141 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1086): time 0.1534/1.546, allocations: 65.81 MB / 0.8447 GB, free: 98.06 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003358/1.547, allocations: 1.461 MB / 0.8461 GB, free: 96.27 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/1.557, allocations: 7.162 MB / 0.8531 GB, free: 89.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002381/1.56, allocations: 110.7 kB / 0.8532 GB, free: 89.68 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002143/1.562, allocations: 3.851 MB / 0.857 GB, free: 86.21 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004626/1.566, allocations: 3.669 MB / 0.8605 GB, free: 82.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003902/1.57, allocations: 2.342 MB / 0.8628 GB, free: 80.45 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/1.57, allocations: 310.6 kB / 0.8631 GB, free: 80.14 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007352/1.578, allocations: 4.907 MB / 0.8679 GB, free: 75.22 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009496/1.587, allocations: 8.897 MB / 0.8766 GB, free: 64.75 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01965/1.607, allocations: 14.09 MB / 0.8904 GB, free: 49.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.361e-05/1.607, allocations: 28 kB / 0.8904 GB, free: 49.51 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03962/1.646, allocations: 16.19 MB / 0.9062 GB, free: 33.39 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/1.647, allocations: 48.66 kB / 0.9063 GB, free: 33.35 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03276/1.679, allocations: 12.94 MB / 0.9189 GB, free: 20.54 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08481/1.764, allocations: 8.448 MB / 0.9271 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/1.777, allocations: 2.925 MB / 0.93 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.789, allocations: 10.12 MB / 0.9399 GB, free: 15.11 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/1.799, allocations: 0.542 MB / 0.9404 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003401/1.803, allocations: 0.7377 MB / 0.9411 GB, free: 13.82 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02009/1.823, allocations: 6.794 MB / 0.9478 GB, free: 7.02 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01813/1.841, allocations: 8.814 MB / 0.9564 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03166/1.872, allocations: 13.96 MB / 0.97 GB, free: 13.23 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001679/1.873, allocations: 28 kB / 0.97 GB, free: 13.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.2942/2.167, allocations: 15.92 MB / 0.9856 GB, free: 214 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/2.167, allocations: 53.53 kB / 0.9856 GB, free: 214 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02992/2.197, allocations: 12.62 MB / 0.998 GB, free: 212.1 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08739/2.284, allocations: 8.023 MB / 1.006 GB, free: 211.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/2.298, allocations: 2.893 MB / 1.009 GB, free: 211.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/2.312, allocations: 10.44 MB / 1.019 GB, free: 203.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.323, allocations: 0.5323 MB / 1.019 GB, free: 203.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003009/2.326, allocations: 0.7319 MB / 1.02 GB, free: 203 MB / 0.6512 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.00514/2.331, allocations: 0.8422 MB / 1.021 GB, free: 202.3 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00697/2.338, allocations: 1.08 MB / 1.022 GB, free: 202.3 MB / 0.6512 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 1622 equation(s) and 1552 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.03035/2.368, allocations: 13.86 MB / 1.035 GB, free: 198.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.059541800990701]