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.01081/0.01081, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001385/0.001385, allocations: 107.5 kB / 24.19 MB, free: 2.688 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.001771/0.001771, allocations: 209.2 kB / 27.92 MB, free: 4.027 MB / 19.63 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.555/1.555, allocations: 230.6 MB / 262.1 MB, free: 6 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.119/1.119, allocations: 130.7 MB / 449.7 MB, free: 6.797 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.05501/0.05501, allocations: 20.79 MB / 0.6357 GB, free: 5.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.2434, allocations: 81.91 MB / 0.7157 GB, free: 3.18 MB / 0.5294 GB 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.5629/0.8063, allocations: 69.51 MB / 0.7836 GB, free: 3.301 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06299/0.8693, allocations: 28.81 MB / 0.8118 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01316/0.8824, allocations: 213.5 kB / 0.812 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.8949, allocations: 3.931 MB / 0.8158 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0224/0.9173, allocations: 6.301 MB / 0.822 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01612/0.9334, allocations: 5.925 MB / 0.8277 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03608/0.9695, allocations: 17.42 MB / 0.8447 GB, free: 15.11 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.9818, allocations: 4.782 MB / 0.8494 GB, free: 10.23 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0163/0.9981, allocations: 6.926 MB / 0.8562 GB, free: 3.285 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01496/1.013, allocations: 7.148 MB / 0.8632 GB, free: 12.11 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005602/1.019, allocations: 1.141 MB / 0.8643 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/1.033, allocations: 3.744 MB / 0.8679 GB, free: 7.234 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007343/1.041, allocations: 3.475 MB / 0.8713 GB, free: 3.75 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01429/1.055, allocations: 5.823 MB / 0.877 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03598/1.091, allocations: 17.96 MB / 0.8946 GB, free: 11.87 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.091, allocations: 0 / 0.8946 GB, free: 11.87 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.314e-06/1.091, allocations: 3.938 kB / 0.8946 GB, free: 11.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006524/1.092, allocations: 2.656 kB / 0.8946 GB, free: 11.86 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.04336/1.135, allocations: 11.26 MB / 0.9056 GB, free: 0.543 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.622e-05/1.135, allocations: 10.66 kB / 0.9056 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004529/1.14, allocations: 1.015 MB / 0.9066 GB, free: 15.51 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/1.147, allocations: 1.402 MB / 0.9079 GB, free: 14.1 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02268/1.17, allocations: 7.911 MB / 0.9156 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007255/1.17, allocations: 443.7 kB / 0.9161 GB, free: 5.688 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/1.173, allocations: 0.5775 MB / 0.9166 GB, free: 5.113 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04393/1.217, allocations: 14.74 MB / 0.931 GB, free: 4.848 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004368/1.218, allocations: 67.38 kB / 0.9311 GB, free: 4.781 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002915/1.221, allocations: 292 kB / 0.9314 GB, free: 4.496 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000953/1.221, allocations: 489.9 kB / 0.9318 GB, free: 4.02 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03802/1.259, allocations: 11.74 MB / 0.9433 GB, free: 8.273 MB / 0.7169 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.105/1.365, allocations: 63.45 MB / 1.005 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02891/1.393, allocations: 9.398 MB / 1.014 GB, free: 13.36 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008897/1.402, allocations: 3.519 MB / 1.018 GB, free: 9.758 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/1.404, allocations: 442.6 kB / 1.018 GB, free: 9.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/1.405, allocations: 127 kB / 1.018 GB, free: 9.207 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1085): time 1.543e-05/1.405, allocations: 0 / 1.018 GB, free: 9.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=1086): time 0.4476/1.852, allocations: 64.56 MB / 1.081 GB, free: 330.7 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003138/1.853, allocations: 1.461 MB / 1.083 GB, free: 329 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/1.865, allocations: 7.272 MB / 1.09 GB, free: 326.3 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002343/1.868, allocations: 109.4 kB / 1.09 GB, free: 326.2 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.87, allocations: 3.859 MB / 1.094 GB, free: 323.6 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.00372/1.874, allocations: 3.712 MB / 1.098 GB, free: 321.1 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003441/1.877, allocations: 2.357 MB / 1.1 GB, free: 320.2 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/1.877, allocations: 305.1 kB / 1.1 GB, free: 319.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007443/1.885, allocations: 4.842 MB / 1.105 GB, free: 317.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009103/1.894, allocations: 8.17 MB / 1.113 GB, free: 311.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/1.912, allocations: 13.98 MB / 1.126 GB, free: 302.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-05/1.912, allocations: 35.38 kB / 1.126 GB, free: 302.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03264/1.944, allocations: 15.67 MB / 1.142 GB, free: 286.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.945, allocations: 44 kB / 1.142 GB, free: 286.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03147/1.976, allocations: 12.68 MB / 1.154 GB, free: 273.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08345/2.06, allocations: 7.993 MB / 1.162 GB, free: 266.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/2.071, allocations: 2.921 MB / 1.165 GB, free: 263.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/2.083, allocations: 9.976 MB / 1.175 GB, free: 252.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/2.093, allocations: 0.5382 MB / 1.175 GB, free: 252.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002627/2.096, allocations: 0.7299 MB / 1.176 GB, free: 251.6 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01511/2.111, allocations: 6.715 MB / 1.182 GB, free: 244.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01075/2.122, allocations: 8.085 MB / 1.19 GB, free: 235.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01753/2.139, allocations: 13.82 MB / 1.204 GB, free: 220.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.777e-05/2.14, allocations: 35.94 kB / 1.204 GB, free: 220.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.02524/2.165, allocations: 14.75 MB / 1.218 GB, free: 205.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/2.165, allocations: 48 kB / 1.218 GB, free: 205.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01716/2.182, allocations: 11.06 MB / 1.229 GB, free: 194.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/2.184, allocations: 0.8566 MB / 1.23 GB, free: 193.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009501/2.194, allocations: 2.999 MB / 1.233 GB, free: 190.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007718/2.201, allocations: 8.18 MB / 1.241 GB, free: 181.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008262/2.21, allocations: 0.5323 MB / 1.241 GB, free: 181.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/2.212, allocations: 0.7276 MB / 1.242 GB, free: 180.6 MB / 0.8263 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.003761/2.215, allocations: 0.8437 MB / 1.243 GB, free: 179.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004071/2.219, allocations: 0.9426 MB / 1.244 GB, free: 178.9 MB / 0.8263 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.02673/2.246, allocations: 13.77 MB / 1.257 GB, free: 165.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.310665322933346] Failed to read output from testmodel.py, exit status != 0: 2.4123432331252843 2.424066723 1.330119138 Calling exit ...