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.009858/0.009858, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001251/0.001251, allocations: 99.77 kB / 24.18 MB, free: 2.438 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.001602/0.001602, allocations: 209.1 kB / 27.9 MB, free: 3.742 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.484/1.484, allocations: 230.6 MB / 262.1 MB, free: 5.824 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.035/1.035, allocations: 130.7 MB / 449.6 MB, free: 6.371 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: 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.0651/0.0651, allocations: 20.99 MB / 0.6363 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.2368, allocations: 81.9 MB / 0.7163 GB, free: 2.203 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.565/0.8017, allocations: 53.32 MB / 0.7684 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03662/0.8384, allocations: 22.74 MB / 0.7906 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009097/0.8475, allocations: 127.5 kB / 0.7907 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008828/0.8563, allocations: 2.525 MB / 0.7932 GB, free: 14.26 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.8719, allocations: 4.183 MB / 0.7972 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01258/0.8845, allocations: 4.037 MB / 0.8012 GB, free: 7.91 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02472/0.9092, allocations: 13.2 MB / 0.8141 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007739/0.9169, allocations: 3.916 MB / 0.8179 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/0.9288, allocations: 5.33 MB / 0.8231 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.9402, allocations: 5.367 MB / 0.8283 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00415/0.9444, allocations: 0.8503 MB / 0.8292 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.955, allocations: 2.646 MB / 0.8318 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00586/0.9608, allocations: 2.842 MB / 0.8345 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.9713, allocations: 3.479 MB / 0.8379 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02677/0.998, allocations: 14.02 MB / 0.8516 GB, free: 7.445 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.9981, allocations: 0 / 0.8516 GB, free: 7.445 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9981, allocations: 2.656 kB / 0.8516 GB, free: 7.445 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.000504/0.9986, allocations: 0 / 0.8516 GB, free: 7.445 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.02946/1.028, allocations: 9.014 MB / 0.8604 GB, free: 14.36 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/1.028, allocations: 8.031 kB / 0.8604 GB, free: 14.36 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005731/1.034, allocations: 1.079 MB / 0.8615 GB, free: 13.27 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.052, allocations: 6.532 MB / 0.8679 GB, free: 6.668 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005907/1.052, allocations: 328.5 kB / 0.8682 GB, free: 6.348 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002705/1.055, allocations: 432 kB / 0.8686 GB, free: 5.926 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03593/1.091, allocations: 14.27 MB / 0.8825 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002854/1.091, allocations: 59.44 kB / 0.8826 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00204/1.093, allocations: 224 kB / 0.8828 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007637/1.094, allocations: 438.4 kB / 0.8832 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03063/1.125, allocations: 10.65 MB / 0.8936 GB, free: 10.48 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.0804/1.205, allocations: 49.91 MB / 0.9424 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/1.228, allocations: 7.876 MB / 0.9501 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007388/1.235, allocations: 3.178 MB / 0.9532 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/1.237, allocations: 337.7 kB / 0.9535 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0196/1.256, allocations: 6.71 MB / 0.96 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=827): time 1.441e-05/1.256, allocations: 0 / 0.96 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=828): time 0.09945/1.356, allocations: 44.82 MB / 1.004 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006613/1.357, allocations: 1.148 MB / 1.005 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009903/1.366, allocations: 6.12 MB / 1.011 GB, free: 15.94 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/1.368, allocations: 96.33 kB / 1.011 GB, free: 15.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002855/1.371, allocations: 3.084 MB / 1.014 GB, free: 12.74 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003896/1.375, allocations: 2.846 MB / 1.017 GB, free: 9.867 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003458/1.378, allocations: 1.917 MB / 1.019 GB, free: 7.938 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.378, allocations: 308.9 kB / 1.019 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007855/1.386, allocations: 4.535 MB / 1.023 GB, free: 3.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/1.397, allocations: 7.835 MB / 1.031 GB, free: 9.852 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8593/2.257, allocations: 85.25 MB / 1.114 GB, free: 313.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.368e-05/2.257, allocations: 24 kB / 1.114 GB, free: 313.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02466/2.281, allocations: 13.48 MB / 1.127 GB, free: 300.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/2.281, allocations: 108.4 kB / 1.128 GB, free: 300.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01662/2.298, allocations: 10.19 MB / 1.138 GB, free: 290.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/2.3, allocations: 0.6933 MB / 1.138 GB, free: 289.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008707/2.308, allocations: 2.418 MB / 1.141 GB, free: 287.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/2.32, allocations: 14.44 MB / 1.155 GB, free: 271.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006832/2.326, allocations: 427.5 kB / 1.155 GB, free: 271.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/2.328, allocations: 0.5816 MB / 1.156 GB, free: 271 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.01016/2.338, allocations: 6.386 MB / 1.162 GB, free: 264.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00748/2.346, allocations: 7.802 MB / 1.17 GB, free: 255.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5242/2.87, allocations: 84.85 MB / 1.252 GB, free: 169.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.942e-05/2.87, allocations: 24 kB / 1.252 GB, free: 169.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02302/2.893, allocations: 13.38 MB / 1.265 GB, free: 156.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/2.893, allocations: 103.4 kB / 1.266 GB, free: 156.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01646/2.91, allocations: 10.11 MB / 1.275 GB, free: 145.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/2.911, allocations: 0.6881 MB / 1.276 GB, free: 145.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008505/2.92, allocations: 2.41 MB / 1.278 GB, free: 142.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/2.931, allocations: 14.45 MB / 1.293 GB, free: 127.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006505/2.937, allocations: 420.8 kB / 1.293 GB, free: 127.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/2.939, allocations: 0.5699 MB / 1.294 GB, free: 126.7 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.002285/2.941, allocations: 0.8161 MB / 1.294 GB, free: 125.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001909/2.943, allocations: 0.7359 MB / 1.295 GB, free: 125.4 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.01714/2.96, allocations: 11.13 MB / 1.306 GB, free: 114.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.139221468940377] Failed to read output from testmodel.py, exit status != 0: 3.0978303253650665 3.386645528 2.1066213990000002 Calling exit ...