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.006203/0.006203, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0008636/0.0008636, allocations: 94.27 kB / 24.91 MB, free: 7.27 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.0009768/0.0009768, allocations: 169.1 kB / 28.62 MB, free: 4.449 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.9036/0.9036, allocations: 177.1 MB / 209.4 MB, free: 2.973 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.7755/0.7755, allocations: 102.4 MB / 368.7 MB, free: 1.449 MB / 330.8 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.5.2 (/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.794e-06/1.794e-06, allocations: 3.938 kB / 0.5374 GB, free: 39.77 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.322e-05, allocations: 5.469 kB / 0.5374 GB, free: 39.77 MB / 490.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.1328/0.1328, allocations: 78.06 MB / 0.6136 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04258/0.1754, allocations: 27.52 MB / 0.6405 GB, free: 2.254 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008956/0.1844, allocations: 210.4 kB / 0.6407 GB, free: 2.047 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.009547/0.1939, allocations: 3.789 MB / 0.6444 GB, free: 14.24 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01594/0.2099, allocations: 6.493 MB / 0.6508 GB, free: 7.707 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.2221, allocations: 5.985 MB / 0.6566 GB, free: 1.711 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02189/0.244, allocations: 17.84 MB / 0.674 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009094/0.2531, allocations: 5.123 MB / 0.679 GB, free: 10.61 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02245/0.2755, allocations: 9.479 MB / 0.6883 GB, free: 1.105 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.2871, allocations: 6.032 MB / 0.6942 GB, free: 11.06 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.004163/0.2913, allocations: 1.141 MB / 0.6953 GB, free: 9.918 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009598/0.3009, allocations: 2.952 MB / 0.6982 GB, free: 6.961 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.006036/0.3069, allocations: 3.578 MB / 0.7017 GB, free: 3.371 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.009555/0.3165, allocations: 3.702 MB / 0.7053 GB, free: 15.66 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.02599/0.3425, allocations: 17.81 MB / 0.7227 GB, free: 13.79 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 6.944e-06/0.3425, allocations: 4 kB / 0.7227 GB, free: 13.79 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3425, allocations: 0 / 0.7227 GB, free: 13.79 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0007274/0.3432, allocations: 7.938 kB / 0.7227 GB, free: 13.78 MB / 0.6199 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.02845/0.3717, allocations: 11.13 MB / 0.7336 GB, free: 2.547 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3717, allocations: 8.031 kB / 0.7336 GB, free: 2.539 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.3762, allocations: 1.407 MB / 0.7349 GB, free: 1.125 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/0.393, allocations: 7.907 MB / 0.7427 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/0.394, allocations: 452 kB / 0.7431 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/0.3975, allocations: 0.5667 MB / 0.7436 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03266/0.4301, allocations: 16.69 MB / 0.7599 GB, free: 5.273 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002021/0.4303, allocations: 71.38 kB / 0.76 GB, free: 5.203 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001306/0.4316, allocations: 300 kB / 0.7603 GB, free: 4.91 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004945/0.4321, allocations: 476.6 kB / 0.7607 GB, free: 4.441 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3176/0.7497, allocations: 11.7 MB / 0.7722 GB, free: 168.3 MB / 0.6512 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.0572/0.8069, allocations: 58.74 MB / 0.8295 GB, free: 118.4 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/0.8251, allocations: 9.373 MB / 0.8387 GB, free: 113.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005998/0.831, allocations: 3.531 MB / 0.8421 GB, free: 111 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.8321, allocations: 396.1 kB / 0.8425 GB, free: 110.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.8322, allocations: 119.7 kB / 0.8426 GB, free: 110.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1085): time 1.057e-05/0.8323, allocations: 0 / 0.8426 GB, free: 110.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1086): time 0.08254/0.9148, allocations: 64.55 MB / 0.9057 GB, free: 51.17 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.915, allocations: 1.462 MB / 0.9071 GB, free: 49.37 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007322/0.9223, allocations: 7.164 MB / 0.9141 GB, free: 42.34 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001791/0.9241, allocations: 109.7 kB / 0.9142 GB, free: 42.23 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.9256, allocations: 3.86 MB / 0.918 GB, free: 38.75 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00333/0.929, allocations: 3.674 MB / 0.9215 GB, free: 35.38 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002706/0.9317, allocations: 2.334 MB / 0.9238 GB, free: 33.04 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.587e-05/0.9317, allocations: 301.1 kB / 0.9241 GB, free: 32.74 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005463/0.9372, allocations: 4.844 MB / 0.9288 GB, free: 27.88 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006708/0.9439, allocations: 8.828 MB / 0.9375 GB, free: 17.43 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/0.9595, allocations: 13.98 MB / 0.9511 GB, free: 2.203 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.131e-05/0.9596, allocations: 31.94 kB / 0.9511 GB, free: 2.172 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.0279/0.9875, allocations: 15.65 MB / 0.9664 GB, free: 2.602 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.9876, allocations: 48 kB / 0.9665 GB, free: 2.555 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02297/1.011, allocations: 12.69 MB / 0.9789 GB, free: 5.961 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04018/1.051, allocations: 8.003 MB / 0.9867 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008206/1.059, allocations: 2.922 MB / 0.9895 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/1.068, allocations: 9.881 MB / 0.9992 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007458/1.076, allocations: 0.5366 MB / 0.9997 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/1.078, allocations: 0.7339 MB / 1 GB, free: 15.97 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01415/1.092, allocations: 6.714 MB / 1.007 GB, free: 9.25 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01101/1.103, allocations: 8.738 MB / 1.016 GB, free: 14.88 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01934/1.123, allocations: 13.83 MB / 1.029 GB, free: 15.75 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-05/1.123, allocations: 28 kB / 1.029 GB, free: 15.72 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.02796/1.151, allocations: 14.73 MB / 1.043 GB, free: 0.9688 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 8.107e-05/1.151, allocations: 48 kB / 1.043 GB, free: 0.9219 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3459/1.497, allocations: 11.06 MB / 1.054 GB, free: 244.1 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/1.499, allocations: 0.8476 MB / 1.055 GB, free: 243.9 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008554/1.507, allocations: 3.004 MB / 1.058 GB, free: 243.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006728/1.514, allocations: 8.066 MB / 1.066 GB, free: 237.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007574/1.521, allocations: 0.5302 MB / 1.066 GB, free: 237.2 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/1.524, allocations: 0.7269 MB / 1.067 GB, free: 237.1 MB / 0.7449 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.004051/1.528, allocations: 0.8438 MB / 1.068 GB, free: 236.5 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003742/1.532, allocations: 0.9211 MB / 1.069 GB, free: 236.5 MB / 0.7449 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.02474/1.557, allocations: 13.79 MB / 1.082 GB, free: 232.1 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.518378043547273] Failed to read output from testmodel.py, exit status != 0: 1.7099396949633956 1.7171969519999999 1.372905624 Calling exit ...