Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle.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.01692/0.01692, allocations: 1.78 MB / 18.83 MB, free: 4.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.001594/0.001594, allocations: 107.6 kB / 22.07 MB, free: 1.016 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.002196/0.002196, allocations: 216.3 kB / 25.45 MB, free: 3.289 MB / 14.72 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.416/1.416, allocations: 230.6 MB / 259.3 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] 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 1.067/1.067, allocations: 130.5 MB / 446.3 MB, free: 14.64 MB / 350.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4041/0.4041, allocations: 46.15 MB / 0.6556 GB, free: 30.79 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.5777, allocations: 89.04 MB / 0.7426 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestBottle): time 0.02529/0.603, allocations: 23.32 MB / 0.7654 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03724/0.6402, allocations: 23.42 MB / 0.7882 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00561/0.6459, allocations: 127.1 kB / 0.7884 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007152/0.653, allocations: 2.59 MB / 0.7909 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.6649, allocations: 4.101 MB / 0.7949 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01018/0.6751, allocations: 3.952 MB / 0.7988 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01876/0.6938, allocations: 13.2 MB / 0.8116 GB, free: 11.43 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007026/0.7009, allocations: 3.959 MB / 0.8155 GB, free: 7.398 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.7111, allocations: 5.307 MB / 0.8207 GB, free: 2.074 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.7213, allocations: 5.548 MB / 0.8261 GB, free: 12.5 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.002894/0.7242, allocations: 0.8477 MB / 0.8269 GB, free: 11.66 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008295/0.7325, allocations: 3.237 MB / 0.8301 GB, free: 8.418 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004427/0.7369, allocations: 2.839 MB / 0.8329 GB, free: 5.57 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.00819/0.7451, allocations: 4.486 MB / 0.8373 GB, free: 1.062 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02183/0.7669, allocations: 14.08 MB / 0.851 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.767, allocations: 0 / 0.851 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.268e-06/0.767, allocations: 3.984 kB / 0.851 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004181/0.7674, allocations: 0 / 0.851 GB, free: 2.934 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1666 * Number of variables: 1666 Notification: Performance of Generate backend data structure: time 0.02207/0.7894, allocations: 9.081 MB / 0.8599 GB, free: 9.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.7895, allocations: 8.031 kB / 0.8599 GB, free: 9.723 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.7929, allocations: 1.077 MB / 0.8609 GB, free: 8.641 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.8062, allocations: 6.705 MB / 0.8675 GB, free: 1.859 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.8065, allocations: 324.9 kB / 0.8678 GB, free: 1.539 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.8076, allocations: 436 kB / 0.8682 GB, free: 1.113 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3931/1.201, allocations: 12.59 MB / 0.8805 GB, free: 106.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/1.201, allocations: 59.75 kB / 0.8806 GB, free: 106.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006297/1.201, allocations: 223.9 kB / 0.8808 GB, free: 106.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004513/1.202, allocations: 439.4 kB / 0.8812 GB, free: 106.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02522/1.227, allocations: 10.64 MB / 0.8916 GB, free: 103.2 MB / 0.67 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.06303/1.29, allocations: 53.97 MB / 0.9443 GB, free: 56.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0214/1.312, allocations: 8.058 MB / 0.9522 GB, free: 52.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006194/1.318, allocations: 3.124 MB / 0.9552 GB, free: 50.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/1.319, allocations: 0.5268 MB / 0.9557 GB, free: 50 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01676/1.336, allocations: 6.635 MB / 0.9622 GB, free: 46.13 MB / 0.67 GB Notification: Performance of pre-optimization done (n=827): time 1.498e-05/1.336, allocations: 2.656 kB / 0.9622 GB, free: 46.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=828): time 0.08645/1.422, allocations: 45.23 MB / 1.006 GB, free: 4.805 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/1.423, allocations: 1.151 MB / 1.007 GB, free: 3.395 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009411/1.432, allocations: 6.183 MB / 1.014 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001671/1.434, allocations: 93.7 kB / 1.014 GB, free: 13.13 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002973/1.437, allocations: 3.068 MB / 1.017 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.004446/1.441, allocations: 2.841 MB / 1.019 GB, free: 7.266 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003836/1.445, allocations: 1.92 MB / 1.021 GB, free: 5.336 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.445, allocations: 301.1 kB / 1.022 GB, free: 5.039 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008381/1.454, allocations: 4.476 MB / 1.026 GB, free: 0.5508 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/1.466, allocations: 7.291 MB / 1.033 GB, free: 8.113 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5705/2.036, allocations: 85.22 MB / 1.116 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-05/2.036, allocations: 25.25 kB / 1.116 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02977/2.066, allocations: 13.42 MB / 1.129 GB, free: 5.023 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/2.066, allocations: 107.4 kB / 1.13 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02059/2.087, allocations: 10.11 MB / 1.139 GB, free: 10.73 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/2.089, allocations: 0.6854 MB / 1.14 GB, free: 10.04 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009886/2.099, allocations: 2.422 MB / 1.142 GB, free: 7.617 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/2.116, allocations: 15.51 MB / 1.158 GB, free: 6.988 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008218/2.124, allocations: 427.2 kB / 1.158 GB, free: 6.57 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/2.126, allocations: 0.5791 MB / 1.159 GB, free: 5.992 MB / 0.8263 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01317/2.14, allocations: 6.327 MB / 1.165 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01117/2.151, allocations: 7.252 MB / 1.172 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9893/3.14, allocations: 84.84 MB / 1.255 GB, free: 262.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-05/3.14, allocations: 26.56 kB / 1.255 GB, free: 262.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02359/3.164, allocations: 13.32 MB / 1.268 GB, free: 250.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/3.164, allocations: 103.4 kB / 1.268 GB, free: 250.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01579/3.18, allocations: 10.03 MB / 1.278 GB, free: 240.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/3.181, allocations: 0.6903 MB / 1.278 GB, free: 240.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008445/3.19, allocations: 2.404 MB / 1.281 GB, free: 237.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/3.201, allocations: 15.51 MB / 1.296 GB, free: 221.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006903/3.208, allocations: 422.2 kB / 1.296 GB, free: 221 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/3.209, allocations: 0.5778 MB / 1.297 GB, free: 220.5 MB / 0.8575 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 16 (timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition2,$whenCondition1,valveVLE_L1_2.pressureLoss.normIsValid,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1193 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,3,87.5%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002407/3.212, allocations: 0.8104 MB / 1.297 GB, free: 219.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/3.214, allocations: 0.7525 MB / 1.298 GB, free: 219.5 MB / 0.8575 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 1200 equation(s) and 1148 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (cyclone.fluidIn.q, cyclone.fluidIn.cp, cyclone.fluidIn.cv, cyclone.fluidIn.beta, cyclone.fluidIn.kappa, cyclone.fluidIn.drhodp_hxi, cyclone.fluidIn.drhodh_pxi, _, cyclone.fluidIn.w, cyclone.fluidIn.gamma) = ($cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45) has size 9 but 7 variables ($whenCondition1, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, timeTable.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/3.23, allocations: 11.09 MB / 1.309 GB, free: 208.9 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.769928156048991] Failed to read output from testmodel.py, exit status != 0: 3.2383106109919026 3.245424482 2.476233921 Calling exit ...