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.01461/0.01461, allocations: 1.757 MB / 20.6 MB, free: 1.172 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.001611/0.001611, allocations: 105.2 kB / 24.18 MB, free: 2.586 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.002198/0.002198, allocations: 209.2 kB / 27.89 MB, free: 3.93 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.428/1.428, allocations: 230.6 MB / 262.1 MB, free: 5.836 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.074/1.074, allocations: 130.7 MB / 449.6 MB, free: 6.41 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.06316/0.06316, allocations: 20.97 MB / 0.6363 GB, free: 4.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.2202, allocations: 81.91 MB / 0.7163 GB, free: 2.223 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.5275/0.7477, allocations: 64.44 MB / 0.7792 GB, free: 8.418 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05734/0.805, allocations: 27.78 MB / 0.8064 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01212/0.8171, allocations: 215.4 kB / 0.8066 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.8292, allocations: 3.771 MB / 0.8102 GB, free: 0.957 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02159/0.8508, allocations: 6.313 MB / 0.8164 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0155/0.8663, allocations: 5.928 MB / 0.8222 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0285/0.8948, allocations: 17.38 MB / 0.8392 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.9049, allocations: 5.081 MB / 0.8441 GB, free: 15.41 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01643/0.9213, allocations: 6.942 MB / 0.8509 GB, free: 8.449 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0149/0.9362, allocations: 6.787 MB / 0.8575 GB, free: 1.637 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004984/0.9412, allocations: 1.141 MB / 0.8587 GB, free: 0.4961 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.9528, allocations: 2.917 MB / 0.8615 GB, free: 13.58 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006811/0.9596, allocations: 3.469 MB / 0.8649 GB, free: 10.1 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.9716, allocations: 4.494 MB / 0.8693 GB, free: 5.586 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03182/1.003, allocations: 17.88 MB / 0.8867 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.003, allocations: 2.656 kB / 0.8867 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.475e-06/1.003, allocations: 0 / 0.8867 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005996/1.004, allocations: 0.75 kB / 0.8867 GB, free: 3.641 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.03645/1.04, allocations: 11.25 MB / 0.8977 GB, free: 8.324 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.041, allocations: 10.72 kB / 0.8977 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/1.048, allocations: 1.402 MB / 0.8991 GB, free: 6.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02154/1.069, allocations: 7.909 MB / 0.9068 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007039/1.07, allocations: 447.7 kB / 0.9073 GB, free: 14.49 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002933/1.073, allocations: 0.578 MB / 0.9078 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0438/1.117, allocations: 16.68 MB / 0.9241 GB, free: 11.1 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004234/1.117, allocations: 74.31 kB / 0.9242 GB, free: 11.03 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002767/1.12, allocations: 296 kB / 0.9245 GB, free: 10.74 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008569/1.121, allocations: 484.6 kB / 0.9249 GB, free: 10.26 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03581/1.156, allocations: 11.7 MB / 0.9364 GB, free: 14.55 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.09193/1.248, allocations: 58.92 MB / 0.9939 GB, free: 1.875 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.028/1.276, allocations: 9.371 MB / 1.003 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009/1.285, allocations: 3.528 MB / 1.006 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/1.287, allocations: 398.8 kB / 1.007 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/1.288, allocations: 126.8 kB / 1.007 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1085): time 1.397e-05/1.288, allocations: 0 / 1.007 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1086): time 0.5089/1.797, allocations: 64.54 MB / 1.07 GB, free: 342.8 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005774/1.797, allocations: 1.461 MB / 1.071 GB, free: 341.1 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/1.81, allocations: 7.164 MB / 1.078 GB, free: 338.5 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001914/1.812, allocations: 109.4 kB / 1.079 GB, free: 338.4 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/1.814, allocations: 3.873 MB / 1.082 GB, free: 335.7 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.003954/1.818, allocations: 3.721 MB / 1.086 GB, free: 333.3 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003741/1.822, allocations: 2.362 MB / 1.088 GB, free: 332.4 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/1.822, allocations: 305.7 kB / 1.089 GB, free: 332.1 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007697/1.83, allocations: 4.84 MB / 1.093 GB, free: 330 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.84, allocations: 8.827 MB / 1.102 GB, free: 323 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01965/1.86, allocations: 13.98 MB / 1.116 GB, free: 312.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001566/1.86, allocations: 34.62 kB / 1.116 GB, free: 312.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03359/1.893, allocations: 15.65 MB / 1.131 GB, free: 296.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/1.894, allocations: 49.41 kB / 1.131 GB, free: 296.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03025/1.924, allocations: 12.69 MB / 1.143 GB, free: 283.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07931/2.003, allocations: 7.986 MB / 1.151 GB, free: 276.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/2.013, allocations: 2.921 MB / 1.154 GB, free: 273.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/2.024, allocations: 9.88 MB / 1.164 GB, free: 263.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008778/2.032, allocations: 0.5423 MB / 1.164 GB, free: 262.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002465/2.035, allocations: 0.7299 MB / 1.165 GB, free: 261.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01436/2.049, allocations: 6.712 MB / 1.171 GB, free: 255.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01092/2.06, allocations: 8.74 MB / 1.18 GB, free: 244.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0196/2.08, allocations: 13.83 MB / 1.193 GB, free: 229.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001263/2.08, allocations: 30.89 kB / 1.193 GB, free: 229.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03274/2.113, allocations: 14.74 MB / 1.208 GB, free: 214.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/2.113, allocations: 51.98 kB / 1.208 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02267/2.135, allocations: 11.06 MB / 1.219 GB, free: 203.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002157/2.137, allocations: 0.8578 MB / 1.22 GB, free: 202.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/2.148, allocations: 3.003 MB / 1.222 GB, free: 199.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/2.155, allocations: 8.078 MB / 1.23 GB, free: 191.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008846/2.164, allocations: 0.5266 MB / 1.231 GB, free: 191 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002514/2.167, allocations: 0.7261 MB / 1.232 GB, free: 190.3 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.004519/2.171, allocations: 0.8455 MB / 1.232 GB, free: 189.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004431/2.175, allocations: 0.9271 MB / 1.233 GB, free: 188.6 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.02608/2.202, allocations: 13.79 MB / 1.247 GB, free: 175.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.015158960130066] Failed to read output from testmodel.py, exit status != 0: 2.3516532629728317 2.362205881 1.356074875 Calling exit ...