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.01003/0.01003, allocations: 1.349 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.001385/0.001385, allocations: 80.03 kB / 24.02 MB, free: 2.59 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.001642/0.001642, 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.462/1.462, allocations: 177.1 MB / 208.4 MB, free: 7.652 MB / 190.1 MB " [Timeout remaining time 178] 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 1.062/1.062, allocations: 102.5 MB / 367.8 MB, free: 4.586 MB / 334.1 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 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_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_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5364 GB, free: 7.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.805e-05, allocations: 3.25 kB / 0.5364 GB, free: 7.121 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.1753/0.1753, allocations: 67 MB / 0.6019 GB, free: 6.617 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04055/0.2159, allocations: 22.46 MB / 0.6238 GB, free: 84 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005799/0.2217, allocations: 127.1 kB / 0.6239 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008398/0.2301, allocations: 2.538 MB / 0.6264 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01441/0.2445, allocations: 4.292 MB / 0.6306 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.256, allocations: 4.093 MB / 0.6346 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02077/0.2768, allocations: 13.53 MB / 0.6478 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008084/0.2849, allocations: 3.939 MB / 0.6516 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01817/0.3031, allocations: 7.207 MB / 0.6587 GB, free: 12.18 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.3146, allocations: 4.821 MB / 0.6634 GB, free: 7.352 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003768/0.3184, allocations: 0.8477 MB / 0.6642 GB, free: 6.504 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009274/0.3277, allocations: 2.683 MB / 0.6668 GB, free: 3.816 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.005401/0.3331, allocations: 2.917 MB / 0.6697 GB, free: 0.8906 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.007942/0.341, allocations: 2.864 MB / 0.6725 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.3447/0.6857, allocations: 14.08 MB / 0.6862 GB, free: 48.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.6857, allocations: 3.156 kB / 0.6862 GB, free: 48.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6857, allocations: 0.875 kB / 0.6862 GB, free: 48.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005289/0.6863, allocations: 0 / 0.6862 GB, free: 48.98 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.02713/0.7134, allocations: 8.907 MB / 0.6949 GB, free: 45.4 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.7134, allocations: 9 kB / 0.6949 GB, free: 45.4 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/0.7186, allocations: 1.079 MB / 0.696 GB, free: 44.89 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01717/0.7357, allocations: 6.528 MB / 0.7024 GB, free: 43.66 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/0.7362, allocations: 327.2 kB / 0.7027 GB, free: 43.65 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.7381, allocations: 427.7 kB / 0.7031 GB, free: 43.65 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02718/0.7653, allocations: 14.27 MB / 0.717 GB, free: 37.92 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.7654, allocations: 63.75 kB / 0.7171 GB, free: 37.92 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006857/0.7661, allocations: 222 kB / 0.7173 GB, free: 37.92 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/0.7665, allocations: 438.8 kB / 0.7177 GB, free: 37.91 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.7914, allocations: 10.66 MB / 0.7281 GB, free: 37.58 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.05397/0.8454, allocations: 49.75 MB / 0.7767 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/0.8683, allocations: 7.874 MB / 0.7844 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007923/0.8762, allocations: 3.175 MB / 0.7875 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/0.8778, allocations: 342.8 kB / 0.7878 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02077/0.8986, allocations: 6.704 MB / 0.7944 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=827): time 1.132e-05/0.8986, allocations: 3.094 kB / 0.7944 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=828): time 0.1062/1.005, allocations: 44.83 MB / 0.8382 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006852/1.006, allocations: 1.151 MB / 0.8393 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.017, allocations: 6.12 MB / 0.8453 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001865/1.019, allocations: 89.7 kB / 0.8453 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003241/1.022, allocations: 3.065 MB / 0.8483 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.006227/1.028, allocations: 2.807 MB / 0.8511 GB, free: 15.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008262/1.036, allocations: 1.904 MB / 0.8529 GB, free: 13.24 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.037, allocations: 301.1 kB / 0.8532 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009766/1.046, allocations: 4.535 MB / 0.8577 GB, free: 8.383 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/1.059, allocations: 7.836 MB / 0.8653 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6211/1.681, allocations: 85.26 MB / 0.9486 GB, free: 9.895 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/1.681, allocations: 27.94 kB / 0.9486 GB, free: 9.867 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.03926/1.72, allocations: 13.48 MB / 0.9618 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002324/1.72, allocations: 111.5 kB / 0.9619 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02745/1.748, allocations: 10.19 MB / 0.9718 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/1.75, allocations: 0.6872 MB / 0.9725 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3539/2.104, allocations: 2.419 MB / 0.9748 GB, free: 303.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/2.119, allocations: 14.43 MB / 0.9889 GB, free: 293.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009252/2.128, allocations: 431.6 kB / 0.9894 GB, free: 293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/2.131, allocations: 0.5795 MB / 0.9899 GB, free: 292.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0148/2.146, allocations: 6.395 MB / 0.9962 GB, free: 290.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01158/2.158, allocations: 7.786 MB / 1.004 GB, free: 284.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5712/2.729, allocations: 84.88 MB / 1.087 GB, free: 210.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.104e-05/2.729, allocations: 28 kB / 1.087 GB, free: 210.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02681/2.756, allocations: 13.37 MB / 1.1 GB, free: 197 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.891e-05/2.756, allocations: 108.8 kB / 1.1 GB, free: 196.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01675/2.773, allocations: 10.11 MB / 1.11 GB, free: 186.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/2.774, allocations: 0.6788 MB / 1.11 GB, free: 186 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008909/2.783, allocations: 2.414 MB / 1.113 GB, free: 183.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/2.795, allocations: 14.43 MB / 1.127 GB, free: 168.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007998/2.803, allocations: 424.5 kB / 1.127 GB, free: 168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/2.805, allocations: 0.5777 MB / 1.128 GB, free: 167.5 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.003119/2.808, allocations: 0.8076 MB / 1.129 GB, free: 166.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/2.81, allocations: 0.7359 MB / 1.129 GB, free: 166.4 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.01693/2.827, allocations: 11.14 MB / 1.14 GB, free: 155.8 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.621003840118647] Failed to read output from testmodel.py, exit status != 0: 2.982263509184122 2.993481983 2.3049363179999998 Calling exit ...