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.01212/0.01212, allocations: 1.348 MB / 20.45 MB, free: 1.25 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.001679/0.001679, allocations: 79.25 kB / 24.02 MB, free: 2.586 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.002095/0.002095, allocations: 154.5 kB / 27.71 MB, free: 3.844 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.483/1.483, allocations: 177.2 MB / 208.4 MB, free: 7.664 MB / 190.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.03/1.03, allocations: 102.5 MB / 367.7 MB, free: 4.582 MB / 334.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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5364 GB, free: 7.152 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.791e-05, allocations: 3.406 kB / 0.5364 GB, free: 7.148 MB / 446.1 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.1827/0.1827, allocations: 66.99 MB / 0.6018 GB, free: 6.629 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.0507/0.2334, allocations: 22.46 MB / 0.6238 GB, free: 96 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007189/0.2406, allocations: 127.1 kB / 0.6239 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.2518, allocations: 2.542 MB / 0.6264 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01833/0.2702, allocations: 4.3 MB / 0.6306 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01502/0.2852, allocations: 4.085 MB / 0.6346 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02824/0.3134, allocations: 13.54 MB / 0.6478 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.3249, allocations: 3.939 MB / 0.6516 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02138/0.3463, allocations: 7.203 MB / 0.6587 GB, free: 12.19 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.3568, allocations: 4.825 MB / 0.6634 GB, free: 7.355 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003544/0.3603, allocations: 0.8477 MB / 0.6642 GB, free: 6.508 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00966/0.37, allocations: 2.679 MB / 0.6668 GB, free: 3.824 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.005398/0.3754, allocations: 2.924 MB / 0.6697 GB, free: 0.8906 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.008015/0.3834, allocations: 2.86 MB / 0.6725 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.3377/0.7212, allocations: 14.08 MB / 0.6862 GB, free: 48.96 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7212, allocations: 0.9062 kB / 0.6862 GB, free: 48.96 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7212, allocations: 0 / 0.6862 GB, free: 48.96 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004481/0.7216, allocations: 3.562 kB / 0.6862 GB, free: 48.96 MB / 0.5763 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.02658/0.7482, allocations: 8.911 MB / 0.6949 GB, free: 45.38 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.7483, allocations: 9.375 kB / 0.6949 GB, free: 45.38 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006165/0.7544, allocations: 1.078 MB / 0.696 GB, free: 44.87 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/0.7711, allocations: 6.517 MB / 0.7023 GB, free: 43.64 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.7714, allocations: 330.8 kB / 0.7027 GB, free: 43.63 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.7736, allocations: 424 kB / 0.7031 GB, free: 43.62 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/0.8042, allocations: 14.27 MB / 0.717 GB, free: 37.9 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/0.8044, allocations: 63.05 kB / 0.7171 GB, free: 37.9 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.8056, allocations: 223.3 kB / 0.7173 GB, free: 37.89 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006815/0.8063, allocations: 440 kB / 0.7177 GB, free: 37.89 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/0.8324, allocations: 10.65 MB / 0.7281 GB, free: 37.55 MB / 0.5763 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.05676/0.8892, allocations: 49.77 MB / 0.7767 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02321/0.9124, allocations: 7.874 MB / 0.7844 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007073/0.9194, allocations: 3.177 MB / 0.7875 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.9209, allocations: 342.7 kB / 0.7878 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01973/0.9406, allocations: 6.697 MB / 0.7944 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=827): time 1.24e-05/0.9407, allocations: 0 / 0.7944 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=828): time 0.1449/1.086, allocations: 44.84 MB / 0.8381 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009663/1.087, allocations: 1.148 MB / 0.8393 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01833/1.105, allocations: 6.12 MB / 0.8452 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.002276/1.107, allocations: 93.7 kB / 0.8453 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00498/1.112, allocations: 3.062 MB / 0.8483 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.006093/1.118, allocations: 2.812 MB / 0.8511 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007613/1.126, allocations: 1.894 MB / 0.8529 GB, free: 13.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.126, allocations: 311.7 kB / 0.8532 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009941/1.136, allocations: 4.535 MB / 0.8576 GB, free: 8.344 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/1.15, allocations: 7.828 MB / 0.8653 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6241/1.774, allocations: 85.26 MB / 0.9486 GB, free: 9.863 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.774, allocations: 24 kB / 0.9486 GB, free: 9.84 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03866/1.813, allocations: 13.48 MB / 0.9617 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/1.813, allocations: 110.1 kB / 0.9618 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02756/1.841, allocations: 10.2 MB / 0.9718 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/1.843, allocations: 0.6906 MB / 0.9725 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3485/2.192, allocations: 2.417 MB / 0.9748 GB, free: 252.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/2.206, allocations: 14.43 MB / 0.9889 GB, free: 242.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008761/2.215, allocations: 425.8 kB / 0.9893 GB, free: 242.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003156/2.218, allocations: 0.5809 MB / 0.9899 GB, free: 242.3 MB / 0.7794 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.01458/2.233, allocations: 6.385 MB / 0.9961 GB, free: 242.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01183/2.244, allocations: 7.797 MB / 1.004 GB, free: 238.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5543/2.799, allocations: 84.86 MB / 1.087 GB, free: 176.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001941/2.799, allocations: 27.98 kB / 1.087 GB, free: 176.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.0302/2.829, allocations: 13.37 MB / 1.1 GB, free: 164.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/2.829, allocations: 107.4 kB / 1.1 GB, free: 164.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02058/2.85, allocations: 10.12 MB / 1.11 GB, free: 153.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/2.852, allocations: 0.6737 MB / 1.11 GB, free: 153.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009168/2.861, allocations: 2.416 MB / 1.113 GB, free: 151 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/2.873, allocations: 14.43 MB / 1.127 GB, free: 135.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007726/2.88, allocations: 422.9 kB / 1.127 GB, free: 135.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/2.883, allocations: 0.5765 MB / 1.128 GB, free: 134.9 MB / 0.7794 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.004432/2.887, allocations: 0.8154 MB / 1.129 GB, free: 134.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003237/2.89, allocations: 0.7309 MB / 1.129 GB, free: 134 MB / 0.7794 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.02154/2.912, allocations: 11.12 MB / 1.14 GB, free: 123.7 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.744208358228207] Failed to read output from testmodel.py, exit status != 0: 3.0894224643707275 3.101355876 2.377311878 Calling exit ...