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.01275/0.01275, 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.001246/0.001246, allocations: 104 kB / 24.94 MB, free: 2.176 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.001571/0.001571, allocations: 207.8 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.507/1.507, allocations: 230.6 MB / 262.8 MB, free: 6.02 MB / 206.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.154/1.154, allocations: 130.7 MB / 450.4 MB, free: 6.559 MB / 350.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: 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.03482/0.03482, allocations: 20.78 MB / 0.637 GB, free: 4.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2353, allocations: 81.9 MB / 0.7169 GB, free: 2.641 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.5901/0.8254, allocations: 56.31 MB / 0.7719 GB, free: 12.75 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03765/0.8631, allocations: 23.74 MB / 0.7951 GB, free: 11.9 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008175/0.8713, allocations: 128.3 kB / 0.7952 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008493/0.8797, allocations: 2.638 MB / 0.7978 GB, free: 10.33 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01583/0.8956, allocations: 4.179 MB / 0.8019 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01289/0.9085, allocations: 4.046 MB / 0.8058 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02622/0.9347, allocations: 13.21 MB / 0.8187 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009085/0.9438, allocations: 3.678 MB / 0.8223 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.9569, allocations: 5.317 MB / 0.8275 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01189/0.9688, allocations: 5.574 MB / 0.833 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003957/0.9728, allocations: 0.8483 MB / 0.8338 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/0.9839, allocations: 3.452 MB / 0.8372 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005602/0.9895, allocations: 2.835 MB / 0.8399 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01069/1, allocations: 4.487 MB / 0.8443 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02716/1.027, allocations: 14.14 MB / 0.8581 GB, free: 2.074 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.027, allocations: 0 / 0.8581 GB, free: 2.074 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.322e-06/1.027, allocations: 0 / 0.8581 GB, free: 2.074 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004808/1.028, allocations: 0 / 0.8581 GB, free: 2.074 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.03024/1.058, allocations: 9.012 MB / 0.8669 GB, free: 8.992 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.058, allocations: 8.031 kB / 0.8669 GB, free: 8.984 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/1.063, allocations: 1.079 MB / 0.868 GB, free: 7.902 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/1.08, allocations: 6.524 MB / 0.8744 GB, free: 1.312 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/1.08, allocations: 328.9 kB / 0.8747 GB, free: 0.9883 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/1.083, allocations: 432 kB / 0.8751 GB, free: 0.5664 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03425/1.117, allocations: 12.6 MB / 0.8874 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/1.117, allocations: 59.44 kB / 0.8874 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/1.119, allocations: 227 kB / 0.8877 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007623/1.12, allocations: 442.4 kB / 0.8881 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03057/1.151, allocations: 10.64 MB / 0.8985 GB, free: 7.34 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.08924/1.24, allocations: 53.3 MB / 0.9505 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/1.263, allocations: 7.84 MB / 0.9582 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007502/1.271, allocations: 3.113 MB / 0.9612 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/1.272, allocations: 380.2 kB / 0.9616 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02021/1.293, allocations: 6.636 MB / 0.9681 GB, free: 14.26 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=827): time 1.774e-05/1.293, allocations: 0 / 0.9681 GB, free: 14.26 MB / 0.7482 GB Notification: Performance of matching and sorting (n=828): time 0.1167/1.409, allocations: 44.71 MB / 1.012 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008181/1.41, allocations: 1.155 MB / 1.013 GB, free: 15.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01396/1.424, allocations: 6.181 MB / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002391/1.427, allocations: 93.7 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003552/1.43, allocations: 3.065 MB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.005075/1.435, allocations: 2.846 MB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004385/1.44, allocations: 1.913 MB / 1.027 GB, free: 1.664 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.44, allocations: 301.1 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008803/1.449, allocations: 4.48 MB / 1.031 GB, free: 12.87 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/1.462, allocations: 7.292 MB / 1.038 GB, free: 4.391 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9499/2.412, allocations: 85.22 MB / 1.122 GB, free: 308.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.571e-05/2.412, allocations: 24 kB / 1.122 GB, free: 308.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02388/2.436, allocations: 13.42 MB / 1.135 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/2.436, allocations: 107.4 kB / 1.135 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01851/2.455, allocations: 10.11 MB / 1.145 GB, free: 285 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/2.457, allocations: 0.6911 MB / 1.145 GB, free: 284.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/2.467, allocations: 2.422 MB / 1.148 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/2.479, allocations: 14.69 MB / 1.162 GB, free: 266.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/2.487, allocations: 425.4 kB / 1.163 GB, free: 266 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/2.489, 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.01171/2.501, allocations: 6.322 MB / 1.169 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0088/2.51, allocations: 7.252 MB / 1.176 GB, free: 250.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5445/3.054, allocations: 84.84 MB / 1.259 GB, free: 164.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.681e-05/3.054, allocations: 27.94 kB / 1.259 GB, free: 164.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03003/3.084, allocations: 13.31 MB / 1.272 GB, free: 151.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/3.085, allocations: 108.3 kB / 1.272 GB, free: 151.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02125/3.106, allocations: 10.03 MB / 1.282 GB, free: 141.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/3.108, allocations: 0.6817 MB / 1.283 GB, free: 140.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00949/3.117, allocations: 2.41 MB / 1.285 GB, free: 138.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/3.13, allocations: 14.7 MB / 1.299 GB, free: 122.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008233/3.138, allocations: 427.1 kB / 1.3 GB, free: 122.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002466/3.14, allocations: 0.5777 MB / 1.3 GB, free: 121.8 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.004414/3.145, allocations: 0.8097 MB / 1.301 GB, free: 121 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003505/3.148, allocations: 0.7564 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.02573/3.174, allocations: 11.09 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: 7.65208322997205] Failed to read output from testmodel.py, exit status != 0: 3.3596653039567173 3.748919404 2.718041325 Calling exit ...