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.01567/0.01567, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001269/0.001269, allocations: 110.6 kB / 24.19 MB, free: 2.648 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.001488/0.001488, allocations: 211.8 kB / 27.92 MB, free: 4 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.48/1.48, allocations: 230.6 MB / 262.1 MB, free: 6.207 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.072/1.072, allocations: 130.7 MB / 449.6 MB, free: 6.59 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.03087/0.03087, allocations: 20.79 MB / 0.6362 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1922, allocations: 81.9 MB / 0.7162 GB, free: 2.656 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.5344/0.7266, allocations: 56.3 MB / 0.7712 GB, free: 12.74 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04131/0.7679, allocations: 23.73 MB / 0.7943 GB, free: 11.9 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00878/0.7767, allocations: 126.7 kB / 0.7945 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008996/0.7857, allocations: 2.648 MB / 0.7971 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01598/0.8016, allocations: 4.187 MB / 0.8011 GB, free: 6.992 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01212/0.8138, allocations: 4.046 MB / 0.8051 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02444/0.8382, allocations: 13.2 MB / 0.818 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009061/0.8473, allocations: 3.686 MB / 0.8216 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/0.861, allocations: 5.307 MB / 0.8268 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01303/0.874, allocations: 5.574 MB / 0.8322 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004885/0.8789, allocations: 0.8438 MB / 0.833 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/0.8913, allocations: 3.451 MB / 0.8364 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00643/0.8978, allocations: 2.85 MB / 0.8392 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01161/0.9094, allocations: 4.478 MB / 0.8436 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02823/0.9376, allocations: 14.15 MB / 0.8574 GB, free: 2.051 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9376, allocations: 0 / 0.8574 GB, free: 2.051 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.532e-06/0.9376, allocations: 3.938 kB / 0.8574 GB, free: 2.047 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005012/0.9381, allocations: 0 / 0.8574 GB, free: 2.047 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.02859/0.9667, allocations: 9.014 MB / 0.8662 GB, free: 8.965 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.9668, allocations: 10.69 kB / 0.8662 GB, free: 8.957 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006842/0.9736, allocations: 1.079 MB / 0.8673 GB, free: 7.875 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02204/0.9956, allocations: 6.515 MB / 0.8736 GB, free: 1.289 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005116/0.9962, allocations: 330.8 kB / 0.8739 GB, free: 0.9648 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.9985, allocations: 434.6 kB / 0.8743 GB, free: 0.543 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03456/1.033, allocations: 12.59 MB / 0.8866 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003162/1.033, allocations: 59.44 kB / 0.8867 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/1.036, allocations: 224 kB / 0.8869 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007415/1.036, allocations: 445.1 kB / 0.8873 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/1.066, allocations: 10.63 MB / 0.8977 GB, free: 7.324 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.08199/1.148, allocations: 53.3 MB / 0.9498 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/1.17, allocations: 7.836 MB / 0.9574 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007195/1.177, allocations: 3.119 MB / 0.9605 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/1.179, allocations: 376.3 kB / 0.9608 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01949/1.199, allocations: 6.638 MB / 0.9673 GB, free: 14.23 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 1.363e-05/1.199, allocations: 0 / 0.9673 GB, free: 14.23 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.1016/1.3, allocations: 44.71 MB / 1.011 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007052/1.301, allocations: 1.155 MB / 1.012 GB, free: 15.79 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.311, allocations: 6.181 MB / 1.018 GB, free: 9.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001563/1.313, allocations: 100.4 kB / 1.018 GB, free: 9.512 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003045/1.316, allocations: 3.066 MB / 1.021 GB, free: 6.426 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004875/1.321, allocations: 2.842 MB / 1.024 GB, free: 3.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004237/1.325, allocations: 1.917 MB / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.325, allocations: 305.1 kB / 1.026 GB, free: 1.328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009307/1.335, allocations: 4.476 MB / 1.031 GB, free: 12.83 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/1.348, allocations: 7.288 MB / 1.038 GB, free: 4.359 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8883/2.236, allocations: 85.22 MB / 1.121 GB, free: 308.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.812e-05/2.236, allocations: 24 kB / 1.121 GB, free: 308.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02188/2.258, allocations: 13.41 MB / 1.134 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/2.258, allocations: 103.4 kB / 1.134 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01586/2.274, allocations: 10.12 MB / 1.144 GB, free: 285 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/2.276, allocations: 0.6794 MB / 1.145 GB, free: 284.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00844/2.284, allocations: 2.428 MB / 1.147 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/2.295, allocations: 14.69 MB / 1.161 GB, free: 266.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006518/2.302, allocations: 425.4 kB / 1.162 GB, free: 266 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/2.303, allocations: 0.5777 MB / 1.162 GB, free: 265.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.01014/2.313, allocations: 6.322 MB / 1.169 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007075/2.32, allocations: 7.256 MB / 1.176 GB, free: 250.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5338/2.854, allocations: 84.84 MB / 1.258 GB, free: 164.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.19e-05/2.854, allocations: 27.94 kB / 1.258 GB, free: 164.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02461/2.879, allocations: 13.32 MB / 1.271 GB, free: 151.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/2.879, allocations: 103.4 kB / 1.272 GB, free: 151.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01703/2.896, allocations: 10.02 MB / 1.281 GB, free: 141.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/2.898, allocations: 0.6855 MB / 1.282 GB, free: 140.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009403/2.907, allocations: 2.414 MB / 1.284 GB, free: 138.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/2.921, allocations: 14.7 MB / 1.299 GB, free: 122.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01151/2.932, allocations: 423 kB / 1.299 GB, free: 122.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003547/2.936, allocations: 0.5739 MB / 1.3 GB, free: 121.7 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.006582/2.942, allocations: 0.8105 MB / 1.3 GB, free: 121 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004474/2.947, allocations: 0.7605 MB / 1.301 GB, free: 120.4 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.02276/2.969, allocations: 11.07 MB / 1.312 GB, free: 109.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.145782987121493] Failed to read output from testmodel.py, exit status != 0: 3.127383308019489 3.453038066 2.511902542 Calling exit ...