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.00817/0.00817, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0008433/0.0008433, allocations: 86.52 kB / 25.15 MB, free: 7.465 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.0009178/0.0009178, allocations: 164.3 kB / 29.05 MB, free: 3.672 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.9804/0.9804, allocations: 177.2 MB / 210 MB, free: 3.547 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.6621/0.6621, allocations: 102.5 MB / 369.5 MB, free: 364 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.533e-06/1.533e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.833e-05, allocations: 3.438 kB / 469.9 MB, free: 18.98 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.1208/0.1208, allocations: 72.4 MB / 0.5296 GB, free: 15.5 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03041/0.1512, allocations: 23.32 MB / 0.5524 GB, free: 8.113 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.1536, allocations: 127.1 kB / 0.5525 GB, free: 7.988 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.1579, allocations: 2.538 MB / 0.555 GB, free: 5.438 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.1642, allocations: 4.296 MB / 0.5592 GB, free: 1.117 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006218/0.1704, allocations: 4.092 MB / 0.5632 GB, free: 13.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01168/0.1821, allocations: 13.52 MB / 0.5764 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004362/0.1865, allocations: 4.16 MB / 0.5805 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/0.1926, allocations: 7.215 MB / 0.5875 GB, free: 3.988 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005306/0.1979, allocations: 4.831 MB / 0.5922 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.1996, allocations: 0.8477 MB / 0.5931 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009172/0.2088, allocations: 2.679 MB / 0.5957 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00477/0.2136, allocations: 2.94 MB / 0.5985 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.007317/0.2209, allocations: 2.872 MB / 0.6013 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02082/0.2417, allocations: 9.087 MB / 0.6102 GB, free: 12.67 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2417, allocations: 0 / 0.6102 GB, free: 12.67 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2417, allocations: 0 / 0.6102 GB, free: 12.67 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003829/0.2421, allocations: 0 / 0.6102 GB, free: 12.67 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.01109/0.2532, allocations: 9.377 MB / 0.6194 GB, free: 3.184 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2532, allocations: 8.031 kB / 0.6194 GB, free: 3.176 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.2552, allocations: 1.42 MB / 0.6208 GB, free: 1.75 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006438/0.2617, allocations: 6.066 MB / 0.6267 GB, free: 11.59 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.2619, allocations: 328.9 kB / 0.627 GB, free: 11.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004938/0.2624, allocations: 452.3 kB / 0.6274 GB, free: 10.82 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.275, allocations: 11.71 MB / 0.6389 GB, free: 12.8 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.47e-05/0.2751, allocations: 59.44 kB / 0.6389 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.2755, allocations: 220 kB / 0.6391 GB, free: 12.53 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003168/0.2758, allocations: 446.3 kB / 0.6396 GB, free: 12.09 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.2863, allocations: 5.627 MB / 0.6451 GB, free: 6.434 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.2556/0.542, allocations: 63.2 MB / 0.7068 GB, free: 37.8 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008773/0.5507, allocations: 5.16 MB / 0.7118 GB, free: 37.04 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.5529, allocations: 1.511 MB / 0.7133 GB, free: 36.73 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.5535, allocations: 345.4 kB / 0.7136 GB, free: 36.71 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007434/0.5609, allocations: 4.534 MB / 0.7181 GB, free: 36.09 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=827): time 9.188e-06/0.5609, allocations: 2.688 kB / 0.7181 GB, free: 36.09 MB / 0.5574 GB Notification: Performance of matching and sorting (n=828): time 0.04486/0.6058, allocations: 34.58 MB / 0.7518 GB, free: 19.83 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/0.606, allocations: 1.149 MB / 0.753 GB, free: 18.48 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/0.6111, allocations: 5.491 MB / 0.7583 GB, free: 17.62 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005566/0.6117, allocations: 95.64 kB / 0.7584 GB, free: 17.59 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.6133, allocations: 3.303 MB / 0.7616 GB, free: 16.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/0.6149, allocations: 2.9 MB / 0.7645 GB, free: 14.18 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/0.6169, allocations: 2.043 MB / 0.7665 GB, free: 13 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.6169, allocations: 476.8 kB / 0.7669 GB, free: 12.53 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.6196, allocations: 1.787 MB / 0.7687 GB, free: 11.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/0.6237, allocations: 6.333 MB / 0.7748 GB, free: 5.41 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.634, allocations: 9.9 MB / 0.7845 GB, free: 14.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-05/0.634, allocations: 23.53 kB / 0.7845 GB, free: 14.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01292/0.6469, allocations: 8.214 MB / 0.7926 GB, free: 9.422 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.973e-05/0.647, allocations: 111.4 kB / 0.7927 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008397/0.6554, allocations: 5.148 MB / 0.7977 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.6569, allocations: 0.582 MB / 0.7983 GB, free: 3.551 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005135/0.662, allocations: 2.397 MB / 0.8006 GB, free: 1.301 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/0.6715, allocations: 16.61 MB / 0.8168 GB, free: 15.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005156/0.6766, allocations: 397.9 kB / 0.8172 GB, free: 15.46 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/0.6774, allocations: 0.5777 MB / 0.8178 GB, free: 14.89 MB / 0.6043 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.00511/0.6825, allocations: 1.973 MB / 0.8197 GB, free: 12.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005659/0.6882, allocations: 6.308 MB / 0.8258 GB, free: 4.773 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01265/0.7008, allocations: 9.833 MB / 0.8355 GB, free: 9.684 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.243e-05/0.7009, allocations: 24 kB / 0.8355 GB, free: 9.66 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01293/0.7138, allocations: 8.144 MB / 0.8434 GB, free: 2.047 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.7139, allocations: 112 kB / 0.8435 GB, free: 1.926 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008124/0.722, allocations: 5.087 MB / 0.8485 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.7236, allocations: 0.5783 MB / 0.8491 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/0.7282, allocations: 2.394 MB / 0.8514 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008439/0.7367, allocations: 16.59 MB / 0.8676 GB, free: 8.551 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/0.7401, allocations: 382.1 kB / 0.868 GB, free: 8.18 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006577/0.7408, allocations: 0.5778 MB / 0.8685 GB, free: 7.602 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.001799/0.7426, allocations: 0.8992 MB / 0.8694 GB, free: 6.84 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/0.7441, allocations: 0.8577 MB / 0.8703 GB, free: 5.98 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 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.0112/0.7553, allocations: 9.527 MB / 0.8796 GB, free: 13.04 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7794076497666538]