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.01544/0.01544, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.001839/0.001839, allocations: 100.5 kB / 24.97 MB, free: 2.035 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.002119/0.002119, allocations: 210.6 kB / 28.68 MB, free: 3.324 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.455/1.455, allocations: 230.6 MB / 262.9 MB, free: 5.824 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.085/1.085, allocations: 130.7 MB / 450.4 MB, free: 6.375 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.06217/0.06217, allocations: 20.61 MB / 0.6367 GB, free: 4.559 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.2485, allocations: 81.9 MB / 0.7167 GB, free: 2.578 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.6068/0.8553, allocations: 64.39 MB / 0.7796 GB, free: 8.289 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05483/0.9101, allocations: 27.76 MB / 0.8067 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01339/0.9235, allocations: 212.9 kB / 0.8069 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0129/0.9364, allocations: 3.796 MB / 0.8106 GB, free: 0.8867 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02816/0.9646, allocations: 6.326 MB / 0.8168 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01999/0.9846, allocations: 5.929 MB / 0.8226 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03672/1.021, allocations: 17.4 MB / 0.8396 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/1.032, allocations: 4.778 MB / 0.8442 GB, free: 15.87 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0156/1.048, allocations: 6.949 MB / 0.851 GB, free: 8.898 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01446/1.063, allocations: 7.134 MB / 0.858 GB, free: 1.742 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.00527/1.068, allocations: 1.145 MB / 0.8591 GB, free: 0.5977 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/1.079, allocations: 2.964 MB / 0.862 GB, free: 13.63 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007074/1.086, allocations: 3.477 MB / 0.8654 GB, free: 10.14 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01212/1.098, allocations: 4.5 MB / 0.8698 GB, free: 5.625 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03397/1.132, allocations: 17.89 MB / 0.8872 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.132, allocations: 0 / 0.8872 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/1.132, allocations: 1.594 kB / 0.8872 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0006763/1.133, allocations: 0 / 0.8872 GB, free: 3.676 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.03396/1.167, allocations: 11.25 MB / 0.8982 GB, free: 8.363 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.167, allocations: 8.031 kB / 0.8982 GB, free: 8.355 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006918/1.174, allocations: 1.412 MB / 0.8996 GB, free: 6.941 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/1.194, allocations: 7.917 MB / 0.9073 GB, free: 14.96 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006849/1.195, allocations: 450.3 kB / 0.9078 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002714/1.198, allocations: 0.5741 MB / 0.9083 GB, free: 13.95 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03996/1.238, allocations: 16.68 MB / 0.9246 GB, free: 11.12 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000189/1.238, allocations: 75.47 kB / 0.9247 GB, free: 11.05 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/1.239, allocations: 292 kB / 0.925 GB, free: 10.77 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005671/1.24, allocations: 480.6 kB / 0.9254 GB, free: 10.29 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03619/1.276, allocations: 11.75 MB / 0.9369 GB, free: 14.54 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.09336/1.369, allocations: 58.91 MB / 0.9944 GB, free: 1.871 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02835/1.397, allocations: 9.386 MB / 1.004 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008229/1.406, allocations: 3.509 MB / 1.007 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/1.407, allocations: 396.2 kB / 1.007 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/1.408, allocations: 133.5 kB / 1.008 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1085): time 1.084e-05/1.408, allocations: 0 / 1.008 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1086): time 0.4836/1.891, allocations: 64.55 MB / 1.071 GB, free: 342.8 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003918/1.892, allocations: 1.457 MB / 1.072 GB, free: 341 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/1.903, allocations: 6.999 MB / 1.079 GB, free: 338.5 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002064/1.905, allocations: 109.3 kB / 1.079 GB, free: 338.4 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002439/1.908, allocations: 3.872 MB / 1.083 GB, free: 335.7 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004166/1.912, allocations: 3.718 MB / 1.086 GB, free: 333.3 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004827/1.917, allocations: 2.365 MB / 1.089 GB, free: 332.4 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.563e-05/1.917, allocations: 302.2 kB / 1.089 GB, free: 332.1 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008157/1.925, allocations: 4.839 MB / 1.094 GB, free: 330 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/1.936, allocations: 8.833 MB / 1.102 GB, free: 323 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01998/1.956, allocations: 13.97 MB / 1.116 GB, free: 312.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.376e-05/1.956, allocations: 28 kB / 1.116 GB, free: 312.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03504/1.991, allocations: 15.65 MB / 1.131 GB, free: 296.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.511e-05/1.991, allocations: 44.77 kB / 1.131 GB, free: 296.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03286/2.024, allocations: 12.69 MB / 1.144 GB, free: 283.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08199/2.106, allocations: 7.99 MB / 1.151 GB, free: 276.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/2.116, allocations: 2.923 MB / 1.154 GB, free: 273.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/2.127, allocations: 9.89 MB / 1.164 GB, free: 263.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009698/2.137, allocations: 0.5381 MB / 1.165 GB, free: 262.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002867/2.139, allocations: 0.7299 MB / 1.165 GB, free: 261.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01574/2.155, allocations: 6.712 MB / 1.172 GB, free: 255.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01217/2.167, allocations: 8.74 MB / 1.18 GB, free: 244.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02139/2.189, allocations: 13.82 MB / 1.194 GB, free: 229.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001554/2.189, allocations: 28 kB / 1.194 GB, free: 229.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03737/2.226, allocations: 14.74 MB / 1.208 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/2.226, allocations: 50.91 kB / 1.208 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02334/2.25, allocations: 11.06 MB / 1.219 GB, free: 203.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/2.252, allocations: 0.8614 MB / 1.22 GB, free: 202.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01075/2.263, allocations: 3.003 MB / 1.223 GB, free: 199.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007748/2.27, allocations: 8.074 MB / 1.231 GB, free: 191.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009585/2.28, allocations: 0.5296 MB / 1.231 GB, free: 191 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002819/2.283, allocations: 0.7261 MB / 1.232 GB, free: 190.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.00491/2.288, allocations: 0.8364 MB / 1.233 GB, free: 189.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004511/2.292, allocations: 0.9232 MB / 1.234 GB, free: 188.5 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.02881/2.321, allocations: 13.74 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.245134341996163] Failed to read output from testmodel.py, exit status != 0: 2.497280418057926 2.511439302 1.373127094 Calling exit ...