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.01269/0.01269, allocations: 1.775 MB / 18.12 MB, free: 4.504 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.001191/0.001191, allocations: 107.6 kB / 21.36 MB, free: 1.566 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.0015/0.0015, allocations: 214.4 kB / 24.75 MB, free: 3.242 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.55/1.55, allocations: 230.6 MB / 258.5 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.194/1.194, allocations: 130.6 MB / 445.6 MB, free: 14.92 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.409/0.409, allocations: 46.15 MB / 0.6549 GB, free: 30.71 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.6106, allocations: 89.04 MB / 0.7419 GB, free: 2.453 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestBottle): time 0.02866/0.6393, allocations: 23.32 MB / 0.7647 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04408/0.6833, allocations: 23.44 MB / 0.7876 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006858/0.6902, allocations: 127.1 kB / 0.7877 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007868/0.6981, allocations: 2.586 MB / 0.7902 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.7109, allocations: 4.085 MB / 0.7942 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.7216, allocations: 3.956 MB / 0.7981 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02047/0.7421, allocations: 13.19 MB / 0.8109 GB, free: 11.51 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006886/0.749, allocations: 3.967 MB / 0.8148 GB, free: 7.473 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.759, allocations: 5.299 MB / 0.82 GB, free: 2.156 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.7692, allocations: 5.552 MB / 0.8254 GB, free: 12.58 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.002932/0.7721, allocations: 0.8516 MB / 0.8262 GB, free: 11.73 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008445/0.7805, allocations: 3.225 MB / 0.8294 GB, free: 8.504 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004199/0.7847, allocations: 2.846 MB / 0.8322 GB, free: 5.648 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.008697/0.7934, allocations: 4.482 MB / 0.8366 GB, free: 1.145 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02799/0.8214, allocations: 14.07 MB / 0.8503 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.8214, allocations: 3.984 kB / 0.8503 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8214, allocations: 0 / 0.8503 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004926/0.8219, allocations: 0 / 0.8503 GB, free: 3.02 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.02742/0.8493, allocations: 9.084 MB / 0.8592 GB, free: 9.816 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.8494, allocations: 8.031 kB / 0.8592 GB, free: 9.809 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.8538, allocations: 1.084 MB / 0.8602 GB, free: 8.719 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.8678, allocations: 6.7 MB / 0.8668 GB, free: 1.945 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/0.8682, allocations: 336.8 kB / 0.8671 GB, free: 1.613 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.8692, allocations: 420.8 kB / 0.8675 GB, free: 1.203 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4606/1.33, allocations: 12.6 MB / 0.8798 GB, free: 105 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/1.33, allocations: 60.28 kB / 0.8799 GB, free: 105 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/1.331, allocations: 223.8 kB / 0.8801 GB, free: 104.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006805/1.332, allocations: 439.3 kB / 0.8805 GB, free: 104.8 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03051/1.362, allocations: 10.63 MB / 0.8909 GB, free: 101.6 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.07235/1.435, allocations: 53.97 MB / 0.9436 GB, free: 54.94 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.458, allocations: 8.052 MB / 0.9515 GB, free: 50.35 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007994/1.466, allocations: 3.124 MB / 0.9545 GB, free: 48.51 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/1.468, allocations: 0.5158 MB / 0.955 GB, free: 48.21 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01894/1.487, allocations: 6.642 MB / 0.9615 GB, free: 44.34 MB / 0.67 GB Notification: Performance of pre-optimization done (n=827): time 1.755e-05/1.487, allocations: 0 / 0.9615 GB, free: 44.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=828): time 0.1007/1.588, allocations: 45.23 MB / 1.006 GB, free: 2.758 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000398/1.588, allocations: 1.156 MB / 1.007 GB, free: 1.344 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/1.602, allocations: 6.18 MB / 1.013 GB, free: 11.24 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.002436/1.605, allocations: 89.7 kB / 1.013 GB, free: 11.14 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.00448/1.609, allocations: 3.073 MB / 1.016 GB, free: 8.355 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.006764/1.616, allocations: 2.847 MB / 1.019 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007061/1.623, allocations: 1.922 MB / 1.021 GB, free: 3.898 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.623, allocations: 301.1 kB / 1.021 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/1.634, allocations: 4.472 MB / 1.025 GB, free: 15.12 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01493/1.649, allocations: 7.298 MB / 1.032 GB, free: 6.672 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6344/2.283, allocations: 85.22 MB / 1.116 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.912e-05/2.283, allocations: 24 kB / 1.116 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03558/2.319, allocations: 13.41 MB / 1.129 GB, free: 3.605 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/2.319, allocations: 107.4 kB / 1.129 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02509/2.344, allocations: 10.11 MB / 1.139 GB, free: 9.312 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/2.346, allocations: 0.6812 MB / 1.139 GB, free: 8.629 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/2.358, allocations: 2.426 MB / 1.142 GB, free: 6.199 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/2.378, allocations: 15.52 MB / 1.157 GB, free: 5.562 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0089/2.387, allocations: 423.2 kB / 1.157 GB, free: 5.148 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/2.389, allocations: 0.5777 MB / 1.158 GB, free: 4.57 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.01577/2.405, allocations: 6.334 MB / 1.164 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01451/2.42, allocations: 7.248 MB / 1.171 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.093/3.513, allocations: 84.84 MB / 1.254 GB, free: 260 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001159/3.513, allocations: 24 kB / 1.254 GB, free: 260 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03228/3.545, allocations: 13.31 MB / 1.267 GB, free: 247.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/3.545, allocations: 107.4 kB / 1.267 GB, free: 247.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0232/3.569, allocations: 10.03 MB / 1.277 GB, free: 237.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/3.571, allocations: 0.6833 MB / 1.278 GB, free: 236.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009797/3.581, allocations: 2.413 MB / 1.28 GB, free: 234.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/3.594, allocations: 15.51 MB / 1.295 GB, free: 218 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0086/3.602, allocations: 431 kB / 1.295 GB, free: 217.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/3.605, allocations: 0.5738 MB / 1.296 GB, free: 217 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.00476/3.61, allocations: 0.8067 MB / 1.297 GB, free: 216.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003873/3.614, allocations: 0.7509 MB / 1.298 GB, free: 216.1 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.02569/3.639, allocations: 11.09 MB / 1.308 GB, free: 205.4 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.472891779994825] Failed to read output from testmodel.py, exit status != 0: 3.6498994739959016 3.660236549 2.836098681 Calling exit ...