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.01222/0.01222, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001226/0.001226, allocations: 96.42 kB / 24.96 MB, free: 2.059 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.001504/0.001504, allocations: 210.5 kB / 28.68 MB, free: 3.348 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.401/1.401, allocations: 230.6 MB / 262.9 MB, free: 5.828 MB / 206.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.096/1.096, allocations: 130.7 MB / 450.4 MB, free: 6.387 MB / 350.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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06346/0.06346, allocations: 20.6 MB / 0.6367 GB, free: 4.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.2345, allocations: 81.91 MB / 0.7167 GB, free: 2.574 MB / 0.5294 GB 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.5048/0.7392, allocations: 53.27 MB / 0.7687 GB, free: 15.63 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03632/0.7756, allocations: 22.73 MB / 0.7909 GB, free: 15.85 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008336/0.7839, allocations: 126.2 kB / 0.791 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008116/0.792, allocations: 2.539 MB / 0.7935 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.8076, allocations: 4.196 MB / 0.7976 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.8206, allocations: 4.056 MB / 0.8016 GB, free: 7.957 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02442/0.845, allocations: 13.2 MB / 0.8144 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009121/0.8542, allocations: 3.678 MB / 0.818 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/0.8671, allocations: 5.338 MB / 0.8233 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01267/0.8797, allocations: 5.551 MB / 0.8287 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005638/0.8854, allocations: 0.8477 MB / 0.8295 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/0.8962, allocations: 2.714 MB / 0.8322 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006298/0.9025, allocations: 2.842 MB / 0.8349 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0115/0.914, allocations: 3.472 MB / 0.8383 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02911/0.9431, allocations: 14.05 MB / 0.852 GB, free: 7.758 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.9431, allocations: 0 / 0.852 GB, free: 7.758 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9431, allocations: 3.938 kB / 0.852 GB, free: 7.754 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005602/0.9437, allocations: 0 / 0.852 GB, free: 7.754 MB / 0.6232 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.03237/0.9761, allocations: 9.014 MB / 0.8608 GB, free: 14.67 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.9761, allocations: 11.97 kB / 0.8609 GB, free: 14.66 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/0.9823, allocations: 1.079 MB / 0.8619 GB, free: 13.58 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/1.001, allocations: 6.525 MB / 0.8683 GB, free: 6.988 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005666/1.001, allocations: 331.8 kB / 0.8686 GB, free: 6.664 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/1.004, allocations: 432 kB / 0.869 GB, free: 6.242 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0396/1.044, allocations: 14.27 MB / 0.883 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004202/1.044, allocations: 59.44 kB / 0.883 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00282/1.047, allocations: 216.7 kB / 0.8832 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008991/1.048, allocations: 442.4 kB / 0.8836 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03345/1.081, allocations: 10.7 MB / 0.8941 GB, free: 10.75 MB / 0.67 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.08457/1.166, allocations: 49.92 MB / 0.9428 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/1.19, allocations: 7.872 MB / 0.9505 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007699/1.197, allocations: 3.176 MB / 0.9536 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/1.199, allocations: 336.4 kB / 0.9539 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02089/1.22, allocations: 6.698 MB / 0.9605 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=827): time 1.934e-05/1.22, allocations: 2.656 kB / 0.9605 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=828): time 0.1073/1.327, allocations: 44.84 MB / 1.004 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007402/1.328, allocations: 1.148 MB / 1.005 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.338, allocations: 5.983 MB / 1.011 GB, free: 356 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/1.34, allocations: 89.7 kB / 1.011 GB, free: 260 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003039/1.343, allocations: 3.08 MB / 1.014 GB, free: 13.16 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004236/1.347, allocations: 2.838 MB / 1.017 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003604/1.351, allocations: 1.917 MB / 1.019 GB, free: 8.363 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.351, allocations: 305.1 kB / 1.019 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007983/1.359, allocations: 4.542 MB / 1.024 GB, free: 3.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/1.371, allocations: 7.826 MB / 1.031 GB, free: 10.28 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.884/2.255, allocations: 85.26 MB / 1.115 GB, free: 314.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.253e-05/2.255, allocations: 31.61 kB / 1.115 GB, free: 314.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02766/2.282, allocations: 13.46 MB / 1.128 GB, free: 301 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/2.283, allocations: 112.7 kB / 1.128 GB, free: 300.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01974/2.302, allocations: 10.2 MB / 1.138 GB, free: 290.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/2.304, allocations: 0.6859 MB / 1.139 GB, free: 290 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009076/2.313, allocations: 2.422 MB / 1.141 GB, free: 287.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/2.325, allocations: 14.43 MB / 1.155 GB, free: 272.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007068/2.332, allocations: 432.4 kB / 1.155 GB, free: 272 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002091/2.334, allocations: 0.5777 MB / 1.156 GB, free: 271.4 MB / 0.8263 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.01158/2.346, allocations: 6.391 MB / 1.162 GB, free: 265 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008615/2.354, allocations: 7.794 MB / 1.17 GB, free: 255.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5205/2.875, allocations: 84.87 MB / 1.253 GB, free: 169.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001145/2.875, allocations: 24 kB / 1.253 GB, free: 169.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02975/2.905, allocations: 13.37 MB / 1.266 GB, free: 156.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/2.905, allocations: 107.4 kB / 1.266 GB, free: 156.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02095/2.926, allocations: 10.11 MB / 1.276 GB, free: 146.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/2.928, allocations: 0.6732 MB / 1.276 GB, free: 145.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009297/2.937, allocations: 2.42 MB / 1.279 GB, free: 143.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/2.949, allocations: 14.44 MB / 1.293 GB, free: 128.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00734/2.956, allocations: 429.9 kB / 1.293 GB, free: 127.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002196/2.958, allocations: 0.5699 MB / 1.294 GB, free: 127.1 MB / 0.8263 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.003898/2.962, allocations: 0.8144 MB / 1.295 GB, free: 126.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00329/2.966, allocations: 0.7389 MB / 1.295 GB, free: 125.8 MB / 0.8263 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.02116/2.987, allocations: 11.07 MB / 1.306 GB, free: 115.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.76312566397246] Failed to read output from testmodel.py, exit status != 0: 3.155866957968101 3.16647054 2.22067622 Calling exit ...