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.005954/0.005954, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0005689/0.0005689, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007347/0.0007347, allocations: 164.4 kB / 27.85 MB, free: 5.496 MB / 18.57 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 0.8734/0.8734, allocations: 177.2 MB / 208.6 MB, free: 2.949 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7489/0.7489, allocations: 102.5 MB / 367.9 MB, free: 1.473 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5362 GB, free: 40.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.176e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.12 MB / 490.8 MB 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.1254/0.1254, allocations: 78.05 MB / 0.6124 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03611/0.1615, allocations: 27.52 MB / 0.6393 GB, free: 2.789 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007188/0.1687, allocations: 218.3 kB / 0.6395 GB, free: 2.574 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007691/0.1764, allocations: 3.792 MB / 0.6432 GB, free: 14.77 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01622/0.1926, allocations: 6.489 MB / 0.6495 GB, free: 8.238 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.2038, allocations: 5.997 MB / 0.6554 GB, free: 2.23 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02193/0.2257, allocations: 17.84 MB / 0.6728 GB, free: 340 kB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008661/0.2344, allocations: 5.127 MB / 0.6778 GB, free: 11.12 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01952/0.2539, allocations: 9.483 MB / 0.6871 GB, free: 1.617 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009908/0.2638, allocations: 6.035 MB / 0.693 GB, free: 11.57 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.002637/0.2665, allocations: 1.141 MB / 0.6941 GB, free: 10.43 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006804/0.2733, allocations: 2.944 MB / 0.697 GB, free: 7.48 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.002745/0.276, allocations: 3.57 MB / 0.7005 GB, free: 3.898 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.006519/0.2825, allocations: 3.709 MB / 0.7041 GB, free: 184 kB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.3025, allocations: 17.81 MB / 0.7215 GB, free: 14.31 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3025, allocations: 4 kB / 0.7215 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3025, allocations: 0 / 0.7215 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.000564/0.3031, allocations: 0 / 0.7215 GB, free: 14.3 MB / 0.6199 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.02474/0.3278, allocations: 11.12 MB / 0.7323 GB, free: 3.074 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.3279, allocations: 8.031 kB / 0.7323 GB, free: 3.066 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001318/0.3292, allocations: 1.022 MB / 0.7333 GB, free: 2.031 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/0.3322, allocations: 1.411 MB / 0.7347 GB, free: 0.6133 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.3435, allocations: 7.9 MB / 0.7424 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.3437, allocations: 448.1 kB / 0.7429 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006303/0.3444, allocations: 0.5742 MB / 0.7434 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.3665, allocations: 16.68 MB / 0.7597 GB, free: 4.762 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.3667, allocations: 71.31 kB / 0.7598 GB, free: 4.691 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005849/0.3673, allocations: 296 kB / 0.7601 GB, free: 4.402 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003798/0.3676, allocations: 476.6 kB / 0.7605 GB, free: 3.934 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3441/0.7117, allocations: 11.7 MB / 0.7719 GB, free: 168.4 MB / 0.6512 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.04519/0.7569, allocations: 59.68 MB / 0.8302 GB, free: 117.9 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.7724, allocations: 9.37 MB / 0.8394 GB, free: 112.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004517/0.7769, allocations: 3.525 MB / 0.8428 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/0.7778, allocations: 397.9 kB / 0.8432 GB, free: 110.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.259e-05/0.7779, allocations: 120.8 kB / 0.8433 GB, free: 110.3 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1085): time 7.254e-06/0.7779, allocations: 0 / 0.8433 GB, free: 110.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1086): time 0.07183/0.8497, allocations: 64.58 MB / 0.9064 GB, free: 49.68 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/0.8499, allocations: 1.461 MB / 0.9078 GB, free: 47.88 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007405/0.8573, allocations: 7.433 MB / 0.9151 GB, free: 40.6 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001788/0.8591, allocations: 113.7 kB / 0.9152 GB, free: 40.48 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.8605, allocations: 3.831 MB / 0.9189 GB, free: 37.01 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002301/0.8628, allocations: 3.679 MB / 0.9225 GB, free: 33.64 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/0.865, allocations: 2.33 MB / 0.9248 GB, free: 31.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.865, allocations: 309 kB / 0.9251 GB, free: 30.99 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005024/0.87, allocations: 4.844 MB / 0.9298 GB, free: 26.14 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005855/0.8759, allocations: 8.835 MB / 0.9384 GB, free: 15.68 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.8876, allocations: 13.97 MB / 0.9521 GB, free: 468 kB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.127e-05/0.8877, allocations: 30.69 kB / 0.9521 GB, free: 440 kB / 0.6512 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.02136/0.909, allocations: 15.67 MB / 0.9674 GB, free: 0.8281 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.9091, allocations: 51.19 kB / 0.9675 GB, free: 0.7812 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01779/0.9269, allocations: 12.69 MB / 0.9799 GB, free: 4.184 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03957/0.9664, allocations: 7.996 MB / 0.9877 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008057/0.9745, allocations: 2.921 MB / 0.9905 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008742/0.9832, allocations: 9.92 MB / 1 GB, free: 15.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/0.9899, allocations: 0.5401 MB / 1.001 GB, free: 14.86 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/0.991, allocations: 0.7318 MB / 1.001 GB, free: 14.13 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009669/1.001, allocations: 6.716 MB / 1.008 GB, free: 7.41 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00757/1.008, allocations: 8.744 MB / 1.017 GB, free: 13.04 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01408/1.022, allocations: 13.82 MB / 1.03 GB, free: 13.91 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.493e-05/1.022, allocations: 28 kB / 1.03 GB, free: 13.88 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.3074/1.33, allocations: 14.76 MB / 1.044 GB, free: 243.2 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/1.33, allocations: 45.94 kB / 1.045 GB, free: 243.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01735/1.347, allocations: 11.06 MB / 1.055 GB, free: 241.8 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/1.349, allocations: 0.8568 MB / 1.056 GB, free: 241.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006548/1.355, allocations: 3.005 MB / 1.059 GB, free: 241.5 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005553/1.361, allocations: 8.127 MB / 1.067 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005838/1.367, allocations: 0.5262 MB / 1.068 GB, free: 234.9 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009688/1.368, allocations: 0.7242 MB / 1.068 GB, free: 234.8 MB / 0.7449 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.002112/1.37, allocations: 0.8412 MB / 1.069 GB, free: 234.2 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.371, allocations: 0.9453 MB / 1.07 GB, free: 234.2 MB / 0.7449 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.01584/1.387, allocations: 13.83 MB / 1.084 GB, free: 229.8 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.266354266554117] Failed to read output from testmodel.py, exit status != 0: 1.5355882681906223 1.542373909 1.238426778 Calling exit ...