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.01555/0.01555, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001717/0.001717, allocations: 101.6 kB / 24.18 MB, free: 2.184 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.00235/0.00235, allocations: 217.9 kB / 27.9 MB, free: 3.504 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.428/1.428, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.047/1.047, allocations: 130.7 MB / 449.6 MB, free: 6.395 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.0657/0.0657, allocations: 20.98 MB / 0.6358 GB, free: 4.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.245, allocations: 81.91 MB / 0.7158 GB, free: 2.699 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.5713/0.8163, allocations: 64.42 MB / 0.7787 GB, free: 8.145 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05532/0.8717, allocations: 27.78 MB / 0.8059 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01324/0.8849, allocations: 214.6 kB / 0.8061 GB, free: 3.508 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01304/0.8979, allocations: 3.779 MB / 0.8098 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02377/0.9217, allocations: 6.304 MB / 0.8159 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01721/0.9389, allocations: 5.915 MB / 0.8217 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03112/0.9701, allocations: 17.39 MB / 0.8387 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.9825, allocations: 5.085 MB / 0.8437 GB, free: 15.58 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01697/0.9994, allocations: 6.953 MB / 0.8504 GB, free: 8.602 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01505/1.014, allocations: 6.781 MB / 0.8571 GB, free: 1.797 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.005308/1.02, allocations: 1.141 MB / 0.8582 GB, free: 0.6562 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/1.032, allocations: 2.91 MB / 0.861 GB, free: 13.75 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007502/1.039, allocations: 3.481 MB / 0.8644 GB, free: 10.26 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01309/1.052, allocations: 4.496 MB / 0.8688 GB, free: 5.742 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03926/1.091, allocations: 17.87 MB / 0.8863 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.091, allocations: 0 / 0.8863 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/1.091, allocations: 4 kB / 0.8863 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0007954/1.092, allocations: 2.688 kB / 0.8863 GB, free: 3.805 MB / 0.6544 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.03536/1.128, allocations: 11.25 MB / 0.8973 GB, free: 8.496 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.128, allocations: 12.03 kB / 0.8973 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003654/1.131, allocations: 1.021 MB / 0.8983 GB, free: 7.453 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006519/1.138, allocations: 1.409 MB / 0.8996 GB, free: 6.039 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/1.158, allocations: 7.911 MB / 0.9074 GB, free: 14.06 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005015/1.158, allocations: 447.7 kB / 0.9078 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/1.16, allocations: 0.5702 MB / 0.9083 GB, free: 13.05 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0366/1.197, allocations: 16.69 MB / 0.9246 GB, free: 10.22 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/1.197, allocations: 67.38 kB / 0.9247 GB, free: 10.16 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008171/1.198, allocations: 292 kB / 0.925 GB, free: 9.871 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006/1.198, allocations: 480.6 kB / 0.9254 GB, free: 9.398 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03206/1.23, allocations: 11.7 MB / 0.9369 GB, free: 13.69 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.08858/1.319, allocations: 59.86 MB / 0.9953 GB, free: 56 kB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02859/1.348, allocations: 9.376 MB / 1.004 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008639/1.356, allocations: 3.513 MB / 1.008 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/1.358, allocations: 403.2 kB / 1.008 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/1.358, allocations: 125.6 kB / 1.008 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1085): time 1.453e-05/1.358, allocations: 0 / 1.008 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1086): time 0.4582/1.817, allocations: 64.56 MB / 1.071 GB, free: 341 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003729/1.817, allocations: 1.464 MB / 1.073 GB, free: 339.2 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/1.829, allocations: 7.428 MB / 1.08 GB, free: 336.6 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002004/1.831, allocations: 117.7 kB / 1.08 GB, free: 336.5 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002342/1.834, allocations: 3.856 MB / 1.084 GB, free: 333.8 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.00401/1.838, allocations: 3.718 MB / 1.088 GB, free: 331.3 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004875/1.843, allocations: 2.357 MB / 1.09 GB, free: 330.5 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.302e-05/1.843, allocations: 305.1 kB / 1.09 GB, free: 330.2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00846/1.851, allocations: 4.84 MB / 1.095 GB, free: 328.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/1.865, allocations: 8.832 MB / 1.104 GB, free: 321.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02305/1.888, allocations: 13.97 MB / 1.117 GB, free: 309.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/1.888, allocations: 31.47 kB / 1.117 GB, free: 309.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03892/1.927, allocations: 15.68 MB / 1.133 GB, free: 294.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.927, allocations: 48 kB / 1.133 GB, free: 294.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03485/1.962, allocations: 12.69 MB / 1.145 GB, free: 281.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08172/2.043, allocations: 7.983 MB / 1.153 GB, free: 274.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/2.054, allocations: 2.922 MB / 1.156 GB, free: 271.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/2.065, allocations: 9.931 MB / 1.165 GB, free: 260.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/2.076, allocations: 0.5417 MB / 1.166 GB, free: 260.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00314/2.079, allocations: 0.7339 MB / 1.167 GB, free: 259.6 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01708/2.096, allocations: 6.715 MB / 1.173 GB, free: 252.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01295/2.109, allocations: 8.744 MB / 1.182 GB, free: 242.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02266/2.131, allocations: 13.82 MB / 1.195 GB, free: 227.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001217/2.131, allocations: 28 kB / 1.195 GB, free: 227.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03583/2.167, allocations: 14.75 MB / 1.21 GB, free: 212.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/2.167, allocations: 52.88 kB / 1.21 GB, free: 212.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02545/2.193, allocations: 11.07 MB / 1.221 GB, free: 201.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/2.195, allocations: 0.8516 MB / 1.221 GB, free: 200.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/2.206, allocations: 3.003 MB / 1.224 GB, free: 197.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008171/2.215, allocations: 8.143 MB / 1.232 GB, free: 189 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009658/2.224, allocations: 0.5337 MB / 1.233 GB, free: 188.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00288/2.227, allocations: 0.7222 MB / 1.233 GB, free: 187.8 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.004863/2.232, allocations: 0.8318 MB / 1.234 GB, free: 187 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004802/2.237, allocations: 0.9466 MB / 1.235 GB, free: 186.1 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.02801/2.265, allocations: 13.83 MB / 1.249 GB, free: 172.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.080930753145367] Failed to read output from testmodel.py, exit status != 0: 2.415009711869061 2.425057012 1.330980427 Calling exit ...