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.01626/0.01626, allocations: 1.771 MB / 18.82 MB, free: 4.355 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.001265/0.001265, allocations: 99.72 kB / 22.07 MB, free: 1.109 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.001659/0.001659, allocations: 216.4 kB / 25.45 MB, free: 3.344 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 259.3 MB, free: 13.12 MB / 206.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.117/1.117, allocations: 130.5 MB / 446.3 MB, free: 14.55 MB / 350.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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4225/0.4225, allocations: 46.14 MB / 0.6556 GB, free: 30.59 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.6202, allocations: 89.05 MB / 0.7426 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector): time 0.04124/0.6615, allocations: 36.54 MB / 0.7783 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05112/0.7126, allocations: 28.5 MB / 0.8061 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008848/0.7214, allocations: 214.4 kB / 0.8063 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.7323, allocations: 3.868 MB / 0.8101 GB, free: 12.99 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.7509, allocations: 6.199 MB / 0.8162 GB, free: 6.762 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01475/0.7656, allocations: 5.822 MB / 0.8218 GB, free: 0.9414 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.03305/0.7987, allocations: 17.38 MB / 0.8388 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.8111, allocations: 4.988 MB / 0.8437 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01578/0.8269, allocations: 6.926 MB / 0.8504 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01432/0.8412, allocations: 7.111 MB / 0.8574 GB, free: 12.35 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004827/0.846, allocations: 1.141 MB / 0.8585 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.8572, allocations: 3.522 MB / 0.8619 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007043/0.8643, allocations: 3.473 MB / 0.8653 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.4432/1.307, allocations: 5.817 MB / 0.871 GB, free: 36.6 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03098/1.338, allocations: 17.9 MB / 0.8885 GB, free: 35.64 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.338, allocations: 2.625 kB / 0.8885 GB, free: 35.64 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.144e-06/1.338, allocations: 0 / 0.8885 GB, free: 35.64 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006615/1.339, allocations: 0 / 0.8885 GB, free: 35.64 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.03796/1.377, allocations: 11.32 MB / 0.8996 GB, free: 31.01 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.377, allocations: 13.44 kB / 0.8996 GB, free: 31.01 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008097/1.385, allocations: 1.407 MB / 0.9009 GB, free: 30.35 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02113/1.406, allocations: 8.164 MB / 0.9089 GB, free: 28.87 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006754/1.407, allocations: 447.6 kB / 0.9093 GB, free: 28.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003547/1.411, allocations: 0.5702 MB / 0.9099 GB, free: 28.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04389/1.454, allocations: 14.74 MB / 0.9243 GB, free: 24.43 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004287/1.455, allocations: 68.41 kB / 0.9244 GB, free: 24.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/1.458, allocations: 295.7 kB / 0.9246 GB, free: 24.43 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000851/1.459, allocations: 484.5 kB / 0.9251 GB, free: 24.37 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0365/1.495, allocations: 11.74 MB / 0.9366 GB, free: 20.18 MB / 0.67 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.09274/1.588, allocations: 63.57 MB / 0.9986 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02767/1.616, allocations: 9.469 MB / 1.008 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008924/1.625, allocations: 3.531 MB / 1.011 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/1.627, allocations: 0.5765 MB / 1.012 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/1.627, allocations: 123.9 kB / 1.012 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1085): time 8.215e-06/1.627, allocations: 0 / 1.012 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1086): time 0.1963/1.823, allocations: 65.24 MB / 1.076 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009325/1.824, allocations: 1.467 MB / 1.077 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02074/1.845, allocations: 7.258 MB / 1.084 GB, free: 11.89 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002613/1.847, allocations: 114.3 kB / 1.084 GB, free: 11.78 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.005215/1.853, allocations: 3.863 MB / 1.088 GB, free: 7.922 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.006664/1.859, allocations: 3.723 MB / 1.092 GB, free: 4.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01188/1.871, allocations: 2.357 MB / 1.094 GB, free: 1.883 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.871, allocations: 301.1 kB / 1.094 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01289/1.884, allocations: 4.842 MB / 1.099 GB, free: 12.73 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01966/1.904, allocations: 8.174 MB / 1.107 GB, free: 3.238 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03161/1.935, allocations: 13.97 MB / 1.121 GB, free: 4.418 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/1.936, allocations: 28 kB / 1.121 GB, free: 4.391 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.05076/1.986, allocations: 15.67 MB / 1.136 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.987, allocations: 48 kB / 1.136 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04308/2.03, allocations: 12.68 MB / 1.148 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0869/2.116, allocations: 7.986 MB / 1.156 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/2.13, allocations: 2.919 MB / 1.159 GB, free: 13.95 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/2.145, allocations: 10.18 MB / 1.169 GB, free: 3.43 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/2.158, allocations: 0.5419 MB / 1.17 GB, free: 2.887 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003985/2.162, allocations: 0.7377 MB / 1.17 GB, free: 2.148 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02157/2.183, allocations: 6.72 MB / 1.177 GB, free: 11.42 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01775/2.201, allocations: 8.086 MB / 1.185 GB, free: 1.918 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03048/2.232, allocations: 13.82 MB / 1.198 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001363/2.232, allocations: 28.7 kB / 1.198 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.5366/2.768, allocations: 14.74 MB / 1.213 GB, free: 324 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/2.768, allocations: 51.5 kB / 1.213 GB, free: 324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03094/2.799, allocations: 11.06 MB / 1.224 GB, free: 320.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/2.803, allocations: 0.8589 MB / 1.224 GB, free: 320.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/2.816, allocations: 3.004 MB / 1.227 GB, free: 320.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009586/2.826, allocations: 8.497 MB / 1.236 GB, free: 313.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.836, allocations: 0.5325 MB / 1.236 GB, free: 313.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003633/2.84, allocations: 0.7223 MB / 1.237 GB, free: 313 MB / 0.9044 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.006903/2.847, allocations: 0.8459 MB / 1.238 GB, free: 312.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007218/2.854, allocations: 0.9411 MB / 1.239 GB, free: 312.6 MB / 0.9044 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.03493/2.889, allocations: 13.77 MB / 1.252 GB, free: 308.3 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.65998065599706] Failed to read output from testmodel.py, exit status != 0: 2.899608464038465 2.912171951 1.568178834 Calling exit ...