Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.006145/0.006145, 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.0006886/0.0006886, allocations: 91.45 kB / 24.16 MB, free: 400 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.000722/0.000722, allocations: 161.5 kB / 27.85 MB, free: 5.5 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.8575/0.8575, allocations: 177.1 MB / 208.6 MB, free: 2.984 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7447/0.7447, allocations: 102.5 MB / 367.9 MB, free: 1.449 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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: translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|injector.mixingZone.h|injector.mixingZone.p|injector.outflowZone.h|injector.outflowZone.p|injector.wall.U.1.|injector.wall.U.2.|injector.wall.U.3.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.1.|injector1.wall.U.2.|injector1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|injector.mixingZone.h|injector.mixingZone.p|injector.outflowZone.h|injector.outflowZone.p|injector.wall.U.1.|injector.wall.U.2.|injector.wall.U.3.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.1.|injector1.wall.U.2.|injector1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 224 / 0.5367 GB, free: 39.65 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.02e-05/4.235e-05, allocations: 4.953 kB / 0.5367 GB, free: 39.64 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.1448/0.1448, allocations: 78.05 MB / 0.6129 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04102/0.1859, allocations: 27.52 MB / 0.6398 GB, free: 2.125 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008339/0.1942, allocations: 214.4 kB / 0.64 GB, free: 1.914 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.009733/0.2039, allocations: 3.793 MB / 0.6437 GB, free: 14.1 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01889/0.2228, allocations: 6.485 MB / 0.65 GB, free: 7.578 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01249/0.2353, allocations: 5.996 MB / 0.6559 GB, free: 1.57 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02414/0.2594, allocations: 17.83 MB / 0.6733 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009382/0.2688, allocations: 5.123 MB / 0.6783 GB, free: 10.47 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02281/0.2916, allocations: 9.475 MB / 0.6875 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01141/0.303, allocations: 6.035 MB / 0.6934 GB, free: 10.93 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.004612/0.3077, allocations: 1.145 MB / 0.6946 GB, free: 9.781 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009272/0.3169, allocations: 2.944 MB / 0.6974 GB, free: 6.832 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.006662/0.3236, allocations: 3.574 MB / 0.7009 GB, free: 3.246 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.01032/0.3339, allocations: 3.702 MB / 0.7045 GB, free: 15.53 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.02491/0.3588, allocations: 17.82 MB / 0.7219 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3588, allocations: 4 kB / 0.7219 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3588, allocations: 0 / 0.7219 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0006359/0.3595, allocations: 0 / 0.7219 GB, free: 13.66 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.02722/0.3867, allocations: 11.13 MB / 0.7328 GB, free: 2.422 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.3868, allocations: 12.03 kB / 0.7328 GB, free: 2.41 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.3917, allocations: 1.399 MB / 0.7342 GB, free: 1.004 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/0.4078, allocations: 7.915 MB / 0.7419 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004122/0.4082, allocations: 448.1 kB / 0.7424 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/0.4102, allocations: 0.5706 MB / 0.7429 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/0.4394, allocations: 16.69 MB / 0.7592 GB, free: 5.141 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/0.4395, allocations: 67.38 kB / 0.7593 GB, free: 5.074 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.4407, allocations: 292 kB / 0.7595 GB, free: 4.789 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004486/0.4412, allocations: 488.6 kB / 0.76 GB, free: 4.309 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3273/0.7685, allocations: 11.7 MB / 0.7714 GB, free: 168.2 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.07457/0.8431, allocations: 58.74 MB / 0.8288 GB, free: 118.4 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02186/0.8649, allocations: 9.373 MB / 0.838 GB, free: 113.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007233/0.8722, allocations: 3.525 MB / 0.8414 GB, free: 111 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.8735, allocations: 394.8 kB / 0.8418 GB, free: 110.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.8736, allocations: 131.6 kB / 0.8419 GB, free: 110.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1085): time 7.544e-06/0.8736, allocations: 1.219 kB / 0.8419 GB, free: 110.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1086): time 0.1036/0.9772, allocations: 64.54 MB / 0.9049 GB, free: 51.03 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/0.9775, allocations: 1.458 MB / 0.9064 GB, free: 49.23 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009638/0.9871, allocations: 7.165 MB / 0.9134 GB, free: 42.21 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0022/0.9893, allocations: 113.7 kB / 0.9135 GB, free: 42.09 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001893/0.9912, allocations: 3.853 MB / 0.9172 GB, free: 38.62 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.004397/0.9956, allocations: 3.672 MB / 0.9208 GB, free: 35.25 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003849/0.9994, allocations: 2.338 MB / 0.9231 GB, free: 32.89 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.9995, allocations: 301.1 kB / 0.9234 GB, free: 32.6 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006295/1.006, allocations: 4.84 MB / 0.9281 GB, free: 27.75 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008002/1.014, allocations: 8.836 MB / 0.9367 GB, free: 17.29 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/1.03, allocations: 13.97 MB / 0.9504 GB, free: 2.062 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.03, allocations: 34.56 kB / 0.9504 GB, free: 2.031 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03255/1.063, allocations: 15.66 MB / 0.9657 GB, free: 2.453 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/1.063, allocations: 51.98 kB / 0.9658 GB, free: 2.402 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02678/1.09, allocations: 12.69 MB / 0.9781 GB, free: 5.82 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04073/1.131, allocations: 7.997 MB / 0.986 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008236/1.139, allocations: 2.924 MB / 0.9888 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009388/1.148, allocations: 9.875 MB / 0.9985 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/1.156, allocations: 0.5405 MB / 0.999 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003034/1.159, allocations: 0.7339 MB / 0.9997 GB, free: 15.83 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01538/1.175, allocations: 6.714 MB / 1.006 GB, free: 9.109 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0117/1.186, allocations: 8.742 MB / 1.015 GB, free: 14.74 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01903/1.205, allocations: 13.83 MB / 1.028 GB, free: 15.61 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.16e-05/1.205, allocations: 28 kB / 1.028 GB, free: 15.58 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.02844/1.234, allocations: 14.73 MB / 1.043 GB, free: 0.8281 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-05/1.234, allocations: 48 kB / 1.043 GB, free: 0.7812 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3428/1.577, allocations: 11.06 MB / 1.054 GB, free: 244.1 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/1.578, allocations: 0.8623 MB / 1.054 GB, free: 243.9 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006534/1.585, allocations: 3.002 MB / 1.057 GB, free: 243.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/1.591, allocations: 8.063 MB / 1.065 GB, free: 237.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/1.597, allocations: 0.5254 MB / 1.066 GB, free: 237.2 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.598, allocations: 0.7264 MB / 1.066 GB, free: 237.1 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.002513/1.6, allocations: 0.838 MB / 1.067 GB, free: 236.5 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002032/1.602, allocations: 0.9233 MB / 1.068 GB, free: 236.5 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.01706/1.619, allocations: 13.8 MB / 1.082 GB, free: 232.1 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.524537342600524] Failed to read output from testmodel.py, exit status != 0: 1.7896598568186164 1.796497214 1.435864795 Calling exit ...