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.02238/0.02238, allocations: 1.798 MB / 21.15 MB, free: 3.227 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.002229/0.002229, allocations: 80.78 kB / 24.89 MB, free: 6.328 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.002677/0.002677, allocations: 159.2 kB / 28.74 MB, free: 3.504 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 1.544/1.544, allocations: 177.2 MB / 209.6 MB, free: 2.395 MB / 186.7 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.156/1.156, allocations: 102.4 MB / 369.1 MB, free: 0.8516 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 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.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.623e-06/1.623e-06, allocations: 0 / 469.1 MB, free: 12.95 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.222e-05, allocations: 2.312 kB / 469.1 MB, free: 12.95 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.5053/0.5053, allocations: 83.13 MB / 0.5393 GB, free: 63.8 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04358/0.5489, allocations: 28.31 MB / 0.567 GB, free: 44.1 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009545/0.5585, allocations: 216.1 kB / 0.5672 GB, free: 43.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.5699, allocations: 3.802 MB / 0.5709 GB, free: 42.16 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02046/0.5903, allocations: 6.483 MB / 0.5772 GB, free: 38.17 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.6064, allocations: 5.991 MB / 0.5831 GB, free: 33.59 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02508/0.6315, allocations: 17.84 MB / 0.6005 GB, free: 19.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.6424, allocations: 5.357 MB / 0.6057 GB, free: 14.19 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02515/0.6676, allocations: 9.495 MB / 0.615 GB, free: 4.672 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/0.68, allocations: 6.045 MB / 0.6209 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.004544/0.6845, allocations: 1.141 MB / 0.622 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.6964, allocations: 2.958 MB / 0.6249 GB, free: 10.52 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.007077/0.7035, allocations: 3.574 MB / 0.6284 GB, free: 6.934 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.01294/0.7164, allocations: 3.713 MB / 0.632 GB, free: 3.211 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03608/0.7525, allocations: 17.87 MB / 0.6495 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.7525, allocations: 0 / 0.6495 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7525, allocations: 0 / 0.6495 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006499/0.7532, allocations: 0 / 0.6495 GB, free: 1.285 MB / 0.5105 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.03847/0.7917, allocations: 12.68 MB / 0.6618 GB, free: 4.535 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7917, allocations: 8.031 kB / 0.6619 GB, free: 4.527 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008697/0.8004, allocations: 1.874 MB / 0.6637 GB, free: 2.648 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02235/0.8227, allocations: 7.538 MB / 0.671 GB, free: 11.05 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006832/0.8234, allocations: 448.1 kB / 0.6715 GB, free: 10.61 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/0.8264, allocations: 0.6044 MB / 0.6721 GB, free: 10.01 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0455/0.8719, allocations: 17.82 MB / 0.6895 GB, free: 5.441 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002299/0.8721, allocations: 75.25 kB / 0.6895 GB, free: 5.367 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/0.8735, allocations: 294.6 kB / 0.6898 GB, free: 5.082 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006789/0.8742, allocations: 481.6 kB / 0.6903 GB, free: 4.609 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03603/0.9103, allocations: 10.26 MB / 0.7003 GB, free: 10.34 MB / 0.573 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.3804/1.291, allocations: 89.41 MB / 0.7876 GB, free: 116.5 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/1.314, allocations: 8.79 MB / 0.7962 GB, free: 115.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007601/1.322, allocations: 2.887 MB / 0.799 GB, free: 114.4 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/1.324, allocations: 415.2 kB / 0.7994 GB, free: 114.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/1.324, allocations: 133.4 kB / 0.7995 GB, free: 114.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1085): time 1.004e-05/1.324, allocations: 0 / 0.7995 GB, free: 114.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1086): time 0.1381/1.462, allocations: 62.86 MB / 0.8609 GB, free: 74.05 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003561/1.463, allocations: 1.463 MB / 0.8624 GB, free: 72.26 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.477, allocations: 9.113 MB / 0.8713 GB, free: 64.36 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002599/1.48, allocations: 113.7 kB / 0.8714 GB, free: 64.25 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00402/1.484, allocations: 4.542 MB / 0.8758 GB, free: 60.42 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005696/1.489, allocations: 4.102 MB / 0.8798 GB, free: 56.54 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007487/1.497, allocations: 2.939 MB / 0.8827 GB, free: 53.58 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/1.497, allocations: 480.8 kB / 0.8831 GB, free: 53.11 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008323/1.505, allocations: 4.263 MB / 0.8873 GB, free: 48.83 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01286/1.518, allocations: 10.18 MB / 0.8972 GB, free: 36.53 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02136/1.54, allocations: 14.78 MB / 0.9117 GB, free: 20.06 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.54, allocations: 28 kB / 0.9117 GB, free: 20.03 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03885/1.579, allocations: 15.03 MB / 0.9264 GB, free: 5.078 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/1.579, allocations: 50.66 kB / 0.9264 GB, free: 5.031 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03991/1.619, allocations: 11.34 MB / 0.9375 GB, free: 9.785 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09241/1.711, allocations: 7.893 MB / 0.9452 GB, free: 2.258 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01448/1.725, allocations: 2.909 MB / 0.948 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/1.743, allocations: 11.81 MB / 0.9596 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/1.754, allocations: 0.4988 MB / 0.9601 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003734/1.758, allocations: 0.7338 MB / 0.9608 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02017/1.778, allocations: 5.541 MB / 0.9662 GB, free: 12.35 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02105/1.799, allocations: 10.1 MB / 0.9761 GB, free: 88 kB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3574/2.156, allocations: 14.64 MB / 0.9904 GB, free: 218 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001774/2.156, allocations: 29.19 kB / 0.9904 GB, free: 218 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03626/2.193, allocations: 14.09 MB / 1.004 GB, free: 217.1 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/2.193, allocations: 51.47 kB / 1.004 GB, free: 217.1 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02848/2.221, allocations: 9.769 MB / 1.014 GB, free: 216.8 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/2.224, allocations: 0.8013 MB / 1.015 GB, free: 216.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/2.237, allocations: 2.986 MB / 1.017 GB, free: 216.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008/2.245, allocations: 9.507 MB / 1.027 GB, free: 208.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/2.255, allocations: 498.7 kB / 1.027 GB, free: 208.7 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00347/2.258, allocations: 0.7272 MB / 1.028 GB, free: 208.6 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.00537/2.264, allocations: 0.926 MB / 1.029 GB, free: 207.9 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00601/2.27, allocations: 1.072 MB / 1.03 GB, free: 207.9 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 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.02925/2.299, allocations: 13.69 MB / 1.043 GB, free: 203.9 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.182520927977748]