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.01067/0.01067, allocations: 2.338 MB / 21.18 MB, free: 3.551 MB / 13.93 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.0007404/0.0007404, allocations: 116.9 kB / 24.89 MB, free: 252 kB / 13.93 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.0009033/0.0009033, allocations: 220.2 kB / 28.73 MB, free: 1.059 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.9286/0.9286, allocations: 230.6 MB / 263 MB, free: 0.5273 MB / 202.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.6865/0.6865, allocations: 130.7 MB / 450.7 MB, free: 2.797 MB / 346.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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03067/0.03067, allocations: 29.94 MB / 0.6466 GB, free: 6.844 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.151, allocations: 82.04 MB / 0.7267 GB, free: 4.691 MB / 0.5418 GB 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.MechanicalSeparation.Check.TestBottle): time 0.3455/0.4965, allocations: 53.3 MB / 0.7788 GB, free: 15.08 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02422/0.5207, allocations: 22.75 MB / 0.801 GB, free: 13.05 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.5238, allocations: 125.9 kB / 0.8011 GB, free: 12.99 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003676/0.5274, allocations: 2.525 MB / 0.8036 GB, free: 11.23 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006058/0.5335, allocations: 4.173 MB / 0.8076 GB, free: 7.941 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.5391, allocations: 4.047 MB / 0.8116 GB, free: 4.121 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01035/0.5494, allocations: 13.19 MB / 0.8245 GB, free: 6.898 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.5533, allocations: 3.923 MB / 0.8283 GB, free: 2.902 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.5587, allocations: 5.33 MB / 0.8335 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007008/0.5657, allocations: 5.367 MB / 0.8387 GB, free: 8.168 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.001777/0.5675, allocations: 0.8464 MB / 0.8396 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/0.5727, allocations: 2.65 MB / 0.8422 GB, free: 4.676 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.5748, allocations: 2.841 MB / 0.8449 GB, free: 1.828 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.003361/0.5782, allocations: 3.479 MB / 0.8483 GB, free: 14.33 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.5893, allocations: 14.03 MB / 0.862 GB, free: 264 kB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5893, allocations: 4 kB / 0.862 GB, free: 260 kB / 0.6199 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5893, allocations: 2.719 kB / 0.862 GB, free: 260 kB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0001958/0.5895, allocations: 0 / 0.862 GB, free: 260 kB / 0.6199 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.01114/0.6007, allocations: 9.003 MB / 0.8708 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6007, allocations: 14.66 kB / 0.8708 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007018/0.6014, allocations: 0.7783 MB / 0.8716 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.6031, allocations: 1.079 MB / 0.8727 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007144/0.6102, allocations: 6.549 MB / 0.879 GB, free: 14.67 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.6104, allocations: 334.1 kB / 0.8794 GB, free: 14.35 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.6109, allocations: 419.9 kB / 0.8798 GB, free: 13.94 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.6256, allocations: 14.28 MB / 0.8937 GB, free: 13.86 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.444e-05/0.6256, allocations: 59.44 kB / 0.8938 GB, free: 13.8 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005306/0.6262, allocations: 224 kB / 0.894 GB, free: 13.58 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002868/0.6265, allocations: 438.4 kB / 0.8944 GB, free: 13.15 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.6405, allocations: 10.65 MB / 0.9048 GB, free: 2.488 MB / 0.6668 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.03432/0.6749, allocations: 50.61 MB / 0.9542 GB, free: 14.35 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.686, allocations: 7.885 MB / 0.9619 GB, free: 6.316 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/0.6893, allocations: 3.176 MB / 0.965 GB, free: 3.07 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.69, allocations: 337.9 kB / 0.9653 GB, free: 2.746 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008859/0.6988, allocations: 6.705 MB / 0.9719 GB, free: 11.89 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=827): time 7.344e-06/0.6988, allocations: 0 / 0.9719 GB, free: 11.89 MB / 0.7449 GB Notification: Performance of matching and sorting (n=828): time 0.05103/0.7499, allocations: 44.85 MB / 1.016 GB, free: 14.7 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003123/0.7502, allocations: 1.156 MB / 1.017 GB, free: 13.28 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/0.7567, allocations: 6.324 MB / 1.023 GB, free: 6.961 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/0.7578, allocations: 100.3 kB / 1.023 GB, free: 6.859 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.7595, allocations: 3.058 MB / 1.026 GB, free: 3.781 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.002106/0.7616, allocations: 2.854 MB / 1.029 GB, free: 0.9023 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/0.7636, allocations: 1.917 MB / 1.031 GB, free: 14.97 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.7637, allocations: 303.8 kB / 1.031 GB, free: 14.68 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005081/0.7687, allocations: 4.539 MB / 1.035 GB, free: 10.11 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006366/0.7751, allocations: 7.838 MB / 1.043 GB, free: 0.8789 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5021/1.277, allocations: 85.24 MB / 1.126 GB, free: 300.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.048e-05/1.277, allocations: 28.94 kB / 1.126 GB, free: 300.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01805/1.295, allocations: 13.49 MB / 1.14 GB, free: 287.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.59e-05/1.295, allocations: 107.4 kB / 1.14 GB, free: 287.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01337/1.309, allocations: 10.2 MB / 1.15 GB, free: 277 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/1.31, allocations: 0.6814 MB / 1.15 GB, free: 276.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005372/1.315, allocations: 2.428 MB / 1.153 GB, free: 273.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/1.322, allocations: 14.6 MB / 1.167 GB, free: 258.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/1.327, allocations: 425.4 kB / 1.167 GB, free: 258.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.328, allocations: 0.5816 MB / 1.168 GB, free: 257.5 MB / 0.823 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.007861/1.336, allocations: 6.388 MB / 1.174 GB, free: 251.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005949/1.342, allocations: 7.794 MB / 1.182 GB, free: 241.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2635/1.605, allocations: 84.87 MB / 1.265 GB, free: 155.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.76e-05/1.605, allocations: 24 kB / 1.265 GB, free: 155.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01731/1.623, allocations: 13.38 MB / 1.278 GB, free: 142.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/1.623, allocations: 107.4 kB / 1.278 GB, free: 142.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01261/1.635, allocations: 10.12 MB / 1.288 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.637, allocations: 0.6889 MB / 1.288 GB, free: 131.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005382/1.642, allocations: 2.41 MB / 1.291 GB, free: 129.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/1.649, allocations: 14.62 MB / 1.305 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.654, allocations: 415.6 kB / 1.305 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.655, allocations: 0.5778 MB / 1.306 GB, free: 112.9 MB / 0.823 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.001803/1.657, allocations: 0.8039 MB / 1.307 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.658, allocations: 0.7604 MB / 1.307 GB, free: 111.6 MB / 0.823 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.01235/1.671, allocations: 11.14 MB / 1.318 GB, free: 100.8 MB / 0.823 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.859292523935437]