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.01359/0.01359, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001763/0.001763, allocations: 102.5 kB / 24.94 MB, free: 2.18 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.002506/0.002506, allocations: 212.5 kB / 28.67 MB, free: 3.461 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.574/1.574, allocations: 230.6 MB / 262.8 MB, free: 6.023 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.146/1.146, allocations: 130.7 MB / 450.4 MB, free: 6.594 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.03595/0.03595, allocations: 20.78 MB / 0.6369 GB, free: 4.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2408, allocations: 81.91 MB / 0.7169 GB, free: 2.664 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.663/0.9038, allocations: 56.31 MB / 0.7719 GB, free: 12.76 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04224/0.946, allocations: 23.73 MB / 0.7951 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009211/0.9552, allocations: 128.1 kB / 0.7952 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.9655, allocations: 2.649 MB / 0.7978 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0184/0.9839, allocations: 4.17 MB / 0.8019 GB, free: 7.039 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01416/0.9981, allocations: 4.055 MB / 0.8058 GB, free: 3.961 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02685/1.025, allocations: 13.2 MB / 0.8187 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009929/1.035, allocations: 3.686 MB / 0.8223 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01425/1.049, allocations: 5.315 MB / 0.8275 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/1.062, allocations: 5.567 MB / 0.8329 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004701/1.066, allocations: 0.8477 MB / 0.8338 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/1.08, allocations: 3.457 MB / 0.8371 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006463/1.086, allocations: 2.839 MB / 0.8399 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01262/1.099, allocations: 4.486 MB / 0.8443 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03242/1.131, allocations: 14.14 MB / 0.8581 GB, free: 2.051 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.131, allocations: 0 / 0.8581 GB, free: 2.051 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.044e-06/1.131, allocations: 0 / 0.8581 GB, free: 2.051 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005757/1.132, allocations: 0 / 0.8581 GB, free: 2.051 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.035/1.167, allocations: 9.01 MB / 0.8669 GB, free: 8.969 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/1.167, allocations: 10.62 kB / 0.8669 GB, free: 8.961 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/1.173, allocations: 1.083 MB / 0.868 GB, free: 7.879 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02133/1.195, allocations: 6.516 MB / 0.8743 GB, free: 1.289 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/1.195, allocations: 339.4 kB / 0.8747 GB, free: 0.957 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00292/1.198, allocations: 431 kB / 0.8751 GB, free: 0.5391 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03766/1.236, allocations: 12.6 MB / 0.8874 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003461/1.236, allocations: 65.5 kB / 0.8874 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00236/1.239, allocations: 216 kB / 0.8876 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007737/1.239, allocations: 441 kB / 0.8881 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03128/1.271, allocations: 10.65 MB / 0.8985 GB, free: 7.312 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.08434/1.355, allocations: 53.29 MB / 0.9505 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.023/1.378, allocations: 7.844 MB / 0.9582 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007693/1.386, allocations: 3.113 MB / 0.9612 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/1.388, allocations: 376.1 kB / 0.9616 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0202/1.408, allocations: 6.638 MB / 0.968 GB, free: 14.24 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 1.705e-05/1.408, allocations: 0 / 0.968 GB, free: 14.24 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.1119/1.52, allocations: 44.72 MB / 1.012 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008872/1.521, allocations: 1.151 MB / 1.013 GB, free: 15.79 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/1.533, allocations: 6.181 MB / 1.019 GB, free: 9.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002267/1.536, allocations: 96.36 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003256/1.539, allocations: 3.07 MB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004941/1.544, allocations: 2.838 MB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003906/1.548, allocations: 1.913 MB / 1.027 GB, free: 1.637 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.548, allocations: 305.1 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008562/1.556, allocations: 4.477 MB / 1.031 GB, free: 12.84 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01352/1.57, allocations: 7.29 MB / 1.038 GB, free: 4.363 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9563/2.526, allocations: 85.22 MB / 1.122 GB, free: 308.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.285e-05/2.526, allocations: 24.88 kB / 1.122 GB, free: 308.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02424/2.551, allocations: 13.41 MB / 1.135 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.414e-05/2.551, allocations: 111.6 kB / 1.135 GB, free: 295.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01626/2.567, allocations: 10.11 MB / 1.145 GB, free: 285 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/2.569, allocations: 0.6895 MB / 1.145 GB, free: 284.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009063/2.578, allocations: 2.422 MB / 1.148 GB, free: 281.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/2.59, allocations: 14.68 MB / 1.162 GB, free: 266.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008334/2.598, allocations: 427.8 kB / 1.163 GB, free: 266 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002264/2.6, allocations: 0.5777 MB / 1.163 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.01504/2.615, allocations: 6.328 MB / 1.169 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01011/2.625, allocations: 7.249 MB / 1.176 GB, free: 250.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.543/3.168, allocations: 84.84 MB / 1.259 GB, free: 164.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001193/3.169, allocations: 27.94 kB / 1.259 GB, free: 164.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03157/3.2, allocations: 13.31 MB / 1.272 GB, free: 151.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/3.2, allocations: 111.5 kB / 1.272 GB, free: 151.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01851/3.219, allocations: 10.03 MB / 1.282 GB, free: 141.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/3.22, allocations: 0.6847 MB / 1.283 GB, free: 140.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009533/3.23, allocations: 2.414 MB / 1.285 GB, free: 138.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/3.242, allocations: 14.69 MB / 1.299 GB, free: 122.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008416/3.251, allocations: 421.2 kB / 1.3 GB, free: 122.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002259/3.253, allocations: 0.5777 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.004287/3.257, allocations: 0.8029 MB / 1.301 GB, free: 120.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/3.26, allocations: 0.7551 MB / 1.302 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.01757/3.277, allocations: 11.08 MB / 1.313 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: 8.068951590918005] Failed to read output from testmodel.py, exit status != 0: 3.470545538002625 3.889449218 2.753845381 Calling exit ...