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.01238/0.01238, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.007511/0.007511, allocations: 80.11 kB / 24.44 MB, free: 7.012 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.00167/0.00167, allocations: 165.8 kB / 28.2 MB, free: 4.523 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 1.497/1.497, allocations: 177.1 MB / 209 MB, free: 2.82 MB / 186.7 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.044/1.044, allocations: 102.5 MB / 368.3 MB, free: 1.312 MB / 330.8 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.5.2 (/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 2.244e-06/2.244e-06, allocations: 0 / 468.3 MB, free: 13.53 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.842e-05, allocations: 6.25 kB / 468.3 MB, free: 13.52 MB / 442.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.4164/0.4164, allocations: 67.15 MB / 0.5229 GB, free: 72.09 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03202/0.4485, allocations: 22.51 MB / 0.5449 GB, free: 58.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006183/0.4546, allocations: 126.8 kB / 0.545 GB, free: 58.93 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007429/0.4621, allocations: 2.536 MB / 0.5475 GB, free: 57.77 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01735/0.4794, allocations: 4.281 MB / 0.5516 GB, free: 55.24 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.4902, allocations: 4.092 MB / 0.5556 GB, free: 53.07 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01998/0.5102, allocations: 13.52 MB / 0.5688 GB, free: 46.48 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007112/0.5173, allocations: 4.126 MB / 0.5729 GB, free: 43.48 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01672/0.5341, allocations: 7.243 MB / 0.5799 GB, free: 39 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009815/0.5439, allocations: 4.874 MB / 0.5847 GB, free: 34.99 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003051/0.5469, allocations: 0.862 MB / 0.5855 GB, free: 34.13 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09352/0.6404, allocations: 18.12 MB / 0.6032 GB, free: 17.99 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004705/0.6451, allocations: 2.948 MB / 0.6061 GB, free: 15.04 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009183/0.6543, allocations: 2.891 MB / 0.6089 GB, free: 12.14 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02936/0.6837, allocations: 14.18 MB / 0.6228 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6837, allocations: 2.656 kB / 0.6228 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6837, allocations: 0 / 0.6228 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005211/0.6842, allocations: 0 / 0.6228 GB, free: 13.92 MB / 0.4949 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.03242/0.7166, allocations: 8.929 MB / 0.6315 GB, free: 4.93 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.7167, allocations: 8.031 kB / 0.6315 GB, free: 4.922 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008263/0.725, allocations: 1.418 MB / 0.6329 GB, free: 3.504 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01924/0.7442, allocations: 6.829 MB / 0.6396 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008866/0.7451, allocations: 328.9 kB / 0.6399 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/0.7477, allocations: 448.3 kB / 0.6403 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03874/0.7864, allocations: 14.35 MB / 0.6543 GB, free: 11.69 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/0.7867, allocations: 55.44 kB / 0.6544 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002137/0.7889, allocations: 224 kB / 0.6546 GB, free: 11.42 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008194/0.7897, allocations: 446.3 kB / 0.655 GB, free: 10.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03278/0.8225, allocations: 10.76 MB / 0.6655 GB, free: 212 kB / 0.5262 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.08747/0.9099, allocations: 50.17 MB / 0.7145 GB, free: 12.55 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02489/0.9348, allocations: 7.961 MB / 0.7223 GB, free: 4.469 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008748/0.9436, allocations: 3.215 MB / 0.7254 GB, free: 1.184 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/0.9454, allocations: 351.7 kB / 0.7258 GB, free: 0.8438 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02187/0.9672, allocations: 6.746 MB / 0.7324 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=827): time 1.496e-05/0.9673, allocations: 0 / 0.7324 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of matching and sorting (n=828): time 0.3369/1.304, allocations: 45.67 MB / 0.777 GB, free: 175.1 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003537/1.305, allocations: 1.152 MB / 0.7781 GB, free: 173.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01625/1.321, allocations: 6.127 MB / 0.7841 GB, free: 171.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002009/1.323, allocations: 91.64 kB / 0.7842 GB, free: 171.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003467/1.326, allocations: 3.062 MB / 0.7871 GB, free: 169.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005009/1.331, allocations: 2.806 MB / 0.7899 GB, free: 167.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008195/1.339, allocations: 1.908 MB / 0.7918 GB, free: 166.6 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/1.34, allocations: 303.4 kB / 0.792 GB, free: 166.3 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008453/1.348, allocations: 4.578 MB / 0.7965 GB, free: 164.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/1.362, allocations: 7.872 MB / 0.8042 GB, free: 158.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5854/1.947, allocations: 85.64 MB / 0.8878 GB, free: 76.51 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.947, allocations: 24 kB / 0.8879 GB, free: 76.49 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03049/1.978, allocations: 13.85 MB / 0.9014 GB, free: 62.56 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/1.978, allocations: 103.4 kB / 0.9015 GB, free: 62.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02072/1.998, allocations: 10.27 MB / 0.9115 GB, free: 52.09 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/2.002, allocations: 0.8426 MB / 0.9123 GB, free: 51.25 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009727/2.011, allocations: 2.43 MB / 0.9147 GB, free: 48.81 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/2.024, allocations: 14.46 MB / 0.9288 GB, free: 33.56 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007982/2.032, allocations: 435.8 kB / 0.9292 GB, free: 33.13 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002307/2.034, allocations: 0.5777 MB / 0.9298 GB, free: 32.55 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.01293/2.047, allocations: 6.433 MB / 0.9361 GB, free: 26.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0109/2.058, allocations: 7.829 MB / 0.9437 GB, free: 16.88 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.8202/2.878, allocations: 85.13 MB / 1.027 GB, free: 163.7 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.592e-05/2.878, allocations: 24 kB / 1.027 GB, free: 163.7 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03152/2.91, allocations: 13.79 MB / 1.04 GB, free: 150.2 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/2.91, allocations: 111.5 kB / 1.04 GB, free: 150.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02111/2.931, allocations: 10.18 MB / 1.05 GB, free: 139.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/2.934, allocations: 0.8449 MB / 1.051 GB, free: 139 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00951/2.943, allocations: 2.418 MB / 1.054 GB, free: 136.6 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/2.956, allocations: 14.46 MB / 1.068 GB, free: 121.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008309/2.964, allocations: 421 kB / 1.068 GB, free: 121.1 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/2.966, allocations: 0.5777 MB / 1.069 GB, free: 120.5 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.00413/2.971, allocations: 0.8132 MB / 1.069 GB, free: 119.7 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004814/2.975, allocations: 0.8644 MB / 1.07 GB, free: 119.3 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 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.02772/3.003, allocations: 11.14 MB / 1.081 GB, free: 108.8 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.549819745938294]