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.01279/0.01279, allocations: 1.757 MB / 21.34 MB, free: 0.5898 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.001599/0.001599, allocations: 105.6 kB / 24.94 MB, free: 2.16 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.002043/0.002043, allocations: 207.8 kB / 28.67 MB, free: 3.438 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.456/1.456, allocations: 230.6 MB / 262.9 MB, free: 6.008 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.086/1.086, allocations: 130.7 MB / 450.4 MB, free: 6.57 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.03088/0.03088, allocations: 20.78 MB / 0.637 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1945, allocations: 81.9 MB / 0.717 GB, free: 2.668 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.5283/0.7228, allocations: 69.53 MB / 0.7848 GB, free: 3.203 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05354/0.7764, allocations: 28.81 MB / 0.813 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/0.7878, allocations: 216.3 kB / 0.8132 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01258/0.8004, allocations: 3.929 MB / 0.817 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02181/0.8222, allocations: 6.293 MB / 0.8232 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01562/0.8378, allocations: 5.929 MB / 0.829 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02989/0.8677, allocations: 17.41 MB / 0.846 GB, free: 14.78 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01058/0.8783, allocations: 4.79 MB / 0.8506 GB, free: 9.902 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01409/0.8924, allocations: 6.925 MB / 0.8574 GB, free: 2.957 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01375/0.9061, allocations: 7.139 MB / 0.8644 GB, free: 11.79 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003894/0.91, allocations: 1.141 MB / 0.8655 GB, free: 10.65 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.921, allocations: 3.744 MB / 0.8692 GB, free: 6.914 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006133/0.9271, allocations: 3.484 MB / 0.8726 GB, free: 3.418 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01523/0.9423, allocations: 5.811 MB / 0.8782 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03231/0.9746, allocations: 17.97 MB / 0.8958 GB, free: 11.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9747, allocations: 0 / 0.8958 GB, free: 11.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.057e-06/0.9747, allocations: 4 kB / 0.8958 GB, free: 11.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005523/0.9752, allocations: 0 / 0.8958 GB, free: 11.54 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.03177/1.007, allocations: 11.26 MB / 0.9068 GB, free: 228 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.007, allocations: 12.03 kB / 0.9068 GB, free: 216 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00657/1.014, allocations: 1.409 MB / 0.9082 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/1.035, allocations: 7.912 MB / 0.9159 GB, free: 6.824 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007218/1.035, allocations: 443.7 kB / 0.9163 GB, free: 6.391 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003251/1.039, allocations: 0.5702 MB / 0.9169 GB, free: 5.82 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04623/1.085, allocations: 14.74 MB / 0.9313 GB, free: 5.562 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003959/1.085, allocations: 71.31 kB / 0.9313 GB, free: 5.492 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002449/1.088, allocations: 299.9 kB / 0.9316 GB, free: 5.199 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008141/1.089, allocations: 480.6 kB / 0.9321 GB, free: 4.727 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03553/1.124, allocations: 11.74 MB / 0.9435 GB, free: 8.98 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.09278/1.217, allocations: 63.45 MB / 1.006 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02837/1.245, allocations: 9.392 MB / 1.015 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008887/1.254, allocations: 3.524 MB / 1.018 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/1.256, allocations: 434.8 kB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/1.256, allocations: 128.2 kB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1085): time 1.794e-05/1.256, allocations: 4 kB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=1086): time 0.4991/1.755, allocations: 64.55 MB / 1.082 GB, free: 331.4 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003432/1.756, allocations: 1.461 MB / 1.083 GB, free: 329.6 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/1.767, allocations: 7.276 MB / 1.09 GB, free: 327 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002019/1.769, allocations: 111.9 kB / 1.09 GB, free: 326.9 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002332/1.771, allocations: 3.854 MB / 1.094 GB, free: 324.2 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004222/1.776, allocations: 3.715 MB / 1.098 GB, free: 321.8 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003838/1.78, allocations: 2.359 MB / 1.1 GB, free: 320.9 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/1.78, allocations: 302.2 kB / 1.1 GB, free: 320.6 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007848/1.787, allocations: 4.846 MB / 1.105 GB, free: 318.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009931/1.797, allocations: 8.175 MB / 1.113 GB, free: 312.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01965/1.817, allocations: 13.97 MB / 1.127 GB, free: 302.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/1.817, allocations: 28 kB / 1.127 GB, free: 302.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03334/1.85, allocations: 15.68 MB / 1.142 GB, free: 287.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.851, allocations: 48 kB / 1.142 GB, free: 287.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02994/1.88, allocations: 12.68 MB / 1.154 GB, free: 274.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0887/1.969, allocations: 7.983 MB / 1.162 GB, free: 266.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/1.98, allocations: 2.925 MB / 1.165 GB, free: 263.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.99, allocations: 9.963 MB / 1.175 GB, free: 253.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008966/1.999, allocations: 0.5365 MB / 1.175 GB, free: 253.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002221/2.001, allocations: 0.7378 MB / 1.176 GB, free: 252.4 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0131/2.014, allocations: 6.719 MB / 1.183 GB, free: 245.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009853/2.024, allocations: 8.087 MB / 1.191 GB, free: 236.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01848/2.043, allocations: 13.82 MB / 1.204 GB, free: 220.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000101/2.043, allocations: 31.94 kB / 1.204 GB, free: 220.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.0291/2.072, allocations: 14.75 MB / 1.218 GB, free: 206.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.556e-05/2.072, allocations: 48.94 kB / 1.219 GB, free: 206 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02025/2.092, allocations: 11.07 MB / 1.229 GB, free: 195 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/2.095, allocations: 0.8534 MB / 1.23 GB, free: 194.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009692/2.104, allocations: 3.006 MB / 1.233 GB, free: 191.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007553/2.112, allocations: 8.178 MB / 1.241 GB, free: 182.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008607/2.12, allocations: 0.5338 MB / 1.242 GB, free: 182 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/2.122, allocations: 0.7183 MB / 1.242 GB, free: 181.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.003759/2.126, allocations: 0.8481 MB / 1.243 GB, free: 180.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004251/2.13, allocations: 0.9388 MB / 1.244 GB, free: 179.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.02484/2.155, allocations: 13.76 MB / 1.257 GB, free: 166.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.107673938153312] Failed to read output from testmodel.py, exit status != 0: 2.3166801759507507 2.328264723 1.350612847 Calling exit ...