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.01014/0.01014, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001294/0.001294, allocations: 107.5 kB / 24.98 MB, free: 2.156 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.001619/0.001619, allocations: 204 kB / 28.71 MB, free: 3.441 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.45/1.45, allocations: 230.6 MB / 262.9 MB, free: 6.012 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.023/1.023, allocations: 130.7 MB / 450.5 MB, free: 6.543 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.03077/0.03077, allocations: 20.61 MB / 0.6363 GB, free: 5.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1997, allocations: 81.9 MB / 0.7163 GB, free: 3.32 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.5285/0.7282, allocations: 69.52 MB / 0.7842 GB, free: 3.363 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05653/0.7848, allocations: 28.81 MB / 0.8124 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009799/0.7946, allocations: 212.2 kB / 0.8126 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.8072, allocations: 3.932 MB / 0.8164 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02039/0.8276, allocations: 6.298 MB / 0.8225 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.8426, allocations: 5.924 MB / 0.8283 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02942/0.872, allocations: 17.42 MB / 0.8453 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.8826, allocations: 4.786 MB / 0.85 GB, free: 10.32 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01465/0.8973, allocations: 6.918 MB / 0.8568 GB, free: 3.379 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01382/0.9111, allocations: 7.149 MB / 0.8637 GB, free: 12.21 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004548/0.9156, allocations: 1.141 MB / 0.8649 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/0.9265, allocations: 3.75 MB / 0.8685 GB, free: 7.324 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006243/0.9328, allocations: 3.477 MB / 0.8719 GB, free: 3.836 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01207/0.9448, allocations: 5.826 MB / 0.8776 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03197/0.9768, allocations: 17.96 MB / 0.8951 GB, free: 11.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-05/0.9768, allocations: 7.984 kB / 0.8952 GB, free: 11.95 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9768, allocations: 0 / 0.8952 GB, free: 11.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006161/0.9774, allocations: 2.656 kB / 0.8952 GB, free: 11.95 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.03436/1.012, allocations: 11.25 MB / 0.9061 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.012, allocations: 18.19 kB / 0.9062 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000254/1.012, allocations: 175.9 kB / 0.9063 GB, free: 468 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003779/1.016, allocations: 1.018 MB / 0.9073 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006692/1.023, allocations: 1.402 MB / 0.9087 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/1.043, allocations: 7.904 MB / 0.9164 GB, free: 6.043 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006663/1.044, allocations: 450.4 kB / 0.9168 GB, free: 5.605 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/1.047, allocations: 0.5741 MB / 0.9174 GB, free: 5.031 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04092/1.088, allocations: 14.74 MB / 0.9318 GB, free: 4.766 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003591/1.088, allocations: 73.94 kB / 0.9319 GB, free: 4.695 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002391/1.09, allocations: 292 kB / 0.9321 GB, free: 4.41 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008253/1.091, allocations: 484.6 kB / 0.9326 GB, free: 3.934 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03808/1.129, allocations: 11.74 MB / 0.9441 GB, free: 8.191 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.1017/1.231, allocations: 63.45 MB / 1.006 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02888/1.26, allocations: 9.399 MB / 1.015 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009016/1.269, allocations: 3.526 MB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/1.271, allocations: 441.3 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/1.271, allocations: 124.2 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1085): time 1.365e-05/1.271, allocations: 0 / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of matching and sorting (n=1086): time 0.4804/1.752, allocations: 64.56 MB / 1.082 GB, free: 331.1 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003259/1.752, allocations: 1.46 MB / 1.084 GB, free: 329.4 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/1.764, allocations: 7.268 MB / 1.091 GB, free: 326.8 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001944/1.766, allocations: 109.5 kB / 1.091 GB, free: 326.7 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.769, allocations: 3.865 MB / 1.095 GB, free: 324 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004371/1.774, allocations: 3.718 MB / 1.098 GB, free: 321.5 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006183/1.78, allocations: 2.355 MB / 1.101 GB, free: 320.7 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/1.78, allocations: 302.4 kB / 1.101 GB, free: 320.4 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008734/1.788, allocations: 4.84 MB / 1.106 GB, free: 318.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01094/1.799, allocations: 8.171 MB / 1.114 GB, free: 312.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0199/1.819, allocations: 13.99 MB / 1.127 GB, free: 302.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.835e-05/1.819, allocations: 28 kB / 1.127 GB, free: 302 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.032/1.851, allocations: 15.67 MB / 1.143 GB, free: 286.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/1.851, allocations: 48 kB / 1.143 GB, free: 286.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02813/1.88, allocations: 12.68 MB / 1.155 GB, free: 273.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08342/1.963, allocations: 7.985 MB / 1.163 GB, free: 266 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/1.974, allocations: 2.924 MB / 1.166 GB, free: 263.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00981/1.984, allocations: 9.968 MB / 1.175 GB, free: 252.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008697/1.992, allocations: 0.5426 MB / 1.176 GB, free: 252.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002276/1.995, allocations: 0.7299 MB / 1.177 GB, free: 251.5 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01256/2.007, allocations: 6.719 MB / 1.183 GB, free: 244.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009197/2.016, allocations: 8.081 MB / 1.191 GB, free: 235.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01779/2.034, allocations: 13.81 MB / 1.205 GB, free: 220.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.465e-05/2.034, allocations: 28 kB / 1.205 GB, free: 220 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03183/2.066, allocations: 14.77 MB / 1.219 GB, free: 205.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/2.066, allocations: 49.09 kB / 1.219 GB, free: 205.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02368/2.09, allocations: 11.06 MB / 1.23 GB, free: 194.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/2.092, allocations: 0.8592 MB / 1.231 GB, free: 193.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/2.103, allocations: 3.003 MB / 1.234 GB, free: 190.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/2.111, allocations: 8.178 MB / 1.242 GB, free: 181.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009342/2.12, allocations: 0.5305 MB / 1.242 GB, free: 181.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002725/2.123, allocations: 0.7299 MB / 1.243 GB, free: 180.5 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.00451/2.127, allocations: 0.8443 MB / 1.244 GB, free: 179.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004515/2.132, allocations: 0.9426 MB / 1.245 GB, free: 178.8 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.02595/2.158, allocations: 13.76 MB / 1.258 GB, free: 165.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.931112830992788] Failed to read output from testmodel.py, exit status != 0: 2.3120116400532424 2.3261637139999998 1.344416 Calling exit ...