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.01492/0.01492, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.001964/0.001964, allocations: 79.34 kB / 24.02 MB, free: 2.609 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.002406/0.002406, allocations: 151.7 kB / 27.7 MB, free: 3.863 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.569/1.569, allocations: 177.1 MB / 208.4 MB, free: 7.703 MB / 190.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.122/1.122, allocations: 102.5 MB / 367.8 MB, free: 4.617 MB / 334.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: 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_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_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5365 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.608e-05/3.782e-05, allocations: 6 kB / 0.5365 GB, free: 7.145 MB / 446.1 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.2038/0.2038, allocations: 78.1 MB / 0.6127 GB, free: 11.48 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.06335/0.2672, allocations: 27.52 MB / 0.6396 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01091/0.2781, allocations: 210.4 kB / 0.6398 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.2906, allocations: 3.797 MB / 0.6435 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.02362/0.3142, allocations: 6.501 MB / 0.6499 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0182/0.3324, allocations: 5.989 MB / 0.6557 GB, free: 15.32 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.03629/0.3687, allocations: 17.83 MB / 0.6731 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01562/0.3843, allocations: 5.12 MB / 0.6781 GB, free: 8.223 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4196/0.8039, allocations: 9.487 MB / 0.6874 GB, free: 31.98 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01801/0.8219, allocations: 6.023 MB / 0.6933 GB, free: 31.98 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.008643/0.8305, allocations: 1.143 MB / 0.6944 GB, free: 31.98 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02126/0.8518, allocations: 2.932 MB / 0.6972 GB, free: 31.98 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0138/0.8656, allocations: 3.57 MB / 0.7007 GB, free: 31.98 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.02737/0.893, allocations: 3.711 MB / 0.7044 GB, free: 31.98 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.05174/0.9447, allocations: 17.82 MB / 0.7218 GB, free: 30.84 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.9447, allocations: 4.875 kB / 0.7218 GB, free: 30.84 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9447, allocations: 0 / 0.7218 GB, free: 30.84 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0009985/0.9457, allocations: 0 / 0.7218 GB, free: 30.84 MB / 0.5763 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.05702/1.003, allocations: 11.13 MB / 0.7326 GB, free: 25.01 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/1.003, allocations: 9.125 kB / 0.7326 GB, free: 25.01 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.013, allocations: 1.409 MB / 0.734 GB, free: 24.23 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.04, allocations: 7.898 MB / 0.7417 GB, free: 21.48 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/1.041, allocations: 455.2 kB / 0.7422 GB, free: 21.46 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005572/1.047, allocations: 0.5686 MB / 0.7427 GB, free: 21.46 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06625/1.113, allocations: 16.68 MB / 0.759 GB, free: 8.871 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005306/1.114, allocations: 76.41 kB / 0.7591 GB, free: 8.867 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005368/1.119, allocations: 293.9 kB / 0.7594 GB, free: 8.688 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/1.12, allocations: 485.8 kB / 0.7598 GB, free: 8.574 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0563/1.176, allocations: 11.7 MB / 0.7713 GB, free: 15.77 MB / 0.5919 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.1494/1.326, allocations: 58.76 MB / 0.8286 GB, free: 4.047 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04678/1.373, allocations: 9.369 MB / 0.8378 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01399/1.387, allocations: 3.53 MB / 0.8412 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002714/1.389, allocations: 384.3 kB / 0.8416 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/1.39, allocations: 123.8 kB / 0.8417 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1085): time 1.176e-05/1.39, allocations: 0 / 0.8417 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1086): time 0.1646/1.554, allocations: 64.54 MB / 0.9047 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008683/1.555, allocations: 1.466 MB / 0.9062 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01474/1.57, allocations: 7.162 MB / 0.9132 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.002762/1.573, allocations: 109.7 kB / 0.9133 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.004192/1.577, allocations: 3.853 MB / 0.917 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.006923/1.584, allocations: 3.674 MB / 0.9206 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01067/1.594, allocations: 2.33 MB / 0.9229 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.595, allocations: 309 kB / 0.9232 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01289/1.608, allocations: 4.84 MB / 0.9279 GB, free: 13.85 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01842/1.626, allocations: 8.831 MB / 0.9365 GB, free: 3.445 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03145/1.657, allocations: 13.98 MB / 0.9502 GB, free: 4.617 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/1.657, allocations: 28 kB / 0.9502 GB, free: 4.59 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.0483/1.706, allocations: 15.66 MB / 0.9655 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/1.706, allocations: 51.84 kB / 0.9656 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3897/2.096, allocations: 12.69 MB / 0.978 GB, free: 282 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09186/2.187, allocations: 7.994 MB / 0.9858 GB, free: 281.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/2.199, allocations: 2.922 MB / 0.9886 GB, free: 281.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/2.21, allocations: 9.867 MB / 0.9983 GB, free: 275.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/2.22, allocations: 0.5389 MB / 0.9988 GB, free: 275.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003247/2.223, allocations: 0.7305 MB / 0.9995 GB, free: 275.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01599/2.239, allocations: 6.716 MB / 1.006 GB, free: 272.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01106/2.25, allocations: 8.751 MB / 1.015 GB, free: 265.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02221/2.272, allocations: 13.81 MB / 1.028 GB, free: 256.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.871e-05/2.273, allocations: 30.19 kB / 1.028 GB, free: 256.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03698/2.31, allocations: 14.74 MB / 1.043 GB, free: 245.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/2.31, allocations: 51.94 kB / 1.043 GB, free: 245 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02727/2.337, allocations: 11.07 MB / 1.053 GB, free: 234.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/2.339, allocations: 0.8535 MB / 1.054 GB, free: 233.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/2.351, allocations: 3.003 MB / 1.057 GB, free: 230.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008786/2.36, allocations: 8.057 MB / 1.065 GB, free: 221.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/2.37, allocations: 0.5306 MB / 1.066 GB, free: 221.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00315/2.373, allocations: 0.7261 MB / 1.066 GB, free: 220.7 MB / 0.7794 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.005415/2.379, allocations: 0.8472 MB / 1.067 GB, free: 219.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004843/2.384, allocations: 0.9282 MB / 1.068 GB, free: 219.5 MB / 0.7794 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.0286/2.412, allocations: 13.8 MB / 1.081 GB, free: 206.7 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.604062434285879] Failed to read output from testmodel.py, exit status != 0: 2.588371243327856 2.599396209 1.651501748 Calling exit ...