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.01283/0.01283, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0009549/0.0009549, allocations: 82.17 kB / 26.19 MB, free: 6.07 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.001712/0.001712, allocations: 176.1 kB / 30.12 MB, free: 2.176 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.8767/0.8767, allocations: 177.2 MB / 211.1 MB, free: 2.23 MB / 186.7 MB " [Timeout remaining time 179] 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 0.731/0.731, allocations: 102.5 MB / 370.6 MB, free: 0.8125 MB / 330.8 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 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_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_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 471.2 MB, free: 12.37 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.151e-05, allocations: 6.25 kB / 471.3 MB, free: 12.36 MB / 442.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.2926/0.2926, allocations: 84.45 MB / 0.5427 GB, free: 63.1 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03465/0.3272, allocations: 28.31 MB / 0.5703 GB, free: 43.39 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007588/0.3348, allocations: 212.3 kB / 0.5705 GB, free: 43.29 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00868/0.3435, allocations: 3.807 MB / 0.5742 GB, free: 41.47 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.3579, allocations: 6.518 MB / 0.5806 GB, free: 36.88 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.3684, allocations: 5.992 MB / 0.5865 GB, free: 32.27 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01896/0.3874, allocations: 17.83 MB / 0.6039 GB, free: 18.1 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006894/0.3943, allocations: 5.362 MB / 0.6091 GB, free: 12.65 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1267/0.521, allocations: 54.89 MB / 0.6627 GB, free: 8.199 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.5319, allocations: 5.992 MB / 0.6686 GB, free: 2.195 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.003807/0.5357, allocations: 1.105 MB / 0.6696 GB, free: 1.09 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008629/0.5443, allocations: 2.804 MB / 0.6724 GB, free: 14.29 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005426/0.5497, allocations: 3.481 MB / 0.6758 GB, free: 10.79 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.01033/0.5601, allocations: 3.638 MB / 0.6793 GB, free: 7.148 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.02347/0.5835, allocations: 10.65 MB / 0.6897 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5836, allocations: 3.984 kB / 0.6897 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5836, allocations: 4 kB / 0.6897 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0004239/0.584, allocations: 2.625 kB / 0.6897 GB, free: 12.45 MB / 0.5574 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.01998/0.604, allocations: 11.28 MB / 0.7008 GB, free: 1.086 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.604, allocations: 12.03 kB / 0.7008 GB, free: 1.074 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003659/0.6077, allocations: 1.769 MB / 0.7025 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.6179, allocations: 6.259 MB / 0.7086 GB, free: 8.957 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004141/0.6183, allocations: 448.1 kB / 0.709 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.6194, allocations: 0.6057 MB / 0.7096 GB, free: 7.914 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/0.6379, allocations: 13.97 MB / 0.7233 GB, free: 7.199 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/0.6381, allocations: 67.38 kB / 0.7233 GB, free: 7.133 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007072/0.6388, allocations: 294.6 kB / 0.7236 GB, free: 6.848 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000368/0.6392, allocations: 480.6 kB / 0.7241 GB, free: 6.375 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.652, allocations: 6.214 MB / 0.7301 GB, free: 176 kB / 0.5887 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.262/0.914, allocations: 76.41 MB / 0.8048 GB, free: 76.25 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.9266, allocations: 6.305 MB / 0.8109 GB, free: 75.23 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003458/0.93, allocations: 1.569 MB / 0.8125 GB, free: 74.87 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.9311, allocations: 407.5 kB / 0.8128 GB, free: 74.85 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.9312, allocations: 133.3 kB / 0.813 GB, free: 74.8 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1085): time 1.223e-05/0.9312, allocations: 0 / 0.813 GB, free: 74.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1086): time 0.06083/0.992, allocations: 20.87 MB / 0.8333 GB, free: 73.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003018/0.9923, allocations: 1.895 MB / 0.8352 GB, free: 71.45 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007665/1, allocations: 6.271 MB / 0.8413 GB, free: 70.25 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001636/1.002, allocations: 117.5 kB / 0.8414 GB, free: 70.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.004, allocations: 4.144 MB / 0.8455 GB, free: 68.28 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003654/1.008, allocations: 3.802 MB / 0.8492 GB, free: 65.57 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003567/1.011, allocations: 2.543 MB / 0.8517 GB, free: 64.17 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/1.011, allocations: 480.7 kB / 0.8521 GB, free: 63.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/1.014, allocations: 1.779 MB / 0.8539 GB, free: 61.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.018, allocations: 7.828 MB / 0.8615 GB, free: 52.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008889/1.027, allocations: 9.104 MB / 0.8704 GB, free: 42.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.027, allocations: 30.19 kB / 0.8704 GB, free: 42.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.01726/1.044, allocations: 9.652 MB / 0.8799 GB, free: 34.71 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/1.044, allocations: 48 kB / 0.8799 GB, free: 34.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01311/1.058, allocations: 6.949 MB / 0.8867 GB, free: 28.62 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03915/1.097, allocations: 7.741 MB / 0.8943 GB, free: 21.46 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/1.103, allocations: 2.846 MB / 0.897 GB, free: 18.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/1.108, allocations: 10.38 MB / 0.9072 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005405/1.114, allocations: 475.1 kB / 0.9076 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.115, allocations: 0.6417 MB / 0.9083 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004797/1.12, allocations: 1.958 MB / 0.9102 GB, free: 5.992 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004998/1.125, allocations: 7.798 MB / 0.9178 GB, free: 12.32 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01183/1.137, allocations: 9.04 MB / 0.9266 GB, free: 2.832 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001001/1.137, allocations: 28 kB / 0.9266 GB, free: 2.805 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.01921/1.156, allocations: 9.5 MB / 0.9359 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/1.156, allocations: 44 kB / 0.936 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01202/1.168, allocations: 6.762 MB / 0.9426 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03919/1.207, allocations: 7.402 MB / 0.9498 GB, free: 11.89 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006419/1.214, allocations: 2.826 MB / 0.9525 GB, free: 9.242 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/1.22, allocations: 10.64 MB / 0.9629 GB, free: 14.3 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/1.226, allocations: 472.3 kB / 0.9634 GB, free: 13.84 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.228, allocations: 0.6406 MB / 0.964 GB, free: 13.2 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.002716/1.231, allocations: 0.9303 MB / 0.9649 GB, free: 12.44 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003061/1.234, allocations: 1.076 MB / 0.966 GB, free: 11.36 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.01597/1.25, allocations: 11.67 MB / 0.9774 GB, free: 1.008 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 3.958601400721818]