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.0085/0.0085, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0008729/0.0008729, allocations: 86.12 kB / 25.62 MB, free: 6.988 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.0009301/0.0009301, allocations: 167 kB / 29.46 MB, free: 3.191 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.8914/0.8914, allocations: 177.2 MB / 210.3 MB, free: 3.598 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.5996/0.5996, allocations: 102.5 MB / 369.8 MB, free: 396 kB / 330.7 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.532e-06/1.532e-06, allocations: 0 / 469.9 MB, free: 19.08 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.596e-05, allocations: 4.969 kB / 469.9 MB, free: 19.08 MB / 410.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.1209/0.1209, allocations: 85.43 MB / 0.5423 GB, free: 2.793 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0321/0.153, allocations: 28.4 MB / 0.57 GB, free: 6.316 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004208/0.1572, allocations: 214.4 kB / 0.5702 GB, free: 6.105 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005119/0.1623, allocations: 3.804 MB / 0.574 GB, free: 2.281 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008168/0.1705, allocations: 6.481 MB / 0.5803 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.1781, allocations: 5.989 MB / 0.5861 GB, free: 5.762 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.01525/0.1934, allocations: 17.85 MB / 0.6036 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006182/0.1996, allocations: 5.353 MB / 0.6088 GB, free: 14.42 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.2096, allocations: 9.491 MB / 0.6181 GB, free: 4.906 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006499/0.2161, allocations: 6.049 MB / 0.624 GB, free: 14.84 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.2175, allocations: 1.141 MB / 0.6251 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.2217, allocations: 2.948 MB / 0.628 GB, free: 10.75 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.2238, allocations: 3.582 MB / 0.6315 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003008/0.2268, allocations: 3.71 MB / 0.6351 GB, free: 3.434 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.2368, allocations: 10.81 MB / 0.6456 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2368, allocations: 0 / 0.6456 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2368, allocations: 0 / 0.6456 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0001258/0.237, allocations: 0 / 0.6456 GB, free: 8.586 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.1684/0.4054, allocations: 11.55 MB / 0.6569 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4054, allocations: 10.84 kB / 0.6569 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/0.4082, allocations: 1.873 MB / 0.6588 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007379/0.4156, allocations: 7.439 MB / 0.666 GB, free: 147.4 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.4158, allocations: 450.7 kB / 0.6665 GB, free: 147.2 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/0.4164, allocations: 0.6078 MB / 0.667 GB, free: 147 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/0.4382, allocations: 14.45 MB / 0.6812 GB, free: 136.6 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.4384, allocations: 69.47 kB / 0.6812 GB, free: 136.5 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006498/0.4391, allocations: 296.2 kB / 0.6815 GB, free: 136.4 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004326/0.4395, allocations: 483.7 kB / 0.682 GB, free: 136.3 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.4579, allocations: 6.907 MB / 0.6887 GB, free: 133.8 MB / 0.5574 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.0374/0.4953, allocations: 76.12 MB / 0.763 GB, free: 62.81 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.507, allocations: 6.743 MB / 0.7696 GB, free: 58.69 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/0.5096, allocations: 1.805 MB / 0.7714 GB, free: 56.77 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00073/0.5104, allocations: 416.2 kB / 0.7718 GB, free: 56.36 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/0.5104, allocations: 121.8 kB / 0.7719 GB, free: 56.23 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=1085): time 8.837e-06/0.5104, allocations: 0 / 0.7719 GB, free: 56.23 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1086): time 0.06036/0.5708, allocations: 54.75 MB / 0.8254 GB, free: 1.598 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002096/0.571, allocations: 1.468 MB / 0.8268 GB, free: 15.79 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007368/0.5784, allocations: 6.413 MB / 0.8331 GB, free: 9.375 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000994/0.5794, allocations: 113.7 kB / 0.8332 GB, free: 9.258 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.5816, allocations: 4.089 MB / 0.8372 GB, free: 5.172 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002799/0.5844, allocations: 3.754 MB / 0.8408 GB, free: 1.469 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002665/0.587, allocations: 2.478 MB / 0.8433 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.5871, allocations: 476.8 kB / 0.8437 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/0.5909, allocations: 2.189 MB / 0.8459 GB, free: 12.3 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006413/0.5973, allocations: 7.601 MB / 0.8533 GB, free: 2.527 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.6079, allocations: 9.808 MB / 0.8629 GB, free: 6.957 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.957e-05/0.6079, allocations: 28 kB / 0.8629 GB, free: 6.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.01684/0.6248, allocations: 10.55 MB / 0.8732 GB, free: 12.45 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.6248, allocations: 48.78 kB / 0.8732 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01365/0.6385, allocations: 7.606 MB / 0.8807 GB, free: 4.887 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2092/0.8476, allocations: 7.529 MB / 0.888 GB, free: 189.3 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006422/0.8541, allocations: 2.905 MB / 0.8908 GB, free: 189.3 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/0.8595, allocations: 10.46 MB / 0.9011 GB, free: 180.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/0.8641, allocations: 0.4945 MB / 0.9015 GB, free: 180.5 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009121/0.865, allocations: 0.7315 MB / 0.9023 GB, free: 180.5 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005658/0.8707, allocations: 2.364 MB / 0.9046 GB, free: 180.4 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005953/0.8766, allocations: 7.559 MB / 0.9119 GB, free: 173.8 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009552/0.8862, allocations: 9.739 MB / 0.9215 GB, free: 167.9 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.629e-05/0.8862, allocations: 30.59 kB / 0.9215 GB, free: 167.9 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.0154/0.9016, allocations: 9.906 MB / 0.9312 GB, free: 166.9 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.9017, allocations: 47.59 kB / 0.9312 GB, free: 166.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009277/0.911, allocations: 6.239 MB / 0.9373 GB, free: 166.2 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.9123, allocations: 0.6808 MB / 0.938 GB, free: 166.1 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/0.9175, allocations: 2.978 MB / 0.9409 GB, free: 165.8 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.9212, allocations: 8.646 MB / 0.9493 GB, free: 157.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/0.9249, allocations: 491.4 kB / 0.9498 GB, free: 157.7 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007383/0.9256, allocations: 0.7276 MB / 0.9505 GB, free: 157.6 MB / 0.6199 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.001933/0.9276, allocations: 0.9241 MB / 0.9514 GB, free: 156.9 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001816/0.9294, allocations: 1.076 MB / 0.9524 GB, free: 156.8 MB / 0.6199 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.01175/0.9411, allocations: 11.95 MB / 0.9641 GB, free: 147.3 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.373928579967469]