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.01024/0.01024, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.001186/0.001186, allocations: 101.6 kB / 24.97 MB, free: 2.039 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.001414/0.001414, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.424/1.424, allocations: 230.6 MB / 262.9 MB, free: 5.801 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.055/1.055, allocations: 130.7 MB / 450.4 MB, free: 6.426 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: 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.06415/0.06415, allocations: 20.61 MB / 0.6362 GB, free: 5.07 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.2285, allocations: 81.9 MB / 0.7162 GB, free: 3.078 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.6041/0.8326, allocations: 64.39 MB / 0.7791 GB, free: 8.348 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05765/0.8903, allocations: 27.76 MB / 0.8062 GB, free: 3.836 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01468/0.905, allocations: 218.6 kB / 0.8064 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01393/0.9189, allocations: 3.809 MB / 0.8101 GB, free: 1.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02579/0.9447, allocations: 6.316 MB / 0.8163 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01773/0.9624, allocations: 5.936 MB / 0.8221 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03202/0.9944, allocations: 17.39 MB / 0.8391 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01182/1.006, allocations: 4.782 MB / 0.8437 GB, free: 180 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01621/1.022, allocations: 6.953 MB / 0.8505 GB, free: 9.199 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01516/1.038, allocations: 7.132 MB / 0.8575 GB, free: 2.043 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.005292/1.043, allocations: 1.141 MB / 0.8586 GB, free: 0.9023 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/1.055, allocations: 2.965 MB / 0.8615 GB, free: 13.93 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007408/1.062, allocations: 3.477 MB / 0.8649 GB, free: 10.45 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0126/1.075, allocations: 4.5 MB / 0.8693 GB, free: 5.926 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03452/1.109, allocations: 17.88 MB / 0.8868 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.109, allocations: 0 / 0.8868 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.684e-06/1.109, allocations: 0 / 0.8868 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0006641/1.11, allocations: 9.812 kB / 0.8868 GB, free: 3.973 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.03529/1.145, allocations: 11.25 MB / 0.8978 GB, free: 8.652 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.145, allocations: 12.03 kB / 0.8978 GB, free: 8.641 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002397/1.146, allocations: 178.6 kB / 0.8979 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003659/1.149, allocations: 1.015 MB / 0.8989 GB, free: 7.441 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/1.155, allocations: 1.398 MB / 0.9003 GB, free: 6.039 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/1.173, allocations: 7.916 MB / 0.908 GB, free: 14.06 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004743/1.173, allocations: 455.7 kB / 0.9085 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/1.175, allocations: 0.5663 MB / 0.909 GB, free: 13.05 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03615/1.211, allocations: 16.69 MB / 0.9253 GB, free: 10.22 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/1.211, allocations: 67.38 kB / 0.9254 GB, free: 10.15 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008206/1.212, allocations: 292 kB / 0.9257 GB, free: 9.867 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000563/1.213, allocations: 481.4 kB / 0.9261 GB, free: 9.395 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03145/1.244, allocations: 11.74 MB / 0.9376 GB, free: 13.65 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.08441/1.329, allocations: 59.87 MB / 0.9961 GB, free: 4 kB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02752/1.356, allocations: 9.363 MB / 1.005 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008309/1.364, allocations: 3.526 MB / 1.009 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/1.366, allocations: 402.8 kB / 1.009 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/1.366, allocations: 126.9 kB / 1.009 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1085): time 1.092e-05/1.366, allocations: 0 / 1.009 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1086): time 0.4585/1.825, allocations: 64.56 MB / 1.072 GB, free: 341.3 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003196/1.825, allocations: 1.46 MB / 1.074 GB, free: 339.6 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.836, allocations: 7.267 MB / 1.081 GB, free: 336.9 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001935/1.838, allocations: 109.3 kB / 1.081 GB, free: 336.9 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.84, allocations: 3.861 MB / 1.085 GB, free: 334.2 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.003629/1.844, allocations: 3.712 MB / 1.088 GB, free: 331.7 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00459/1.848, allocations: 2.359 MB / 1.091 GB, free: 330.8 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/1.848, allocations: 307.8 kB / 1.091 GB, free: 330.5 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007975/1.856, allocations: 4.841 MB / 1.096 GB, free: 328.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.867, allocations: 8.83 MB / 1.104 GB, free: 321.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/1.886, allocations: 13.98 MB / 1.118 GB, free: 310 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.698e-05/1.886, allocations: 30.69 kB / 1.118 GB, free: 310 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03046/1.917, allocations: 15.66 MB / 1.133 GB, free: 294.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.66e-05/1.917, allocations: 50.66 kB / 1.133 GB, free: 294.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02639/1.943, allocations: 12.69 MB / 1.146 GB, free: 281.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0891/2.032, allocations: 7.991 MB / 1.153 GB, free: 274.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01076/2.043, allocations: 2.921 MB / 1.156 GB, free: 271.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009819/2.053, allocations: 9.924 MB / 1.166 GB, free: 260.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008698/2.061, allocations: 0.5513 MB / 1.166 GB, free: 260.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/2.064, allocations: 0.7327 MB / 1.167 GB, free: 259.7 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0132/2.077, allocations: 6.712 MB / 1.174 GB, free: 252.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01073/2.088, allocations: 8.74 MB / 1.182 GB, free: 242.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01852/2.106, allocations: 13.82 MB / 1.196 GB, free: 227.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.245e-05/2.106, allocations: 31.52 kB / 1.196 GB, free: 227.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.02791/2.134, allocations: 14.76 MB / 1.21 GB, free: 212.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/2.134, allocations: 44 kB / 1.21 GB, free: 212.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02146/2.156, allocations: 11.06 MB / 1.221 GB, free: 201.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/2.158, allocations: 0.8514 MB / 1.222 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/2.168, allocations: 3.009 MB / 1.225 GB, free: 197.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/2.176, allocations: 8.138 MB / 1.233 GB, free: 189.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009406/2.185, allocations: 0.5349 MB / 1.233 GB, free: 188.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/2.188, allocations: 0.7261 MB / 1.234 GB, free: 187.9 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.004015/2.192, allocations: 0.8397 MB / 1.235 GB, free: 187.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004029/2.196, allocations: 0.9388 MB / 1.236 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.02516/2.221, allocations: 13.76 MB / 1.249 GB, free: 172.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.009167511947453] Failed to read output from testmodel.py, exit status != 0: 2.3712112379726022 2.384368329 1.270157081 Calling exit ...