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.01056/0.01056, 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.001314/0.001314, allocations: 109.9 kB / 24.19 MB, free: 2.652 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.001627/0.001627, allocations: 210.4 kB / 27.92 MB, free: 4.004 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.587/1.587, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.178/1.178, allocations: 130.7 MB / 449.7 MB, free: 6.562 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.04119/0.04119, allocations: 20.79 MB / 0.6362 GB, free: 4.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.2151, allocations: 81.89 MB / 0.7162 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.TestFeedWaterTank_1Separator): time 0.6276/0.8428, allocations: 60.84 MB / 0.7756 GB, free: 9.473 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05022/0.893, allocations: 25.1 MB / 0.8001 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01141/0.9044, allocations: 157.2 kB / 0.8003 GB, free: 7.398 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.01097/0.9154, allocations: 3.214 MB / 0.8034 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02121/0.9366, allocations: 4.781 MB / 0.8081 GB, free: 1.406 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01434/0.9509, allocations: 4.126 MB / 0.8121 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02646/0.9774, allocations: 12.97 MB / 0.8248 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009959/0.9873, allocations: 3.826 MB / 0.8285 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/1.001, allocations: 5.391 MB / 0.8338 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01322/1.014, allocations: 5.719 MB / 0.8393 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005955/1.02, allocations: 0.8672 MB / 0.8402 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/1.034, allocations: 3.432 MB / 0.8435 GB, free: 324 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005878/1.04, allocations: 2.815 MB / 0.8463 GB, free: 13.49 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01222/1.052, allocations: 4.509 MB / 0.8507 GB, free: 8.961 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02918/1.082, allocations: 14.2 MB / 0.8646 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.082, allocations: 0 / 0.8646 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.514e-06/1.082, allocations: 7.938 kB / 0.8646 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004985/1.082, allocations: 0 / 0.8646 GB, free: 10.71 MB / 0.6388 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.02975/1.112, allocations: 9.058 MB / 0.8734 GB, free: 1.586 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.112, allocations: 14.72 kB / 0.8734 GB, free: 1.574 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00571/1.118, allocations: 1.091 MB / 0.8745 GB, free: 492 kB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.136, allocations: 7.004 MB / 0.8813 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/1.137, allocations: 311.1 kB / 0.8816 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/1.139, allocations: 404 kB / 0.882 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/1.172, allocations: 11.49 MB / 0.8932 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/1.172, allocations: 43.56 kB / 0.8933 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001942/1.174, allocations: 210.6 kB / 0.8935 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006276/1.174, allocations: 378.2 kB / 0.8938 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/1.203, allocations: 9.785 MB / 0.9034 GB, free: 1.691 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.05897/1.262, allocations: 42.26 MB / 0.9447 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02343/1.285, allocations: 8.19 MB / 0.9527 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007358/1.293, allocations: 3.084 MB / 0.9557 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.294, allocations: 293.1 kB / 0.956 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02059/1.314, allocations: 6.671 MB / 0.9625 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005048/1.319, allocations: 0.7904 MB / 0.9632 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 2.599e-05/1.319, allocations: 4 kB / 0.9633 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1053/1.425, allocations: 50.4 MB / 1.012 GB, free: 136 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008746/1.426, allocations: 1.535 MB / 1.014 GB, free: 14.24 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/1.437, allocations: 6.132 MB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/1.438, allocations: 97.7 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/1.441, allocations: 2.826 MB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004536/1.446, allocations: 2.978 MB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003603/1.449, allocations: 1.793 MB / 1.027 GB, free: 376 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.449, allocations: 301.1 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007999/1.457, allocations: 4.18 MB / 1.032 GB, free: 11.87 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/1.469, allocations: 6.511 MB / 1.038 GB, free: 4.41 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6884/2.157, allocations: 51.06 MB / 1.088 GB, free: 339.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.062e-05/2.157, allocations: 19.25 kB / 1.088 GB, free: 339.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03094/2.188, allocations: 12.62 MB / 1.1 GB, free: 331 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/2.189, allocations: 65.69 kB / 1.1 GB, free: 330.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01932/2.208, allocations: 9.996 MB / 1.11 GB, free: 320.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003776/2.212, allocations: 1.038 MB / 1.111 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00928/2.221, allocations: 2.346 MB / 1.114 GB, free: 317.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/2.232, allocations: 11.8 MB / 1.125 GB, free: 305.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008191/2.241, allocations: 321.2 kB / 1.125 GB, free: 304.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002948/2.244, allocations: 0.5465 MB / 1.126 GB, free: 304.2 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.01688/2.261, allocations: 5.878 MB / 1.132 GB, free: 298.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01205/2.273, allocations: 6.475 MB / 1.138 GB, free: 290.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.277/2.55, allocations: 50.94 MB / 1.188 GB, free: 239 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.004e-05/2.55, allocations: 20 kB / 1.188 GB, free: 239 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02747/2.577, allocations: 12.27 MB / 1.2 GB, free: 227.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/2.577, allocations: 67.25 kB / 1.2 GB, free: 227 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01906/2.596, allocations: 9.653 MB / 1.209 GB, free: 217.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/2.598, allocations: 0.7368 MB / 1.21 GB, free: 216.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008569/2.607, allocations: 2.36 MB / 1.212 GB, free: 214.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/2.617, allocations: 11.61 MB / 1.224 GB, free: 202 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006907/2.624, allocations: 320.1 kB / 1.224 GB, free: 201.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002133/2.626, allocations: 0.5404 MB / 1.224 GB, free: 201.1 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.003747/2.63, allocations: 0.7258 MB / 1.225 GB, free: 200.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00352/2.634, allocations: 0.771 MB / 1.226 GB, free: 199.9 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.02152/2.655, allocations: 10.63 MB / 1.236 GB, free: 189.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.961208222899586] Failed to read output from testmodel.py, exit status != 0: 2.835836816113442 2.847165075 1.762570022 Calling exit ...