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.01482/0.01482, allocations: 1.791 MB / 21.89 MB, free: 2.637 MB / 18.57 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.001403/0.001403, allocations: 86.12 kB / 25.62 MB, free: 6.984 MB / 18.57 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.001165/0.001165, allocations: 171 kB / 29.46 MB, free: 3.18 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.8872/0.8872, allocations: 177.1 MB / 210.3 MB, free: 3.598 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6114/0.6114, allocations: 102.5 MB / 369.8 MB, free: 408 kB / 330.7 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 1.0.0 (/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.[0-9,]+.|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.[0-9,]+.",fileNamePrefix="ClaRa_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.[0-9,]+.|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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.509e-05, allocations: 6.594 kB / 469.9 MB, free: 19.04 MB / 410.8 MB 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.113/0.1131, allocations: 72.25 MB / 0.5294 GB, free: 48 kB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02411/0.1372, allocations: 23.29 MB / 0.5522 GB, free: 8.688 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.1394, allocations: 127.1 kB / 0.5523 GB, free: 8.562 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.1428, allocations: 2.538 MB / 0.5548 GB, free: 6.012 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.1481, allocations: 4.296 MB / 0.559 GB, free: 1.691 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.1534, allocations: 4.088 MB / 0.5629 GB, free: 13.59 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.1634, allocations: 13.52 MB / 0.5761 GB, free: 36 kB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004428/0.1679, allocations: 4.16 MB / 0.5802 GB, free: 11.8 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.1784, allocations: 7.215 MB / 0.5873 GB, free: 4.57 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005509/0.1839, allocations: 4.827 MB / 0.592 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008935/0.1848, allocations: 0.8516 MB / 0.5928 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003977/0.1888, allocations: 2.682 MB / 0.5954 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001961/0.1908, allocations: 2.936 MB / 0.5983 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.1932, allocations: 2.872 MB / 0.6011 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009128/0.2023, allocations: 9.083 MB / 0.61 GB, free: 13.25 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2023, allocations: 0 / 0.61 GB, free: 13.25 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2023, allocations: 0 / 0.61 GB, free: 13.25 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.246e-05/0.2024, allocations: 0 / 0.61 GB, free: 13.25 MB / 0.5262 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.009806/0.2122, allocations: 9.381 MB / 0.6191 GB, free: 3.766 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2123, allocations: 15.95 kB / 0.6191 GB, free: 3.75 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.2144, allocations: 1.409 MB / 0.6205 GB, free: 2.336 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006619/0.221, allocations: 6.053 MB / 0.6264 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.2212, allocations: 328.8 kB / 0.6267 GB, free: 11.86 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/0.2217, allocations: 452.3 kB / 0.6272 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.2347, allocations: 11.71 MB / 0.6386 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.962e-05/0.2348, allocations: 59.44 kB / 0.6387 GB, free: 13.35 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.2352, allocations: 224 kB / 0.6389 GB, free: 13.13 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003018/0.2355, allocations: 438.4 kB / 0.6393 GB, free: 12.7 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.2462, allocations: 5.627 MB / 0.6448 GB, free: 7.039 MB / 0.5574 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.2014/0.4476, allocations: 63.21 MB / 0.7065 GB, free: 91.26 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00962/0.4572, allocations: 5.148 MB / 0.7115 GB, free: 89.87 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.4593, allocations: 1.511 MB / 0.713 GB, free: 89.36 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/0.46, allocations: 349.1 kB / 0.7134 GB, free: 89.31 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007647/0.4676, allocations: 4.533 MB / 0.7178 GB, free: 88.13 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=827): time 8.556e-06/0.4676, allocations: 0 / 0.7178 GB, free: 88.13 MB / 0.5574 GB Notification: Performance of matching and sorting (n=828): time 0.04208/0.5097, allocations: 34.59 MB / 0.7516 GB, free: 68.75 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.5099, allocations: 1.149 MB / 0.7527 GB, free: 67.39 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006365/0.5162, allocations: 5.494 MB / 0.758 GB, free: 64.5 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005889/0.5168, allocations: 93.23 kB / 0.7581 GB, free: 64.42 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.5187, allocations: 3.302 MB / 0.7614 GB, free: 61.87 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/0.5206, allocations: 2.9 MB / 0.7642 GB, free: 59.55 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00245/0.523, allocations: 2.039 MB / 0.7662 GB, free: 58.38 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.5231, allocations: 480.3 kB / 0.7666 GB, free: 57.91 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/0.5266, allocations: 1.776 MB / 0.7684 GB, free: 56.81 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004955/0.5315, allocations: 6.341 MB / 0.7746 GB, free: 48.66 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/0.544, allocations: 9.896 MB / 0.7842 GB, free: 37.15 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.343e-05/0.544, allocations: 24 kB / 0.7843 GB, free: 37.13 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01449/0.5585, allocations: 8.222 MB / 0.7923 GB, free: 28.88 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.5586, allocations: 111.4 kB / 0.7924 GB, free: 28.76 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009779/0.5684, allocations: 5.139 MB / 0.7974 GB, free: 23.54 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/0.5718, allocations: 0.5822 MB / 0.798 GB, free: 22.97 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008765/0.5806, allocations: 2.396 MB / 0.8003 GB, free: 20.57 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.5907, allocations: 16.61 MB / 0.8165 GB, free: 3.008 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007433/0.5981, allocations: 394 kB / 0.8169 GB, free: 2.625 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/0.6001, allocations: 0.5816 MB / 0.8175 GB, free: 2.043 MB / 0.5574 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.007278/0.6074, allocations: 1.969 MB / 0.8194 GB, free: 52 kB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005331/0.6127, allocations: 6.313 MB / 0.8256 GB, free: 7.883 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01118/0.6239, allocations: 9.826 MB / 0.8352 GB, free: 12.45 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-05/0.6239, allocations: 24 kB / 0.8352 GB, free: 12.43 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01228/0.6362, allocations: 8.141 MB / 0.8431 GB, free: 4.258 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.6363, allocations: 112.3 kB / 0.8432 GB, free: 4.137 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008036/0.6443, allocations: 5.087 MB / 0.8482 GB, free: 14.97 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.6456, allocations: 0.5791 MB / 0.8488 GB, free: 14.41 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.6502, allocations: 2.388 MB / 0.8511 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/0.6581, allocations: 16.6 MB / 0.8673 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/0.6614, allocations: 388.9 kB / 0.8677 GB, free: 10.09 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006313/0.662, allocations: 0.5808 MB / 0.8683 GB, free: 9.508 MB / 0.6199 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.001666/0.6637, allocations: 0.888 MB / 0.8691 GB, free: 8.605 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/0.6651, allocations: 0.862 MB / 0.87 GB, free: 7.738 MB / 0.6199 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.1926/0.8576, allocations: 9.52 MB / 0.8793 GB, free: 186 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3636385849677026]