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.01004/0.01004, allocations: 1.337 MB / 21.02 MB, free: 0.6094 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.001295/0.001295, allocations: 83.19 kB / 24.58 MB, free: 1.879 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.001533/0.001533, allocations: 163.2 kB / 28.25 MB, free: 3.141 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.407/1.407, allocations: 177.2 MB / 209 MB, free: 7.617 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.008/1.008, allocations: 102.5 MB / 368.3 MB, free: 4.137 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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06767/0.06767, allocations: 20.96 MB / 0.5569 GB, free: 4.918 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.2213, allocations: 81.87 MB / 0.6369 GB, free: 2.91 MB / 0.5294 GB 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.4663/0.6875, allocations: 57 MB / 0.6925 GB, free: 17.1 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04199/0.7295, allocations: 27.79 MB / 0.7196 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01346/0.743, allocations: 212.4 kB / 0.7199 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009982/0.753, allocations: 3.78 MB / 0.7235 GB, free: 1.992 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01943/0.7724, allocations: 6.313 MB / 0.7297 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01663/0.789, allocations: 5.912 MB / 0.7355 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02827/0.8173, allocations: 17.4 MB / 0.7525 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01048/0.8278, allocations: 5.069 MB / 0.7574 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01463/0.8424, allocations: 6.947 MB / 0.7642 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.8567, allocations: 6.785 MB / 0.7708 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004227/0.861, allocations: 1.146 MB / 0.772 GB, free: 15.47 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.8713, allocations: 2.907 MB / 0.7748 GB, free: 12.57 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006225/0.8775, allocations: 3.477 MB / 0.7782 GB, free: 9.082 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.8888, allocations: 4.498 MB / 0.7826 GB, free: 4.562 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03103/0.9198, allocations: 17.87 MB / 0.8 GB, free: 2.625 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9198, allocations: 0 / 0.8 GB, free: 2.625 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9198, allocations: 1.781 kB / 0.8 GB, free: 2.625 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005217/0.9203, allocations: 0 / 0.8 GB, free: 2.625 MB / 0.6388 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.03168/0.952, allocations: 11.25 MB / 0.811 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.952, allocations: 12.03 kB / 0.811 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007722/0.9598, allocations: 1.412 MB / 0.8124 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/0.9802, allocations: 7.902 MB / 0.8201 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006398/0.9808, allocations: 455.7 kB / 0.8206 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00249/0.9833, allocations: 0.5731 MB / 0.8211 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04249/1.026, allocations: 16.68 MB / 0.8374 GB, free: 10.08 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003763/1.026, allocations: 71.31 kB / 0.8375 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002361/1.029, allocations: 300 kB / 0.8378 GB, free: 9.715 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008004/1.029, allocations: 475.9 kB / 0.8382 GB, free: 9.25 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03574/1.065, allocations: 11.71 MB / 0.8497 GB, free: 13.54 MB / 0.7013 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.08691/1.152, allocations: 58.93 MB / 0.9072 GB, free: 0.8555 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02865/1.181, allocations: 9.369 MB / 0.9164 GB, free: 7.285 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008475/1.189, allocations: 3.517 MB / 0.9198 GB, free: 3.68 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/1.191, allocations: 398.9 kB / 0.9202 GB, free: 3.297 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/1.191, allocations: 123 kB / 0.9203 GB, free: 3.168 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=1085): time 1.306e-05/1.191, allocations: 0 / 0.9203 GB, free: 3.168 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1086): time 0.1562/1.348, allocations: 64.55 MB / 0.9833 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008541/1.348, allocations: 1.466 MB / 0.9848 GB, free: 0.6758 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/1.361, allocations: 7.162 MB / 0.9917 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001877/1.363, allocations: 109.7 kB / 0.9919 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.003635/1.367, allocations: 3.877 MB / 0.9956 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.005153/1.372, allocations: 3.721 MB / 0.9993 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2671/1.639, allocations: 2.36 MB / 1.002 GB, free: 360.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/1.639, allocations: 303 kB / 1.002 GB, free: 360.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/1.649, allocations: 4.84 MB / 1.007 GB, free: 360.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/1.661, allocations: 8.829 MB / 1.015 GB, free: 353.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02025/1.682, allocations: 13.98 MB / 1.029 GB, free: 344.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.947e-05/1.682, allocations: 30.66 kB / 1.029 GB, free: 344.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.02972/1.711, allocations: 15.64 MB / 1.044 GB, free: 338.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/1.711, allocations: 48.88 kB / 1.044 GB, free: 338.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02616/1.738, allocations: 12.69 MB / 1.057 GB, free: 327.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.085/1.823, allocations: 7.982 MB / 1.064 GB, free: 320.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/1.833, allocations: 2.919 MB / 1.067 GB, free: 317.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009894/1.843, allocations: 9.888 MB / 1.077 GB, free: 307 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/1.851, allocations: 0.541 MB / 1.077 GB, free: 306.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002176/1.853, allocations: 0.7299 MB / 1.078 GB, free: 305.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0113/1.864, allocations: 6.711 MB / 1.085 GB, free: 299.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009516/1.874, allocations: 8.744 MB / 1.093 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02109/1.895, allocations: 13.83 MB / 1.107 GB, free: 273.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001156/1.895, allocations: 31.94 kB / 1.107 GB, free: 273.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03076/1.926, allocations: 14.73 MB / 1.121 GB, free: 259.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.779e-05/1.926, allocations: 48 kB / 1.121 GB, free: 259.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02105/1.947, allocations: 11.06 MB / 1.132 GB, free: 248.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/1.949, allocations: 0.8622 MB / 1.133 GB, free: 247.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/1.959, allocations: 2.995 MB / 1.136 GB, free: 244.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/1.966, allocations: 8.066 MB / 1.144 GB, free: 235.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00764/1.974, allocations: 0.5347 MB / 1.144 GB, free: 235.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002099/1.976, allocations: 0.7298 MB / 1.145 GB, free: 234.7 MB / 0.8419 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.003641/1.98, allocations: 0.8461 MB / 1.146 GB, free: 233.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003513/1.983, allocations: 0.9278 MB / 1.147 GB, free: 233.4 MB / 0.8419 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.02256/2.006, allocations: 13.81 MB / 1.16 GB, free: 220 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.524093477986753] Failed to read output from testmodel.py, exit status != 0: 2.129164602025412 2.139110092 1.2167345779999998 Calling exit ...