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.0176/0.0176, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001831/0.001831, allocations: 78.89 kB / 24.88 MB, free: 6.828 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.001961/0.001961, allocations: 177 kB / 28.74 MB, free: 3.656 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.512/1.512, allocations: 177.1 MB / 209.6 MB, free: 2.379 MB / 186.7 MB " [Timeout remaining time 178] 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 1.152/1.152, allocations: 102.5 MB / 369.1 MB, free: 0.9062 MB / 330.8 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.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_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_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 469.1 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.729e-05, allocations: 4 kB / 469.1 MB, free: 13.01 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.4859/0.4859, allocations: 83.13 MB / 0.5393 GB, free: 63.63 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0543/0.5402, allocations: 28.31 MB / 0.567 GB, free: 43.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.553, allocations: 215.7 kB / 0.5672 GB, free: 43.82 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01458/0.5676, allocations: 3.799 MB / 0.5709 GB, free: 41.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02217/0.5898, allocations: 6.486 MB / 0.5772 GB, free: 37.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01493/0.6047, allocations: 5.989 MB / 0.5831 GB, free: 33.42 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02672/0.6314, allocations: 17.84 MB / 0.6005 GB, free: 19.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009863/0.6413, allocations: 5.357 MB / 0.6057 GB, free: 14.18 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02408/0.6654, allocations: 9.487 MB / 0.615 GB, free: 4.672 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/0.6789, allocations: 6.05 MB / 0.6209 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.005232/0.6841, allocations: 1.147 MB / 0.622 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.6971, allocations: 2.944 MB / 0.6249 GB, free: 10.52 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.007845/0.705, allocations: 3.586 MB / 0.6284 GB, free: 6.922 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.01508/0.7201, allocations: 3.71 MB / 0.632 GB, free: 3.203 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03995/0.76, allocations: 17.87 MB / 0.6495 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.76, allocations: 0 / 0.6495 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/0.76, allocations: 0 / 0.6495 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006632/0.7607, allocations: 0 / 0.6495 GB, free: 1.281 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.04059/0.8013, allocations: 12.68 MB / 0.6619 GB, free: 4.527 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.8013, allocations: 10.69 kB / 0.6619 GB, free: 4.52 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009303/0.8106, allocations: 1.871 MB / 0.6637 GB, free: 2.645 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/0.832, allocations: 7.543 MB / 0.6711 GB, free: 11.04 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006638/0.8326, allocations: 448.1 kB / 0.6715 GB, free: 10.61 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/0.8355, allocations: 0.6018 MB / 0.6721 GB, free: 10 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04616/0.8816, allocations: 17.83 MB / 0.6895 GB, free: 5.434 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/0.8819, allocations: 71.31 kB / 0.6896 GB, free: 5.363 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001784/0.8837, allocations: 288 kB / 0.6898 GB, free: 5.082 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007386/0.8844, allocations: 484.6 kB / 0.6903 GB, free: 4.605 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03485/0.9193, allocations: 10.27 MB / 0.7003 GB, free: 10.33 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.3772/1.296, allocations: 89.41 MB / 0.7876 GB, free: 116.3 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.32, allocations: 8.79 MB / 0.7962 GB, free: 115.3 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008055/1.328, allocations: 2.888 MB / 0.799 GB, free: 114.1 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/1.33, allocations: 419.2 kB / 0.7994 GB, free: 114.1 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/1.33, allocations: 124.8 kB / 0.7996 GB, free: 114 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1085): time 1.109e-05/1.33, allocations: 2.031 kB / 0.7996 GB, free: 114 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1086): time 0.1239/1.454, allocations: 62.86 MB / 0.861 GB, free: 73.96 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003346/1.454, allocations: 1.457 MB / 0.8624 GB, free: 72.18 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01254/1.467, allocations: 9.122 MB / 0.8713 GB, free: 64.27 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002289/1.469, allocations: 109.7 kB / 0.8714 GB, free: 64.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003111/1.472, allocations: 4.544 MB / 0.8758 GB, free: 60.34 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005441/1.478, allocations: 4.098 MB / 0.8798 GB, free: 56.45 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005428/1.483, allocations: 2.953 MB / 0.8827 GB, free: 53.48 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/1.483, allocations: 476.8 kB / 0.8832 GB, free: 53.01 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00697/1.49, allocations: 4.256 MB / 0.8873 GB, free: 48.74 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009945/1.5, allocations: 10.18 MB / 0.8973 GB, free: 36.44 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/1.52, allocations: 14.79 MB / 0.9117 GB, free: 19.96 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/1.52, allocations: 28 kB / 0.9117 GB, free: 19.94 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03299/1.553, allocations: 15.02 MB / 0.9264 GB, free: 4.996 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/1.553, allocations: 48 kB / 0.9264 GB, free: 4.949 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03969/1.593, allocations: 11.34 MB / 0.9375 GB, free: 9.699 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09269/1.685, allocations: 7.897 MB / 0.9452 GB, free: 2.172 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01264/1.698, allocations: 2.906 MB / 0.9481 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/1.714, allocations: 11.82 MB / 0.9596 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008613/1.722, allocations: 0.4973 MB / 0.9601 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002824/1.725, allocations: 0.7377 MB / 0.9608 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01582/1.741, allocations: 5.537 MB / 0.9662 GB, free: 12.27 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01751/1.758, allocations: 10.09 MB / 0.9761 GB, free: 16 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2668/2.025, allocations: 14.65 MB / 0.9904 GB, free: 217.8 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001643/2.025, allocations: 30.84 kB / 0.9904 GB, free: 217.8 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03024/2.056, allocations: 14.09 MB / 1.004 GB, free: 216.9 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/2.056, allocations: 51.38 kB / 1.004 GB, free: 216.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02491/2.081, allocations: 9.765 MB / 1.014 GB, free: 216.6 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/2.083, allocations: 0.8039 MB / 1.015 GB, free: 216.5 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01101/2.094, allocations: 2.983 MB / 1.017 GB, free: 216.3 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/2.102, allocations: 9.508 MB / 1.027 GB, free: 208.7 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008386/2.11, allocations: 495.4 kB / 1.027 GB, free: 208.5 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002673/2.113, allocations: 0.7235 MB / 1.028 GB, free: 208.4 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.004439/2.117, allocations: 0.9328 MB / 1.029 GB, free: 207.7 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005476/2.123, allocations: 1.076 MB / 1.03 GB, free: 207.6 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.02605/2.149, allocations: 13.68 MB / 1.043 GB, free: 203.7 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.871101193944924]