Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01018/0.01018, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 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.001236/0.001236, allocations: 100.2 kB / 24.97 MB, free: 2.035 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.001497/0.001497, allocations: 210.5 kB / 28.68 MB, free: 3.324 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.45/1.45, allocations: 230.6 MB / 262.9 MB, free: 5.816 MB / 206.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.096/1.096, allocations: 130.7 MB / 450.4 MB, free: 6.426 MB / 350.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: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="cs",version="2.0",platforms={"static"}) [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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06455/0.06455, allocations: 20.61 MB / 0.6362 GB, free: 5.094 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.2347, allocations: 81.9 MB / 0.7162 GB, free: 3.102 MB / 0.5294 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.5258/0.7605, allocations: 53.29 MB / 0.7682 GB, free: 15.7 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04085/0.8013, allocations: 22.72 MB / 0.7904 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008394/0.8097, allocations: 127.4 kB / 0.7906 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009148/0.8189, allocations: 2.552 MB / 0.793 GB, free: 14.5 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.8353, allocations: 4.185 MB / 0.7971 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.8478, allocations: 4.055 MB / 0.8011 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0236/0.8714, allocations: 13.19 MB / 0.814 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008819/0.8803, allocations: 3.682 MB / 0.8176 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.8929, allocations: 5.329 MB / 0.8228 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01165/0.9046, allocations: 5.563 MB / 0.8282 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003953/0.9085, allocations: 0.8477 MB / 0.829 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.9189, allocations: 2.707 MB / 0.8317 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005931/0.9249, allocations: 2.846 MB / 0.8345 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.935, allocations: 3.486 MB / 0.8379 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02766/0.9626, allocations: 14.04 MB / 0.8516 GB, free: 8.062 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.9626, allocations: 0 / 0.8516 GB, free: 8.062 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9626, allocations: 4 kB / 0.8516 GB, free: 8.059 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005047/0.9631, allocations: 0 / 0.8516 GB, free: 8.059 MB / 0.6232 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.03006/0.9932, allocations: 9.006 MB / 0.8604 GB, free: 14.98 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.9932, allocations: 12.03 kB / 0.8604 GB, free: 14.97 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002257/0.9935, allocations: 132.7 kB / 0.8605 GB, free: 14.84 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003495/0.997, allocations: 0.7822 MB / 0.8613 GB, free: 14.05 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/1.003, allocations: 1.079 MB / 0.8623 GB, free: 12.96 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/1.019, allocations: 6.53 MB / 0.8687 GB, free: 6.367 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004949/1.019, allocations: 336.6 kB / 0.869 GB, free: 6.035 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002717/1.022, allocations: 419.9 kB / 0.8694 GB, free: 5.625 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03551/1.058, allocations: 14.27 MB / 0.8834 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002988/1.058, allocations: 59.44 kB / 0.8834 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/1.06, allocations: 227.4 kB / 0.8836 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000718/1.061, allocations: 434.4 kB / 0.884 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03039/1.091, allocations: 10.71 MB / 0.8945 GB, free: 10.13 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.07705/1.168, allocations: 50.63 MB / 0.9439 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02339/1.191, allocations: 7.879 MB / 0.9516 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007419/1.199, allocations: 3.172 MB / 0.9547 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/1.201, allocations: 333.7 kB / 0.9551 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02043/1.221, allocations: 6.702 MB / 0.9616 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=827): time 1.774e-05/1.221, allocations: 0 / 0.9616 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=828): time 0.1097/1.331, allocations: 44.84 MB / 1.005 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006576/1.331, allocations: 1.163 MB / 1.007 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/1.344, allocations: 6.181 MB / 1.013 GB, free: 14.79 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001611/1.345, allocations: 93.7 kB / 1.013 GB, free: 14.69 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003563/1.349, allocations: 3.065 MB / 1.016 GB, free: 11.61 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004605/1.353, allocations: 2.846 MB / 1.018 GB, free: 8.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005737/1.359, allocations: 1.913 MB / 1.02 GB, free: 6.809 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.359, allocations: 301.1 kB / 1.021 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009054/1.368, allocations: 4.535 MB / 1.025 GB, free: 1.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/1.382, allocations: 7.836 MB / 1.033 GB, free: 8.719 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9125/2.295, allocations: 85.25 MB / 1.116 GB, free: 312.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-05/2.295, allocations: 24 kB / 1.116 GB, free: 312.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02467/2.319, allocations: 13.5 MB / 1.129 GB, free: 299.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/2.32, allocations: 107.4 kB / 1.129 GB, free: 299.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01717/2.337, allocations: 10.2 MB / 1.139 GB, free: 289.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/2.339, allocations: 0.675 MB / 1.14 GB, free: 288.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/2.349, allocations: 2.422 MB / 1.142 GB, free: 285.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/2.361, allocations: 14.61 MB / 1.156 GB, free: 270.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007115/2.368, allocations: 430.7 kB / 1.157 GB, free: 270.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/2.37, allocations: 0.5777 MB / 1.157 GB, free: 269.6 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.01078/2.381, allocations: 6.392 MB / 1.164 GB, free: 263.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008665/2.389, allocations: 7.794 MB / 1.171 GB, free: 254 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5269/2.916, allocations: 84.85 MB / 1.254 GB, free: 167.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.229e-05/2.916, allocations: 35.61 kB / 1.254 GB, free: 167.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.0258/2.942, allocations: 13.38 MB / 1.267 GB, free: 154.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/2.942, allocations: 115.1 kB / 1.267 GB, free: 154.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01889/2.961, allocations: 10.1 MB / 1.277 GB, free: 144.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/2.963, allocations: 0.6825 MB / 1.278 GB, free: 143.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008966/2.972, allocations: 2.41 MB / 1.28 GB, free: 141.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/2.983, allocations: 14.62 MB / 1.295 GB, free: 126 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007751/2.991, allocations: 424.7 kB / 1.295 GB, free: 125.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/2.993, allocations: 0.5738 MB / 1.296 GB, free: 125 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: 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.002892/2.996, allocations: 0.8122 MB / 1.296 GB, free: 124.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/2.998, allocations: 0.759 MB / 1.297 GB, free: 123.7 MB / 0.8263 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.01936/3.018, allocations: 11.08 MB / 1.308 GB, free: 112.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.1801787979202345] Failed to read output from testmodel.py, exit status != 0: 3.1674940190277994 3.497140027 2.530390276 Calling exit ...