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.01055/0.01055, allocations: 1.772 MB / 18.12 MB, free: 4.906 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.001589/0.001589, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.002425/0.002425, allocations: 212 kB / 24.75 MB, free: 3.719 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.559/1.559, allocations: 230.6 MB / 258.5 MB, free: 13.09 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.129/1.129, allocations: 130.6 MB / 445.6 MB, free: 15 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Fittings_Check_Test_SprayInjector",fmuType="me",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.4308/0.4308, allocations: 46.15 MB / 0.6545 GB, free: 30.32 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.6371, allocations: 89.05 MB / 0.7414 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector): time 0.04568/0.6828, allocations: 36.53 MB / 0.7771 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05463/0.7375, allocations: 28.51 MB / 0.805 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01002/0.7475, allocations: 222.3 kB / 0.8052 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.7595, allocations: 3.86 MB / 0.8089 GB, free: 13.39 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02166/0.7811, allocations: 6.202 MB / 0.815 GB, free: 7.156 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01638/0.7975, allocations: 5.81 MB / 0.8207 GB, free: 1.344 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02823/0.8257, allocations: 17.39 MB / 0.8376 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.8368, allocations: 4.992 MB / 0.8425 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01616/0.853, allocations: 6.922 MB / 0.8493 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01509/0.8681, allocations: 7.104 MB / 0.8562 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006487/0.8745, allocations: 1.145 MB / 0.8573 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/0.8897, allocations: 3.526 MB / 0.8608 GB, free: 8.078 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00749/0.8972, allocations: 3.469 MB / 0.8642 GB, free: 4.598 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.5118/1.409, allocations: 5.816 MB / 0.8698 GB, free: 36.94 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03545/1.444, allocations: 17.9 MB / 0.8873 GB, free: 35.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.444, allocations: 0 / 0.8873 GB, free: 35.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.384e-06/1.444, allocations: 0.7812 kB / 0.8873 GB, free: 35.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007424/1.445, allocations: 0 / 0.8873 GB, free: 35.98 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.04074/1.486, allocations: 11.33 MB / 0.8984 GB, free: 31.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.486, allocations: 8.375 kB / 0.8984 GB, free: 31.34 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004711/1.491, allocations: 1.017 MB / 0.8994 GB, free: 31.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00911/1.5, allocations: 1.411 MB / 0.9008 GB, free: 30.59 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02447/1.524, allocations: 8.149 MB / 0.9087 GB, free: 29.11 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007098/1.525, allocations: 449.1 kB / 0.9092 GB, free: 29.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003699/1.529, allocations: 0.5774 MB / 0.9097 GB, free: 29.09 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04215/1.571, allocations: 14.74 MB / 0.9241 GB, free: 24.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/1.571, allocations: 71.06 kB / 0.9242 GB, free: 24.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/1.572, allocations: 293.7 kB / 0.9245 GB, free: 24.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005764/1.573, allocations: 482.6 kB / 0.9249 GB, free: 24.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03391/1.607, allocations: 11.75 MB / 0.9364 GB, free: 19.88 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.0968/1.703, allocations: 63.56 MB / 0.9985 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0281/1.732, allocations: 9.476 MB / 1.008 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009902/1.741, allocations: 3.523 MB / 1.011 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00212/1.744, allocations: 0.5809 MB / 1.012 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/1.744, allocations: 130.3 kB / 1.012 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1085): time 8.536e-06/1.744, allocations: 0 / 1.012 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1086): time 0.1702/1.914, allocations: 65.24 MB / 1.076 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008956/1.915, allocations: 1.464 MB / 1.077 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01643/1.931, allocations: 7.264 MB / 1.084 GB, free: 11.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002929/1.934, allocations: 113.7 kB / 1.084 GB, free: 10.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.004599/1.939, allocations: 3.856 MB / 1.088 GB, free: 7.062 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00772/1.946, allocations: 3.717 MB / 1.092 GB, free: 3.398 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007493/1.954, allocations: 2.364 MB / 1.094 GB, free: 1.023 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.954, allocations: 301.1 kB / 1.094 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/1.965, allocations: 4.84 MB / 1.099 GB, free: 11.88 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01626/1.981, allocations: 8.176 MB / 1.107 GB, free: 2.375 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02903/2.01, allocations: 13.97 MB / 1.121 GB, free: 3.543 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/2.01, allocations: 35.94 kB / 1.121 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.05107/2.061, allocations: 15.66 MB / 1.136 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/2.062, allocations: 51.28 kB / 1.136 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04451/2.106, allocations: 12.68 MB / 1.148 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09293/2.199, allocations: 7.987 MB / 1.156 GB, free: 15.82 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01321/2.212, allocations: 2.927 MB / 1.159 GB, free: 13.08 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/2.228, allocations: 10.17 MB / 1.169 GB, free: 2.562 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/2.239, allocations: 0.5429 MB / 1.169 GB, free: 2.02 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003366/2.242, allocations: 0.7299 MB / 1.17 GB, free: 1.289 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0183/2.26, allocations: 6.715 MB / 1.177 GB, free: 10.56 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0163/2.277, allocations: 8.09 MB / 1.185 GB, free: 1.055 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02707/2.304, allocations: 13.81 MB / 1.198 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000112/2.304, allocations: 29.02 kB / 1.198 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.5214/2.825, allocations: 14.75 MB / 1.213 GB, free: 324.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/2.825, allocations: 49.03 kB / 1.213 GB, free: 324.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02914/2.854, allocations: 11.06 MB / 1.223 GB, free: 320.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/2.857, allocations: 0.8576 MB / 1.224 GB, free: 320.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/2.87, allocations: 3.001 MB / 1.227 GB, free: 320 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008987/2.879, allocations: 8.507 MB / 1.235 GB, free: 313.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.889, allocations: 0.5275 MB / 1.236 GB, free: 313 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00316/2.892, allocations: 0.7284 MB / 1.237 GB, free: 312.9 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.004991/2.897, allocations: 0.8396 MB / 1.237 GB, free: 312.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006989/2.904, allocations: 0.9442 MB / 1.238 GB, free: 312.5 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.031/2.935, allocations: 13.77 MB / 1.252 GB, free: 308 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.728275023007882] Failed to read output from testmodel.py, exit status != 0: 2.943475498002954 2.954162234 1.5055874120000001 Calling exit ...