Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator.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.01232/0.01232, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.001556/0.001556, allocations: 96.58 kB / 24.18 MB, free: 2.465 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.001953/0.001953, allocations: 214.9 kB / 27.9 MB, free: 3.77 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.467/1.467, allocations: 230.6 MB / 262.1 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.1/1.1, allocations: 130.7 MB / 449.6 MB, free: 6.383 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.TestFeedWaterTank_1Separator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tank_L2.volume.h|tank_L2.volume.p|tank_L3_adv.volume.h_liq|tank_L3_adv.volume.h_vap|tank_L3_adv.volume.p_vap|tank_L3_adv.volume.volume_vap|tank_L3_adv.wall.U.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tank_L2.volume.h|tank_L2.volume.p|tank_L3_adv.volume.h_liq|tank_L3_adv.volume.h_vap|tank_L3_adv.volume.p_vap|tank_L3_adv.volume.volume_vap|tank_L3_adv.wall.U.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [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.06768/0.06768, allocations: 20.98 MB / 0.6363 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.2332, allocations: 81.91 MB / 0.7163 GB, free: 2.227 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.TestFeedWaterTank_1Separator): time 0.5108/0.744, allocations: 57.12 MB / 0.7721 GB, free: 13.08 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.038/0.782, allocations: 24.12 MB / 0.7956 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007873/0.7899, allocations: 157.2 kB / 0.7958 GB, free: 12.04 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.009072/0.7989, allocations: 3.063 MB / 0.7988 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01572/0.8146, allocations: 4.77 MB / 0.8034 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.8263, allocations: 4.123 MB / 0.8075 GB, free: 3.035 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02021/0.8465, allocations: 12.95 MB / 0.8201 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007681/0.8541, allocations: 4.074 MB / 0.8241 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.8652, allocations: 5.407 MB / 0.8294 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.8758, allocations: 5.455 MB / 0.8347 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003416/0.8792, allocations: 0.8672 MB / 0.8355 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009473/0.8887, allocations: 2.599 MB / 0.8381 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005513/0.8942, allocations: 2.811 MB / 0.8408 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009224/0.9034, allocations: 3.495 MB / 0.8442 GB, free: 15.19 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02442/0.9279, allocations: 14.08 MB / 0.858 GB, free: 1.062 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9279, allocations: 0 / 0.858 GB, free: 1.062 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9279, allocations: 1.594 kB / 0.858 GB, free: 1.062 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004652/0.9283, allocations: 0 / 0.858 GB, free: 1.062 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: 1582 * Number of variables: 1582 Notification: Performance of Generate backend data structure: time 0.02667/0.955, allocations: 9.05 MB / 0.8668 GB, free: 7.941 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.955, allocations: 8.031 kB / 0.8668 GB, free: 7.934 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.96, allocations: 1.091 MB / 0.8679 GB, free: 6.84 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/0.9813, allocations: 7.013 MB / 0.8748 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004936/0.9818, allocations: 308.4 kB / 0.875 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.9838, allocations: 404 kB / 0.8754 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/1.018, allocations: 13.52 MB / 0.8886 GB, free: 15.83 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002447/1.018, allocations: 48.11 kB / 0.8887 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/1.02, allocations: 204 kB / 0.8889 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005993/1.021, allocations: 376.8 kB / 0.8892 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/1.048, allocations: 9.771 MB / 0.8988 GB, free: 5.434 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.06127/1.11, allocations: 38.98 MB / 0.9369 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02657/1.136, allocations: 8.209 MB / 0.9449 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009318/1.145, allocations: 3.112 MB / 0.9479 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/1.147, allocations: 251.9 kB / 0.9481 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02154/1.169, allocations: 6.706 MB / 0.9547 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004738/1.173, allocations: 0.7595 MB / 0.9554 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 3.493e-05/1.174, allocations: 0 / 0.9554 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1177/1.291, allocations: 50.47 MB / 1.005 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000987/1.292, allocations: 1.529 MB / 1.006 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.303, allocations: 5.968 MB / 1.012 GB, free: 15.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001845/1.305, allocations: 97.7 kB / 1.012 GB, free: 15.14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00309/1.308, allocations: 2.859 MB / 1.015 GB, free: 12.27 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004903/1.313, allocations: 2.985 MB / 1.018 GB, free: 9.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004745/1.318, allocations: 1.789 MB / 1.02 GB, free: 7.453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.318, allocations: 305.1 kB / 1.02 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008801/1.327, allocations: 4.202 MB / 1.024 GB, free: 2.926 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01328/1.34, allocations: 7.26 MB / 1.031 GB, free: 10.48 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.565/1.905, allocations: 51.08 MB / 1.081 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.367e-05/1.905, allocations: 23.44 kB / 1.081 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02549/1.93, allocations: 12.64 MB / 1.093 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/1.931, allocations: 68.88 kB / 1.093 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01775/1.948, allocations: 10.03 MB / 1.103 GB, free: 326.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/1.952, allocations: 1.052 MB / 1.104 GB, free: 325.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008139/1.96, allocations: 2.345 MB / 1.107 GB, free: 323.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.97, allocations: 11.6 MB / 1.118 GB, free: 311.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/1.977, allocations: 326.9 kB / 1.118 GB, free: 310.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002016/1.979, allocations: 0.5387 MB / 1.119 GB, free: 310.4 MB / 0.8263 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01253/1.991, allocations: 5.909 MB / 1.124 GB, free: 304.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009167/2, allocations: 7.211 MB / 1.131 GB, free: 296.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2557/2.256, allocations: 50.97 MB / 1.181 GB, free: 244.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.043e-05/2.256, allocations: 20 kB / 1.181 GB, free: 244.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02502/2.281, allocations: 12.28 MB / 1.193 GB, free: 232.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.696e-05/2.281, allocations: 73.62 kB / 1.193 GB, free: 232.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01828/2.299, allocations: 9.691 MB / 1.203 GB, free: 222.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/2.301, allocations: 0.7433 MB / 1.204 GB, free: 221.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00837/2.31, allocations: 2.363 MB / 1.206 GB, free: 219.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009768/2.32, allocations: 11.41 MB / 1.217 GB, free: 207.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/2.326, allocations: 316.2 kB / 1.217 GB, free: 207 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/2.328, allocations: 0.5387 MB / 1.218 GB, free: 206.5 MB / 0.8263 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.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: 295 * Number of states: 0 () * Number of discrete variables: 7 (ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.003625/2.331, allocations: 0.7289 MB / 1.219 GB, free: 205.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002824/2.334, allocations: 0.7529 MB / 1.219 GB, free: 205.3 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 1265 equation(s) and 1212 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/2.354, allocations: 10.66 MB / 1.23 GB, free: 195.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.162273850291967] Failed to read output from testmodel.py, exit status != 0: 2.4893458765000105 2.498116785 1.567855487 Calling exit ...