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.01568/0.01568, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001635/0.001635, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.00176/0.00176, allocations: 213.7 kB / 25.45 MB, free: 2.797 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.466/1.466, allocations: 230.6 MB / 259.2 MB, free: 13.12 MB / 206.1 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.1/1.1, allocations: 130.6 MB / 446.3 MB, free: 15.02 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_SprayInjector",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_SprayInjector",fmuType="cs",version="2.0",platforms={"static"}) [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.4/0.4, allocations: 46.14 MB / 0.6552 GB, free: 30.27 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.5869, allocations: 89.05 MB / 0.7421 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector): time 0.03972/0.6266, allocations: 36.54 MB / 0.7778 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05058/0.6772, allocations: 28.49 MB / 0.8056 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009343/0.6866, allocations: 214.4 kB / 0.8058 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.6975, allocations: 3.875 MB / 0.8096 GB, free: 13.38 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.0198/0.7173, allocations: 6.199 MB / 0.8157 GB, free: 7.148 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.7331, allocations: 5.814 MB / 0.8214 GB, free: 1.332 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.0275/0.7606, allocations: 17.37 MB / 0.8383 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.7712, allocations: 4.992 MB / 0.8432 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01556/0.7867, allocations: 6.918 MB / 0.85 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01451/0.8012, allocations: 7.111 MB / 0.8569 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005503/0.8067, allocations: 1.141 MB / 0.858 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/0.8196, allocations: 3.533 MB / 0.8615 GB, free: 8.074 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006866/0.8264, allocations: 3.465 MB / 0.8649 GB, free: 4.598 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.4193/1.246, allocations: 5.816 MB / 0.8705 GB, free: 36.97 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02721/1.273, allocations: 17.9 MB / 0.888 GB, free: 36.01 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.273, allocations: 0 / 0.888 GB, free: 36.01 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/1.273, allocations: 0 / 0.888 GB, free: 36.01 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005655/1.274, allocations: 3.781 kB / 0.888 GB, free: 36.01 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.03092/1.304, allocations: 11.33 MB / 0.8991 GB, free: 31.38 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.304, allocations: 9.703 kB / 0.8991 GB, free: 31.38 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001815/1.305, allocations: 178.3 kB / 0.8993 GB, free: 31.36 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002362/1.307, allocations: 1.015 MB / 0.9003 GB, free: 31.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/1.312, allocations: 1.412 MB / 0.9016 GB, free: 30.61 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/1.329, allocations: 8.157 MB / 0.9096 GB, free: 29.13 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005094/1.33, allocations: 449.7 kB / 0.91 GB, free: 29.12 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/1.332, allocations: 0.5681 MB / 0.9106 GB, free: 29.11 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03911/1.371, allocations: 14.74 MB / 0.925 GB, free: 24.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/1.371, allocations: 74.91 kB / 0.9251 GB, free: 24.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/1.372, allocations: 291.2 kB / 0.9253 GB, free: 24.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005606/1.373, allocations: 481.2 kB / 0.9258 GB, free: 24.44 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/1.404, allocations: 11.75 MB / 0.9373 GB, free: 19.87 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.07688/1.481, allocations: 63.56 MB / 0.9993 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02602/1.507, allocations: 9.475 MB / 1.009 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008049/1.515, allocations: 3.524 MB / 1.012 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/1.517, allocations: 0.5799 MB / 1.013 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/1.517, allocations: 128.8 kB / 1.013 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1085): time 8.316e-06/1.517, allocations: 0 / 1.013 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1086): time 0.163/1.68, allocations: 65.24 MB / 1.076 GB, free: 4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008693/1.681, allocations: 1.456 MB / 1.078 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01616/1.697, allocations: 7.269 MB / 1.085 GB, free: 10.96 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002686/1.699, allocations: 114.5 kB / 1.085 GB, free: 10.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.004255/1.704, allocations: 3.851 MB / 1.089 GB, free: 7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.006325/1.71, allocations: 3.721 MB / 1.092 GB, free: 3.336 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01003/1.72, allocations: 2.361 MB / 1.095 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.72, allocations: 301.1 kB / 1.095 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/1.732, allocations: 4.84 MB / 1.1 GB, free: 11.81 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01715/1.749, allocations: 8.173 MB / 1.108 GB, free: 2.316 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03016/1.779, allocations: 13.98 MB / 1.121 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.779, allocations: 28 kB / 1.121 GB, free: 3.465 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.04349/1.823, allocations: 15.67 MB / 1.137 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/1.823, allocations: 49.88 kB / 1.137 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03837/1.861, allocations: 12.69 MB / 1.149 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08814/1.95, allocations: 7.977 MB / 1.157 GB, free: 15.77 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01229/1.962, allocations: 2.926 MB / 1.16 GB, free: 13.02 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.976, allocations: 10.18 MB / 1.17 GB, free: 2.504 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/1.986, allocations: 0.5459 MB / 1.17 GB, free: 1.957 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003277/1.989, allocations: 0.7338 MB / 1.171 GB, free: 1.223 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0179/2.007, allocations: 6.708 MB / 1.178 GB, free: 10.5 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01673/2.024, allocations: 8.093 MB / 1.185 GB, free: 0.9961 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03005/2.054, allocations: 13.82 MB / 1.199 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.951e-05/2.054, allocations: 28 kB / 1.199 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.4434/2.498, allocations: 14.74 MB / 1.213 GB, free: 324.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/2.498, allocations: 49.75 kB / 1.213 GB, free: 324.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03353/2.531, allocations: 11.07 MB / 1.224 GB, free: 320.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/2.534, allocations: 0.8507 MB / 1.225 GB, free: 320 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/2.548, allocations: 3.006 MB / 1.228 GB, free: 320 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009785/2.557, allocations: 8.5 MB / 1.236 GB, free: 313.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/2.568, allocations: 0.5353 MB / 1.237 GB, free: 312.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00374/2.572, allocations: 0.7233 MB / 1.238 GB, free: 312.8 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.006749/2.579, allocations: 0.8409 MB / 1.238 GB, free: 312.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006252/2.585, allocations: 0.946 MB / 1.239 GB, free: 312.4 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.03384/2.619, allocations: 13.77 MB / 1.253 GB, free: 307.9 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.16985265299445] Failed to read output from testmodel.py, exit status != 0: 2.6293705119751394 2.640302485 1.362713369 Calling exit ...