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.01057/0.01057, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.001655/0.001655, allocations: 78.22 kB / 24.02 MB, free: 2.605 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.00192/0.00192, allocations: 156 kB / 27.71 MB, free: 3.859 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.597/1.597, allocations: 177.2 MB / 208.4 MB, free: 7.672 MB / 190.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.138/1.138, allocations: 102.5 MB / 367.7 MB, free: 4.555 MB / 334.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: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.5364 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.997e-05, allocations: 4.094 kB / 0.5364 GB, free: 7.129 MB / 446.1 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.2006/0.2007, allocations: 78.09 MB / 0.6127 GB, free: 11.47 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.07213/0.2728, allocations: 27.52 MB / 0.6396 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01362/0.2864, allocations: 214.4 kB / 0.6398 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01439/0.3008, allocations: 3.8 MB / 0.6435 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.02521/0.326, allocations: 6.489 MB / 0.6498 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02114/0.3472, allocations: 5.989 MB / 0.6557 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.03181/0.379, allocations: 17.84 MB / 0.6731 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.3905, allocations: 5.12 MB / 0.6781 GB, free: 8.199 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4744/0.8649, allocations: 9.481 MB / 0.6874 GB, free: 32.03 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01815/0.8831, allocations: 6.033 MB / 0.6933 GB, free: 32.03 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.007475/0.8905, allocations: 1.141 MB / 0.6944 GB, free: 32.03 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/0.9056, allocations: 2.94 MB / 0.6972 GB, free: 32.03 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.008647/0.9143, allocations: 3.567 MB / 0.7007 GB, free: 32.03 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.01581/0.9301, allocations: 3.701 MB / 0.7043 GB, free: 32.03 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.03426/0.9643, allocations: 17.82 MB / 0.7217 GB, free: 30.91 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.9643, allocations: 0 / 0.7217 GB, free: 30.91 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9643, allocations: 0 / 0.7217 GB, free: 30.91 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0007294/0.9651, allocations: 1.844 kB / 0.7217 GB, free: 30.91 MB / 0.5763 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.04723/1.012, allocations: 11.14 MB / 0.7326 GB, free: 25.08 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/1.012, allocations: 7.969 kB / 0.7326 GB, free: 25.08 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008349/1.021, allocations: 1.41 MB / 0.734 GB, free: 24.3 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/1.042, allocations: 7.899 MB / 0.7417 GB, free: 21.55 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000655/1.043, allocations: 449.5 kB / 0.7421 GB, free: 21.54 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003689/1.046, allocations: 0.5691 MB / 0.7427 GB, free: 21.53 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/1.084, allocations: 16.68 MB / 0.759 GB, free: 8.902 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001653/1.084, allocations: 79.03 kB / 0.7591 GB, free: 8.898 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009589/1.085, allocations: 291.4 kB / 0.7593 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004844/1.085, allocations: 484.7 kB / 0.7598 GB, free: 8.605 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03289/1.118, allocations: 11.7 MB / 0.7712 GB, free: 15.73 MB / 0.5919 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.1065/1.225, allocations: 58.75 MB / 0.8286 GB, free: 4.008 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02995/1.255, allocations: 9.369 MB / 0.8378 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/1.266, allocations: 3.526 MB / 0.8412 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002519/1.268, allocations: 391.5 kB / 0.8416 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/1.269, allocations: 128 kB / 0.8417 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1085): time 1.517e-05/1.269, allocations: 0 / 0.8417 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1086): time 0.198/1.467, allocations: 64.54 MB / 0.9047 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000923/1.468, allocations: 1.464 MB / 0.9062 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0149/1.482, allocations: 7.161 MB / 0.9132 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.002897/1.485, allocations: 109.7 kB / 0.9133 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.004323/1.49, allocations: 3.859 MB / 0.917 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.006753/1.496, allocations: 3.667 MB / 0.9206 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009202/1.506, allocations: 2.33 MB / 0.9229 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.506, allocations: 313.1 kB / 0.9232 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01293/1.519, allocations: 4.84 MB / 0.9279 GB, free: 13.81 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01892/1.538, allocations: 8.831 MB / 0.9365 GB, free: 3.406 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03383/1.571, allocations: 13.98 MB / 0.9502 GB, free: 4.582 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001471/1.572, allocations: 31.47 kB / 0.9502 GB, free: 4.555 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.05313/1.625, allocations: 15.67 MB / 0.9655 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.625, allocations: 48.94 kB / 0.9656 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4622/2.087, allocations: 12.69 MB / 0.978 GB, free: 282.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0889/2.176, allocations: 7.988 MB / 0.9858 GB, free: 282 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01293/2.189, allocations: 2.924 MB / 0.9886 GB, free: 281.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/2.201, allocations: 9.872 MB / 0.9982 GB, free: 275.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/2.212, allocations: 0.5407 MB / 0.9988 GB, free: 275.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003893/2.216, allocations: 0.7296 MB / 0.9995 GB, free: 275.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01823/2.234, allocations: 6.716 MB / 1.006 GB, free: 272.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01316/2.247, allocations: 8.75 MB / 1.015 GB, free: 265.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02359/2.271, allocations: 13.81 MB / 1.028 GB, free: 256.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001133/2.271, allocations: 27.19 kB / 1.028 GB, free: 256.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.04645/2.318, allocations: 14.73 MB / 1.042 GB, free: 245 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/2.318, allocations: 51.94 kB / 1.043 GB, free: 245 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03207/2.35, allocations: 11.06 MB / 1.053 GB, free: 234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/2.352, allocations: 0.8563 MB / 1.054 GB, free: 233.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01335/2.366, allocations: 3.004 MB / 1.057 GB, free: 230.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00903/2.375, allocations: 8.067 MB / 1.065 GB, free: 221.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/2.387, allocations: 0.5305 MB / 1.066 GB, free: 221.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003869/2.391, allocations: 0.7261 MB / 1.066 GB, free: 220.7 MB / 0.7794 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.007363/2.398, allocations: 0.8438 MB / 1.067 GB, free: 219.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006649/2.405, allocations: 0.9216 MB / 1.068 GB, free: 219.5 MB / 0.7794 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.03681/2.441, allocations: 13.8 MB / 1.081 GB, free: 206.7 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.631526071578264] Failed to read output from testmodel.py, exit status != 0: 2.6313027404248714 2.6426709870000002 1.6752982410000001 Calling exit ...