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.01519/0.01519, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001268/0.001268, allocations: 100.7 kB / 24.18 MB, free: 2.434 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.001499/0.001499, allocations: 215.1 kB / 27.9 MB, free: 3.742 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.441/1.441, allocations: 230.6 MB / 262.1 MB, free: 5.828 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.057/1.057, allocations: 130.7 MB / 449.6 MB, free: 6.438 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.0646/0.0646, allocations: 20.99 MB / 0.6359 GB, free: 4.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.2277, allocations: 81.89 MB / 0.7158 GB, free: 2.703 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.5418/0.7695, allocations: 64.43 MB / 0.7787 GB, free: 8.152 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0548/0.8243, allocations: 27.78 MB / 0.8059 GB, free: 3.582 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/0.8369, allocations: 212.1 kB / 0.8061 GB, free: 3.48 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01288/0.8498, allocations: 3.78 MB / 0.8098 GB, free: 0.8008 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02369/0.8735, allocations: 6.302 MB / 0.8159 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.8905, allocations: 5.92 MB / 0.8217 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03142/0.9219, allocations: 17.39 MB / 0.8387 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01405/0.9359, allocations: 5.089 MB / 0.8437 GB, free: 15.57 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01716/0.9531, allocations: 6.949 MB / 0.8504 GB, free: 8.594 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01504/0.9681, allocations: 6.777 MB / 0.8571 GB, free: 1.793 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.005117/0.9733, allocations: 1.141 MB / 0.8582 GB, free: 0.6523 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.9842, allocations: 2.909 MB / 0.861 GB, free: 13.74 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006817/0.991, allocations: 3.484 MB / 0.8644 GB, free: 10.25 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01232/1.003, allocations: 4.489 MB / 0.8688 GB, free: 5.738 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03329/1.037, allocations: 17.88 MB / 0.8863 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.037, allocations: 0 / 0.8863 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/1.037, allocations: 0 / 0.8863 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000638/1.037, allocations: 4.531 kB / 0.8863 GB, free: 3.797 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.03492/1.072, allocations: 11.25 MB / 0.8973 GB, free: 8.477 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/1.072, allocations: 8.031 kB / 0.8973 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002959/1.075, allocations: 1.021 MB / 0.8983 GB, free: 7.438 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/1.081, allocations: 1.402 MB / 0.8996 GB, free: 6.031 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.099, allocations: 7.913 MB / 0.9074 GB, free: 14.05 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005074/1.1, allocations: 447.7 kB / 0.9078 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/1.102, allocations: 0.5702 MB / 0.9083 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/1.14, allocations: 16.69 MB / 0.9246 GB, free: 10.21 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/1.14, allocations: 71.31 kB / 0.9247 GB, free: 10.14 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008197/1.141, allocations: 296 kB / 0.925 GB, free: 9.855 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005751/1.141, allocations: 480.6 kB / 0.9255 GB, free: 9.383 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03268/1.174, allocations: 11.7 MB / 0.9369 GB, free: 13.68 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.08433/1.258, allocations: 59.86 MB / 0.9953 GB, free: 44 kB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02662/1.285, allocations: 9.374 MB / 1.004 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008058/1.293, allocations: 3.52 MB / 1.008 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/1.295, allocations: 398.9 kB / 1.008 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/1.295, allocations: 122.9 kB / 1.008 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1085): time 9.358e-06/1.295, allocations: 0 / 1.008 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1086): time 0.4492/1.744, allocations: 64.56 MB / 1.071 GB, free: 341.1 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003436/1.745, allocations: 1.464 MB / 1.073 GB, free: 339.3 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.756, allocations: 7.43 MB / 1.08 GB, free: 336.6 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001892/1.758, allocations: 109.9 kB / 1.08 GB, free: 336.5 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/1.76, allocations: 3.867 MB / 1.084 GB, free: 333.9 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004103/1.764, allocations: 3.714 MB / 1.088 GB, free: 331.4 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004017/1.768, allocations: 2.358 MB / 1.09 GB, free: 330.5 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/1.768, allocations: 301.1 kB / 1.09 GB, free: 330.2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007426/1.776, allocations: 4.846 MB / 1.095 GB, free: 328.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009448/1.785, allocations: 8.83 MB / 1.104 GB, free: 321.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01859/1.804, allocations: 13.98 MB / 1.117 GB, free: 309.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.027e-05/1.804, allocations: 28 kB / 1.117 GB, free: 309.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03008/1.834, allocations: 15.67 MB / 1.133 GB, free: 294.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/1.834, allocations: 47.56 kB / 1.133 GB, free: 294.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02622/1.86, allocations: 12.69 MB / 1.145 GB, free: 281.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08094/1.941, allocations: 7.994 MB / 1.153 GB, free: 274.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/1.952, allocations: 2.918 MB / 1.156 GB, free: 271.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.962, allocations: 9.937 MB / 1.165 GB, free: 260.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009529/1.971, allocations: 0.5343 MB / 1.166 GB, free: 260.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/1.974, allocations: 0.7345 MB / 1.167 GB, free: 259.6 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01334/1.987, allocations: 6.715 MB / 1.173 GB, free: 252.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009912/1.997, allocations: 8.744 MB / 1.182 GB, free: 242.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01899/2.016, allocations: 13.81 MB / 1.195 GB, free: 227.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.827e-05/2.016, 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.03004/2.046, allocations: 14.76 MB / 1.21 GB, free: 212.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/2.046, allocations: 50.97 kB / 1.21 GB, free: 212.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01991/2.066, allocations: 11.06 MB / 1.221 GB, free: 201.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/2.068, allocations: 0.8583 MB / 1.221 GB, free: 200.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.078, allocations: 3.003 MB / 1.224 GB, free: 197.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007314/2.086, allocations: 8.138 MB / 1.232 GB, free: 189 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009705/2.095, allocations: 0.5309 MB / 1.233 GB, free: 188.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/2.098, allocations: 0.7261 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.003269/2.101, allocations: 0.8404 MB / 1.234 GB, free: 187 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003482/2.105, allocations: 0.9502 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.02018/2.125, 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: 5.934218249749392] Failed to read output from testmodel.py, exit status != 0: 2.274457768071443 2.285931298 1.24653483 Calling exit ...