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.008053/0.008053, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0007859/0.0007859, allocations: 83.69 kB / 25.4 MB, free: 7 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.0008839/0.0008839, allocations: 161.8 kB / 29.33 MB, free: 3.137 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 0.9682/0.9682, allocations: 177.1 MB / 210.3 MB, free: 3.449 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6383/0.6383, allocations: 102.5 MB / 369.8 MB, free: 228 kB / 330.7 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 1.0.0 (/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.[0-9,]+.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.[0-9,]+.",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.[0-9,]+.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.991e-05, allocations: 6 kB / 470.4 MB, free: 18.85 MB / 410.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.1662/0.1662, allocations: 84.49 MB / 0.5419 GB, free: 3.082 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04052/0.2067, allocations: 28.32 MB / 0.5696 GB, free: 6.688 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007329/0.214, allocations: 218.3 kB / 0.5698 GB, free: 6.473 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008319/0.2224, allocations: 3.804 MB / 0.5735 GB, free: 2.648 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0142/0.2366, allocations: 6.505 MB / 0.5799 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01072/0.2473, allocations: 5.997 MB / 0.5857 GB, free: 6.098 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.02193/0.2692, allocations: 17.84 MB / 0.6031 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009208/0.2784, allocations: 5.353 MB / 0.6084 GB, free: 14.77 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3898/0.6683, allocations: 54.89 MB / 0.662 GB, free: 50.65 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.6788, allocations: 5.987 MB / 0.6678 GB, free: 50.65 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003933/0.6827, allocations: 1.104 MB / 0.6689 GB, free: 50.65 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008533/0.6912, allocations: 2.807 MB / 0.6716 GB, free: 50.64 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005726/0.697, allocations: 3.471 MB / 0.675 GB, free: 50.64 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.009959/0.7069, allocations: 3.641 MB / 0.6786 GB, free: 50.64 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.02099/0.7279, allocations: 10.66 MB / 0.689 GB, free: 49.64 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.7279, allocations: 2.625 kB / 0.689 GB, free: 49.64 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7279, allocations: 1.312 kB / 0.689 GB, free: 49.64 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0006482/0.7286, allocations: 0 / 0.689 GB, free: 49.64 MB / 0.5418 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.0289/0.7575, allocations: 11.28 MB / 0.7 GB, free: 44.87 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7575, allocations: 10.03 kB / 0.7 GB, free: 44.87 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006578/0.7641, allocations: 1.768 MB / 0.7017 GB, free: 44.21 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.7773, allocations: 6.256 MB / 0.7078 GB, free: 42.73 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004801/0.7778, allocations: 450.1 kB / 0.7083 GB, free: 42.72 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.7801, allocations: 0.6075 MB / 0.7089 GB, free: 42.71 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02296/0.8031, allocations: 13.96 MB / 0.7225 GB, free: 31.68 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003487/0.8034, allocations: 72.44 kB / 0.7226 GB, free: 31.67 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001366/0.8048, allocations: 297 kB / 0.7229 GB, free: 31.53 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/0.8052, allocations: 485.8 kB / 0.7233 GB, free: 31.42 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/0.8192, allocations: 6.207 MB / 0.7294 GB, free: 29.48 MB / 0.5418 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.05549/0.8747, allocations: 76.42 MB / 0.804 GB, free: 7.277 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/0.892, allocations: 6.302 MB / 0.8102 GB, free: 1.578 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/0.8965, allocations: 1.571 MB / 0.8117 GB, free: 15.91 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.8979, allocations: 0.5636 MB / 0.8123 GB, free: 15.4 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.898, allocations: 132 kB / 0.8124 GB, free: 15.27 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1085): time 1.024e-05/0.898, allocations: 0 / 0.8124 GB, free: 15.27 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1086): time 0.1035/1.002, allocations: 21.27 MB / 0.8331 GB, free: 10.21 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005541/1.002, allocations: 1.898 MB / 0.835 GB, free: 7.875 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009234/1.011, allocations: 6.269 MB / 0.8411 GB, free: 2.668 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.001888/1.013, allocations: 117.7 kB / 0.8412 GB, free: 2.547 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/1.016, allocations: 4.136 MB / 0.8453 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.004475/1.02, allocations: 3.796 MB / 0.849 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003629/1.024, allocations: 2.547 MB / 0.8515 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.024, allocations: 483.3 kB / 0.8519 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/1.027, allocations: 1.776 MB / 0.8537 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005795/1.033, allocations: 7.83 MB / 0.8613 GB, free: 12.65 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009774/1.042, allocations: 9.106 MB / 0.8702 GB, free: 2.422 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.654e-05/1.042, allocations: 28 kB / 0.8702 GB, free: 2.395 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.01704/1.059, allocations: 9.795 MB / 0.8798 GB, free: 9.32 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/1.059, allocations: 51.91 kB / 0.8798 GB, free: 9.27 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01433/1.074, allocations: 7.318 MB / 0.887 GB, free: 2.082 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2877/1.361, allocations: 7.733 MB / 0.8945 GB, free: 176.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006959/1.368, allocations: 2.855 MB / 0.8973 GB, free: 176.7 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/1.374, allocations: 10.37 MB / 0.9075 GB, free: 168 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007213/1.381, allocations: 477.4 kB / 0.9079 GB, free: 168 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/1.383, allocations: 0.6412 MB / 0.9085 GB, free: 168 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005607/1.389, allocations: 1.964 MB / 0.9105 GB, free: 167.9 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004707/1.394, allocations: 7.793 MB / 0.9181 GB, free: 160.6 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009317/1.403, allocations: 9.031 MB / 0.9269 GB, free: 155.1 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.901e-05/1.403, allocations: 31.06 kB / 0.9269 GB, free: 155.1 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.02249/1.426, allocations: 9.636 MB / 0.9363 GB, free: 154.8 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/1.426, allocations: 46.69 kB / 0.9364 GB, free: 154.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01382/1.439, allocations: 7.065 MB / 0.9433 GB, free: 154.5 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03593/1.475, allocations: 7.395 MB / 0.9505 GB, free: 154.4 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00697/1.482, allocations: 2.826 MB / 0.9533 GB, free: 154.3 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/1.488, allocations: 10.65 MB / 0.9637 GB, free: 145 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007163/1.495, allocations: 474.7 kB / 0.9641 GB, free: 145 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/1.497, allocations: 0.6373 MB / 0.9647 GB, free: 144.9 MB / 0.6668 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.002782/1.5, allocations: 0.9347 MB / 0.9656 GB, free: 144.6 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003494/1.503, allocations: 1.077 MB / 0.9667 GB, free: 144.5 MB / 0.6668 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.01461/1.518, allocations: 11.68 MB / 0.9781 GB, free: 138.6 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.302294122055173]