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.008758/0.008758, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.0008739/0.0008739, allocations: 83.06 kB / 26.19 MB, free: 6.078 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.0008958/0.0008958, allocations: 167.9 kB / 30.12 MB, free: 2.184 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.9445/0.9445, allocations: 177.2 MB / 211.1 MB, free: 3.469 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6424/0.6424, allocations: 102.5 MB / 370.6 MB, free: 224 kB / 330.7 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 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_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.[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_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 471.2 MB, free: 18.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.442e-05, allocations: 2.312 kB / 471.2 MB, free: 18.79 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.1215/0.1215, allocations: 71.82 MB / 0.5303 GB, free: 15.8 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02707/0.1486, allocations: 23.2 MB / 0.553 GB, free: 8.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.152, allocations: 127.1 kB / 0.5531 GB, free: 8.418 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00381/0.1558, allocations: 2.531 MB / 0.5555 GB, free: 5.875 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.1619, allocations: 4.319 MB / 0.5598 GB, free: 1.531 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00647/0.1684, allocations: 4.096 MB / 0.5638 GB, free: 13.43 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.1806, allocations: 13.51 MB / 0.577 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005359/0.1859, allocations: 4.163 MB / 0.581 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1324/0.3184, allocations: 52.46 MB / 0.6323 GB, free: 8.328 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008615/0.327, allocations: 4.737 MB / 0.6369 GB, free: 3.578 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001832/0.3288, allocations: 0.8086 MB / 0.6377 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/0.3343, allocations: 2.632 MB / 0.6402 GB, free: 136 kB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.2113/0.5457, allocations: 2.831 MB / 0.643 GB, free: 81.4 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005769/0.5514, allocations: 2.807 MB / 0.6457 GB, free: 81.4 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.562, allocations: 8.981 MB / 0.6545 GB, free: 80.75 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.562, allocations: 1.875 kB / 0.6545 GB, free: 80.75 MB / 0.5418 GB Notification: Performance of FrontEnd: time 9.02e-07/0.562, allocations: 0 / 0.6545 GB, free: 80.75 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001262/0.5621, allocations: 0 / 0.6545 GB, free: 80.75 MB / 0.5418 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.01026/0.5723, allocations: 9.141 MB / 0.6634 GB, free: 76.93 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5724, allocations: 11.59 kB / 0.6635 GB, free: 76.93 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.5745, allocations: 1.345 MB / 0.6648 GB, free: 76.43 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/0.5796, allocations: 4.876 MB / 0.6695 GB, free: 75.28 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.5798, allocations: 331.8 kB / 0.6698 GB, free: 75.27 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005188/0.5803, allocations: 450.5 kB / 0.6703 GB, free: 75.27 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.5917, allocations: 11.32 MB / 0.6813 GB, free: 67.82 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.5919, allocations: 59.81 kB / 0.6814 GB, free: 67.82 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004738/0.5923, allocations: 227.4 kB / 0.6816 GB, free: 67.82 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004313/0.5928, allocations: 438.6 kB / 0.682 GB, free: 67.81 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009938/0.6027, allocations: 5.034 MB / 0.6869 GB, free: 67.64 MB / 0.5418 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.03202/0.6347, allocations: 63.26 MB / 0.7487 GB, free: 12.09 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008297/0.643, allocations: 4.835 MB / 0.7534 GB, free: 9.98 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.6446, allocations: 1.303 MB / 0.7547 GB, free: 9.41 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/0.6452, allocations: 344.2 kB / 0.755 GB, free: 9.301 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006829/0.652, allocations: 4.334 MB / 0.7593 GB, free: 7.254 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=827): time 1.172e-05/0.652, allocations: 0 / 0.7593 GB, free: 7.254 MB / 0.5418 GB Notification: Performance of matching and sorting (n=828): time 0.03161/0.6836, allocations: 14.56 MB / 0.7735 GB, free: 0.6719 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000408/0.6841, allocations: 1.532 MB / 0.775 GB, free: 14.79 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005959/0.69, allocations: 5.363 MB / 0.7802 GB, free: 10.28 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.6905, allocations: 97.7 kB / 0.7803 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.6925, allocations: 3.34 MB / 0.7836 GB, free: 7.055 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002375/0.6949, allocations: 2.931 MB / 0.7864 GB, free: 4.293 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002404/0.6973, allocations: 2.087 MB / 0.7885 GB, free: 2.379 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6974, allocations: 480.7 kB / 0.7889 GB, free: 1.906 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.6996, allocations: 1.455 MB / 0.7904 GB, free: 440 kB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/0.7046, allocations: 6.566 MB / 0.7968 GB, free: 8.125 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/0.7151, allocations: 9.077 MB / 0.8056 GB, free: 14.01 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.931e-05/0.7152, allocations: 27.94 kB / 0.8057 GB, free: 13.98 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01252/0.7277, allocations: 7.491 MB / 0.813 GB, free: 7.023 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.7278, allocations: 111 kB / 0.8131 GB, free: 6.906 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007046/0.7348, allocations: 4.591 MB / 0.8176 GB, free: 2.281 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.7363, allocations: 0.5721 MB / 0.8181 GB, free: 1.727 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/0.7417, allocations: 2.385 MB / 0.8205 GB, free: 15.49 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009063/0.7508, allocations: 16.39 MB / 0.8365 GB, free: 14.39 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005303/0.7561, allocations: 380.5 kB / 0.8368 GB, free: 14.03 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008605/0.7569, allocations: 0.5152 MB / 0.8373 GB, free: 13.51 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004437/0.7614, allocations: 1.643 MB / 0.8389 GB, free: 11.86 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004937/0.7663, allocations: 6.543 MB / 0.8453 GB, free: 3.566 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01038/0.7767, allocations: 9.016 MB / 0.8541 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.898e-05/0.7767, allocations: 24 kB / 0.8541 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01181/0.7885, allocations: 7.47 MB / 0.8614 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.7886, allocations: 108.6 kB / 0.8615 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006651/0.7952, allocations: 4.544 MB / 0.866 GB, free: 13.23 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.7965, allocations: 0.5646 MB / 0.8665 GB, free: 12.68 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/0.8014, allocations: 2.376 MB / 0.8689 GB, free: 10.31 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2567/1.058, allocations: 16.37 MB / 0.8848 GB, free: 168.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/1.064, allocations: 380 kB / 0.8852 GB, free: 168.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008467/1.065, allocations: 0.4994 MB / 0.8857 GB, free: 168.1 MB / 0.6512 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.002217/1.067, allocations: 0.9057 MB / 0.8866 GB, free: 167.8 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/1.069, allocations: 0.8598 MB / 0.8874 GB, free: 167.8 MB / 0.6512 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 1197 equation(s) and 1145 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.01171/1.081, allocations: 9.295 MB / 0.8965 GB, free: 167.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.769423129968345]