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.01062/0.01062, allocations: 1.747 MB / 21.35 MB, free: 480 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.001423/0.001423, allocations: 103 kB / 24.94 MB, free: 2.051 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.001637/0.001637, allocations: 209.9 kB / 28.65 MB, free: 3.34 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.59/1.59, allocations: 230.6 MB / 262.8 MB, free: 5.848 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.116/1.116, allocations: 130.7 MB / 450.4 MB, free: 6.395 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.06799/0.06799, allocations: 20.99 MB / 0.637 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.2638, allocations: 81.91 MB / 0.717 GB, free: 2.219 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.6489/0.9126, allocations: 53.31 MB / 0.7691 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04202/0.9547, allocations: 22.74 MB / 0.7913 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.965, allocations: 128.9 kB / 0.7914 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009651/0.9746, allocations: 2.519 MB / 0.7939 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01778/0.9924, allocations: 4.186 MB / 0.798 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01369/1.006, allocations: 4.036 MB / 0.8019 GB, free: 7.875 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02509/1.031, allocations: 13.19 MB / 0.8148 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008564/1.04, allocations: 3.927 MB / 0.8186 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/1.053, allocations: 5.326 MB / 0.8238 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/1.066, allocations: 5.372 MB / 0.8291 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00509/1.071, allocations: 0.8438 MB / 0.8299 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/1.086, allocations: 2.655 MB / 0.8325 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006781/1.092, allocations: 2.838 MB / 0.8353 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0116/1.104, allocations: 3.479 MB / 0.8387 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03233/1.136, allocations: 14.03 MB / 0.8524 GB, free: 7.438 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.136, allocations: 0 / 0.8524 GB, free: 7.438 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.314e-06/1.136, allocations: 0 / 0.8524 GB, free: 7.438 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005468/1.137, allocations: 1.5 kB / 0.8524 GB, free: 7.438 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.03317/1.17, allocations: 9.013 MB / 0.8612 GB, free: 14.36 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.17, allocations: 8.031 kB / 0.8612 GB, free: 14.35 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006313/1.176, allocations: 1.079 MB / 0.8622 GB, free: 13.27 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/1.196, allocations: 6.523 MB / 0.8686 GB, free: 6.668 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007418/1.197, allocations: 336.9 kB / 0.8689 GB, free: 6.336 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00328/1.2, allocations: 424 kB / 0.8693 GB, free: 5.922 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/1.244, allocations: 14.27 MB / 0.8833 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000489/1.245, allocations: 66.78 kB / 0.8833 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003543/1.248, allocations: 224 kB / 0.8835 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/1.249, allocations: 442.4 kB / 0.884 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03328/1.283, allocations: 10.65 MB / 0.8944 GB, free: 10.47 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.09715/1.38, allocations: 49.91 MB / 0.9431 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/1.403, allocations: 7.88 MB / 0.9508 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008092/1.411, allocations: 3.174 MB / 0.9539 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/1.413, allocations: 333.8 kB / 0.9542 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02086/1.434, allocations: 6.704 MB / 0.9608 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=827): time 2.062e-05/1.434, allocations: 2.625 kB / 0.9608 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=828): time 0.1155/1.549, allocations: 44.82 MB / 1.005 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007711/1.55, allocations: 1.156 MB / 1.006 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/1.562, allocations: 6.122 MB / 1.012 GB, free: 15.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001841/1.564, allocations: 93.7 kB / 1.012 GB, free: 15.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003359/1.567, allocations: 3.076 MB / 1.015 GB, free: 12.74 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.005122/1.572, allocations: 2.85 MB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004002/1.576, allocations: 1.913 MB / 1.019 GB, free: 7.941 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.576, allocations: 305.1 kB / 1.02 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008514/1.585, allocations: 4.542 MB / 1.024 GB, free: 3.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/1.598, allocations: 7.841 MB / 1.032 GB, free: 9.836 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.001/2.599, allocations: 85.24 MB / 1.115 GB, free: 313.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-05/2.6, allocations: 24 kB / 1.115 GB, free: 313.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02527/2.625, allocations: 13.49 MB / 1.128 GB, free: 300.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.952e-05/2.625, allocations: 107.4 kB / 1.128 GB, free: 300.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01715/2.642, allocations: 10.2 MB / 1.138 GB, free: 290 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/2.644, allocations: 0.6753 MB / 1.139 GB, free: 289.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008989/2.653, allocations: 2.422 MB / 1.141 GB, free: 286.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/2.665, allocations: 14.44 MB / 1.155 GB, free: 271.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008611/2.673, allocations: 433.2 kB / 1.156 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/2.675, allocations: 0.5816 MB / 1.156 GB, free: 270.8 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.01219/2.688, allocations: 6.396 MB / 1.163 GB, free: 264.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009133/2.697, allocations: 7.79 MB / 1.17 GB, free: 255.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.549/3.246, allocations: 84.86 MB / 1.253 GB, free: 169.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001941/3.246, allocations: 24 kB / 1.253 GB, free: 169.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03079/3.277, allocations: 13.37 MB / 1.266 GB, free: 156 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/3.277, allocations: 104.2 kB / 1.266 GB, free: 155.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01954/3.296, allocations: 10.12 MB / 1.276 GB, free: 145.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/3.298, allocations: 0.6868 MB / 1.277 GB, free: 145.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009425/3.308, allocations: 2.417 MB / 1.279 GB, free: 142.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/3.32, allocations: 14.44 MB / 1.293 GB, free: 127.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007928/3.328, allocations: 417.6 kB / 1.294 GB, free: 127.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/3.33, allocations: 0.5739 MB / 1.294 GB, free: 126.5 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.002872/3.333, allocations: 0.8172 MB / 1.295 GB, free: 125.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002293/3.335, allocations: 0.7378 MB / 1.296 GB, free: 125.3 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.02033/3.356, allocations: 11.13 MB / 1.307 GB, free: 114.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 8.017532559577376] Failed to read output from testmodel.py, exit status != 0: 3.533485943917185 3.938599817 2.403807063 Calling exit ...