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.01244/0.01244, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001593/0.001593, allocations: 109.5 kB / 24.19 MB, free: 2.438 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.001946/0.001946, allocations: 208 kB / 27.9 MB, free: 3.742 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.409/1.409, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.031/1.031, allocations: 130.8 MB / 449.7 MB, free: 6.371 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: 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: 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.06303/0.06303, allocations: 20.97 MB / 0.6363 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.2299, allocations: 81.91 MB / 0.7163 GB, free: 2.191 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.4786/0.7086, allocations: 64.42 MB / 0.7792 GB, free: 8.223 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05108/0.7597, allocations: 27.77 MB / 0.8064 GB, free: 3.574 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01119/0.7708, allocations: 212.9 kB / 0.8066 GB, free: 3.473 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.7831, allocations: 3.797 MB / 0.8103 GB, free: 0.7773 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02727/0.8104, allocations: 6.3 MB / 0.8164 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01733/0.8277, allocations: 5.914 MB / 0.8222 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02877/0.8565, allocations: 17.39 MB / 0.8392 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.8678, allocations: 5.084 MB / 0.8442 GB, free: 15.3 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01605/0.8838, allocations: 6.947 MB / 0.8509 GB, free: 8.328 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01391/0.8977, allocations: 6.778 MB / 0.8576 GB, free: 1.523 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004944/0.9027, allocations: 1.141 MB / 0.8587 GB, free: 392 kB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.914, allocations: 2.92 MB / 0.8615 GB, free: 13.47 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007396/0.9214, allocations: 3.477 MB / 0.8649 GB, free: 9.98 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01239/0.9338, allocations: 4.49 MB / 0.8693 GB, free: 5.469 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03369/0.9675, allocations: 17.88 MB / 0.8868 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.9675, allocations: 0 / 0.8868 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9675, allocations: 0 / 0.8868 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0006507/0.9681, allocations: 0 / 0.8868 GB, free: 3.527 MB / 0.6544 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.03555/1.004, allocations: 11.26 MB / 0.8978 GB, free: 8.207 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.004, allocations: 8.031 kB / 0.8978 GB, free: 8.199 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/1.011, allocations: 1.406 MB / 0.8991 GB, free: 6.785 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/1.031, allocations: 7.914 MB / 0.9069 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006642/1.032, allocations: 447.7 kB / 0.9073 GB, free: 14.37 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002629/1.035, allocations: 0.5663 MB / 0.9079 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0457/1.08, allocations: 16.69 MB / 0.9241 GB, free: 10.98 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003054/1.081, allocations: 67.38 kB / 0.9242 GB, free: 10.91 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002494/1.083, allocations: 296 kB / 0.9245 GB, free: 10.62 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006958/1.084, allocations: 488.5 kB / 0.925 GB, free: 10.14 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/1.117, allocations: 11.7 MB / 0.9364 GB, free: 14.44 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.08392/1.201, allocations: 58.94 MB / 0.9939 GB, free: 1.75 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0264/1.228, allocations: 9.367 MB / 1.003 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007742/1.235, allocations: 3.521 MB / 1.007 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/1.237, allocations: 394.9 kB / 1.007 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/1.237, allocations: 129.2 kB / 1.007 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1085): time 9.368e-06/1.237, allocations: 0 / 1.007 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1086): time 0.4471/1.684, allocations: 64.55 MB / 1.07 GB, free: 342.5 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004036/1.685, allocations: 1.466 MB / 1.071 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/1.695, allocations: 7.155 MB / 1.078 GB, free: 338.2 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002075/1.698, allocations: 113.5 kB / 1.079 GB, free: 338.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0022/1.7, allocations: 3.866 MB / 1.082 GB, free: 335.4 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004249/1.704, allocations: 3.726 MB / 1.086 GB, free: 332.9 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003801/1.708, allocations: 2.362 MB / 1.088 GB, free: 332.1 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.095e-05/1.708, allocations: 308.4 kB / 1.089 GB, free: 331.8 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007709/1.716, allocations: 4.84 MB / 1.093 GB, free: 329.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009882/1.725, allocations: 8.826 MB / 1.102 GB, free: 322.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/1.745, allocations: 13.98 MB / 1.116 GB, free: 311.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-05/1.745, allocations: 30.69 kB / 1.116 GB, free: 311.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03023/1.775, allocations: 15.64 MB / 1.131 GB, free: 296.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/1.775, allocations: 48 kB / 1.131 GB, free: 296.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02566/1.801, allocations: 12.69 MB / 1.143 GB, free: 283.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08109/1.882, allocations: 7.991 MB / 1.151 GB, free: 276.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/1.892, allocations: 2.921 MB / 1.154 GB, free: 273.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/1.903, allocations: 9.884 MB / 1.164 GB, free: 262.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009347/1.912, allocations: 0.5393 MB / 1.164 GB, free: 262.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/1.914, allocations: 0.7299 MB / 1.165 GB, free: 261.7 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01667/1.931, allocations: 6.723 MB / 1.171 GB, free: 254.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01218/1.943, allocations: 8.736 MB / 1.18 GB, free: 244.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0198/1.963, allocations: 13.82 MB / 1.193 GB, free: 229.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000112/1.963, allocations: 28 kB / 1.193 GB, free: 229.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03253/1.996, allocations: 14.74 MB / 1.208 GB, free: 214.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.996, allocations: 49.88 kB / 1.208 GB, free: 214.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02367/2.02, allocations: 11.06 MB / 1.219 GB, free: 203.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/2.022, allocations: 0.8543 MB / 1.22 GB, free: 202.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/2.032, allocations: 3.003 MB / 1.223 GB, free: 199.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/2.04, allocations: 8.071 MB / 1.23 GB, free: 191.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009374/2.049, allocations: 0.5329 MB / 1.231 GB, free: 190.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002683/2.052, allocations: 0.7222 MB / 1.232 GB, free: 190 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.004692/2.057, allocations: 0.8419 MB / 1.232 GB, free: 189.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004723/2.061, allocations: 0.9193 MB / 1.233 GB, free: 188.3 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.02592/2.087, allocations: 13.82 MB / 1.247 GB, free: 174.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.752484820783138] Failed to read output from testmodel.py, exit status != 0: 2.242643440142274 2.2533180809999998 1.28317049 Calling exit ...