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.008883/0.008883, allocations: 1.446 MB / 20.54 MB, free: 3.992 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.001176/0.001176, allocations: 91.44 kB / 24.16 MB, free: 384 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.001573/0.001573, allocations: 164 kB / 27.86 MB, free: 5.488 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.889/0.889, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.7093/0.7093, allocations: 102.5 MB / 367.9 MB, free: 1.496 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.593e-06/1.593e-06, allocations: 224 / 0.5362 GB, free: 40.05 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.259e-05, allocations: 3.125 kB / 0.5362 GB, free: 40.04 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.1278/0.1279, allocations: 78.05 MB / 0.6124 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03687/0.1647, allocations: 27.53 MB / 0.6393 GB, free: 2.805 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007111/0.1718, allocations: 210.4 kB / 0.6395 GB, free: 2.598 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.008521/0.1804, allocations: 3.8 MB / 0.6432 GB, free: 14.78 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.1953, allocations: 6.489 MB / 0.6495 GB, free: 8.25 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.2069, allocations: 5.989 MB / 0.6554 GB, free: 2.25 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01959/0.2265, allocations: 17.85 MB / 0.6728 GB, free: 352 kB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008189/0.2347, allocations: 5.119 MB / 0.6778 GB, free: 11.14 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01918/0.2539, allocations: 9.479 MB / 0.6871 GB, free: 1.641 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.264, allocations: 6.028 MB / 0.693 GB, free: 11.6 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.003763/0.2677, allocations: 1.141 MB / 0.6941 GB, free: 10.46 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007862/0.2756, allocations: 2.944 MB / 0.697 GB, free: 7.508 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.004784/0.2804, allocations: 3.57 MB / 0.7004 GB, free: 3.926 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.007684/0.2881, allocations: 3.702 MB / 0.7041 GB, free: 220 kB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.02182/0.3099, allocations: 17.82 MB / 0.7215 GB, free: 14.34 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3099, allocations: 0 / 0.7215 GB, free: 14.34 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3099, allocations: 0 / 0.7215 GB, free: 14.34 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.000652/0.3105, allocations: 0 / 0.7215 GB, free: 14.34 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.02425/0.3348, allocations: 11.14 MB / 0.7323 GB, free: 3.102 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.3348, allocations: 8.031 kB / 0.7323 GB, free: 3.094 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002225/0.3371, allocations: 1.018 MB / 0.7333 GB, free: 2.062 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.3403, allocations: 1.403 MB / 0.7347 GB, free: 0.6523 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.355, allocations: 7.914 MB / 0.7424 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004274/0.3554, allocations: 448.1 kB / 0.7429 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/0.3577, allocations: 0.5742 MB / 0.7434 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/0.3839, allocations: 16.69 MB / 0.7597 GB, free: 4.781 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.3841, allocations: 71.31 kB / 0.7598 GB, free: 4.711 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006724/0.3848, allocations: 292 kB / 0.7601 GB, free: 4.426 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000386/0.3851, allocations: 480.6 kB / 0.7605 GB, free: 3.953 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.283/0.6681, allocations: 11.7 MB / 0.772 GB, free: 168.5 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.06053/0.7287, allocations: 59.68 MB / 0.8302 GB, free: 118 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/0.7461, allocations: 9.363 MB / 0.8394 GB, free: 112.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006222/0.7524, allocations: 3.532 MB / 0.8428 GB, free: 110.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.7536, allocations: 392.2 kB / 0.8432 GB, free: 110.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.232e-05/0.7537, allocations: 125.1 kB / 0.8433 GB, free: 110.3 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1085): time 9.127e-06/0.7537, allocations: 2.625 kB / 0.8433 GB, free: 110.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1086): time 0.08392/0.8376, allocations: 64.57 MB / 0.9064 GB, free: 49.73 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/0.8378, allocations: 1.458 MB / 0.9078 GB, free: 47.94 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/0.8457, allocations: 7.432 MB / 0.9151 GB, free: 40.66 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.00183/0.8475, allocations: 109.7 kB / 0.9152 GB, free: 40.54 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.8492, allocations: 3.842 MB / 0.9189 GB, free: 37.06 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003455/0.8527, allocations: 3.674 MB / 0.9225 GB, free: 33.7 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003451/0.8561, allocations: 2.33 MB / 0.9248 GB, free: 31.36 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.8562, allocations: 307.8 kB / 0.9251 GB, free: 31.05 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007994/0.8642, allocations: 4.844 MB / 0.9298 GB, free: 26.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009364/0.8735, allocations: 8.836 MB / 0.9384 GB, free: 15.74 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/0.8899, allocations: 13.97 MB / 0.9521 GB, free: 0.5156 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.839e-05/0.8899, allocations: 30.66 kB / 0.9521 GB, free: 500 kB / 0.6512 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03195/0.9219, allocations: 15.68 MB / 0.9674 GB, free: 0.8828 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.922, allocations: 50.66 kB / 0.9675 GB, free: 0.8359 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02516/0.9471, allocations: 12.7 MB / 0.9799 GB, free: 4.242 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03843/0.9855, allocations: 7.983 MB / 0.9877 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007462/0.993, allocations: 2.927 MB / 0.9905 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008921/1.002, allocations: 9.914 MB / 1 GB, free: 15.46 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007692/1.01, allocations: 0.5402 MB / 1.001 GB, free: 14.93 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002683/1.012, allocations: 0.7339 MB / 1.001 GB, free: 14.2 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01361/1.026, allocations: 6.719 MB / 1.008 GB, free: 7.469 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01112/1.037, allocations: 8.739 MB / 1.017 GB, free: 13.1 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01963/1.057, allocations: 13.83 MB / 1.03 GB, free: 13.97 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.859e-05/1.057, allocations: 28 kB / 1.03 GB, free: 13.94 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.33/1.387, allocations: 14.75 MB / 1.044 GB, free: 243.2 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/1.387, allocations: 46.59 kB / 1.045 GB, free: 243.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02002/1.407, allocations: 11.07 MB / 1.055 GB, free: 241.8 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/1.408, allocations: 0.8432 MB / 1.056 GB, free: 241.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008097/1.417, allocations: 3.005 MB / 1.059 GB, free: 241.5 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/1.422, allocations: 8.14 MB / 1.067 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007079/1.429, allocations: 0.5313 MB / 1.068 GB, free: 234.9 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002285/1.432, allocations: 0.7234 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.00319/1.435, allocations: 0.8466 MB / 1.069 GB, free: 234.2 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00297/1.438, allocations: 0.9435 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.01921/1.457, allocations: 13.82 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.304478267207742] Failed to read output from testmodel.py, exit status != 0: 1.6042835302650928 1.611278679 1.299712693 Calling exit ...