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.01261/0.01261, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001233/0.001233, allocations: 105.8 kB / 24.19 MB, free: 2.684 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.001733/0.001733, allocations: 211.8 kB / 27.92 MB, free: 4.035 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.535/1.535, allocations: 230.6 MB / 262.1 MB, free: 6.016 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.176/1.176, allocations: 130.7 MB / 449.6 MB, free: 6.578 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.03385/0.03385, allocations: 20.79 MB / 0.6362 GB, free: 4.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.2201, allocations: 81.89 MB / 0.7162 GB, free: 2.652 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.5478/0.7679, allocations: 60.84 MB / 0.7756 GB, free: 9.527 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04506/0.8129, allocations: 25.11 MB / 0.8001 GB, free: 7.508 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/0.8238, allocations: 157.4 kB / 0.8003 GB, free: 7.434 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.01061/0.8344, allocations: 3.214 MB / 0.8034 GB, free: 5.191 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01766/0.8521, allocations: 4.768 MB / 0.8081 GB, free: 1.445 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.8642, allocations: 4.131 MB / 0.8121 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02435/0.8885, allocations: 12.97 MB / 0.8248 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007902/0.8964, allocations: 3.828 MB / 0.8285 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/0.9081, allocations: 5.389 MB / 0.8338 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.9198, allocations: 5.707 MB / 0.8393 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003442/0.9232, allocations: 0.8711 MB / 0.8402 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.9337, allocations: 3.431 MB / 0.8435 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005203/0.9389, allocations: 2.819 MB / 0.8463 GB, free: 13.47 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01065/0.9496, allocations: 4.505 MB / 0.8507 GB, free: 8.945 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02697/0.9765, allocations: 14.21 MB / 0.8646 GB, free: 10.7 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9765, allocations: 0 / 0.8646 GB, free: 10.7 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9765, allocations: 0 / 0.8646 GB, free: 10.7 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004332/0.977, allocations: 2.625 kB / 0.8646 GB, free: 10.7 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.02704/1.004, allocations: 9.058 MB / 0.8734 GB, free: 1.574 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.004, allocations: 8.031 kB / 0.8734 GB, free: 1.566 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/1.009, allocations: 1.091 MB / 0.8745 GB, free: 484 kB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/1.026, allocations: 7.002 MB / 0.8813 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/1.026, allocations: 308.4 kB / 0.8816 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.028, allocations: 413.7 kB / 0.882 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/1.056, allocations: 11.5 MB / 0.8932 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/1.056, allocations: 43.56 kB / 0.8933 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006502/1.057, allocations: 211.9 kB / 0.8935 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004525/1.057, allocations: 374.2 kB / 0.8938 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02769/1.085, allocations: 9.784 MB / 0.9034 GB, free: 1.68 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.05779/1.143, allocations: 42.26 MB / 0.9447 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02251/1.165, allocations: 8.192 MB / 0.9527 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007103/1.172, allocations: 3.082 MB / 0.9557 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.174, allocations: 297.1 kB / 0.956 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01925/1.193, allocations: 6.666 MB / 0.9625 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003848/1.197, allocations: 0.7905 MB / 0.9632 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.685e-05/1.197, allocations: 0 / 0.9632 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1268/1.323, allocations: 50.41 MB / 1.012 GB, free: 112 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009433/1.324, allocations: 1.535 MB / 1.014 GB, free: 14.22 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.336, allocations: 6.128 MB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001826/1.338, allocations: 93.7 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002893/1.341, allocations: 2.833 MB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004211/1.345, allocations: 2.977 MB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003301/1.349, allocations: 1.797 MB / 1.027 GB, free: 352 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.349, allocations: 301.1 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007554/1.356, allocations: 4.172 MB / 1.032 GB, free: 11.86 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/1.366, allocations: 6.515 MB / 1.038 GB, free: 4.391 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7009/2.067, allocations: 51.06 MB / 1.088 GB, free: 341.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.303e-05/2.067, allocations: 19.94 kB / 1.088 GB, free: 341.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02579/2.093, allocations: 12.62 MB / 1.1 GB, free: 333.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.804e-05/2.093, allocations: 70.39 kB / 1.1 GB, free: 333.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01799/2.111, allocations: 9.993 MB / 1.11 GB, free: 323.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/2.115, allocations: 1.048 MB / 1.111 GB, free: 322.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00871/2.123, allocations: 2.344 MB / 1.114 GB, free: 319.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/2.134, allocations: 11.8 MB / 1.125 GB, free: 307.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/2.14, allocations: 320.7 kB / 1.125 GB, free: 307.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.142, allocations: 0.5387 MB / 1.126 GB, free: 306.6 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.01162/2.154, allocations: 5.876 MB / 1.132 GB, free: 300.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0086/2.162, allocations: 6.471 MB / 1.138 GB, free: 293.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2593/2.422, allocations: 50.94 MB / 1.188 GB, free: 241.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.825e-05/2.422, allocations: 20 kB / 1.188 GB, free: 241.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02523/2.447, allocations: 12.28 MB / 1.2 GB, free: 229.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/2.447, allocations: 69.73 kB / 1.2 GB, free: 229.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0157/2.463, allocations: 9.644 MB / 1.209 GB, free: 219.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/2.465, allocations: 0.7426 MB / 1.21 GB, free: 218.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007918/2.473, allocations: 2.356 MB / 1.212 GB, free: 216.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009561/2.482, allocations: 11.61 MB / 1.224 GB, free: 204.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006561/2.489, allocations: 316.3 kB / 1.224 GB, free: 204 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/2.49, allocations: 0.5387 MB / 1.224 GB, free: 203.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.002454/2.493, allocations: 0.7199 MB / 1.225 GB, free: 202.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002155/2.495, allocations: 0.7788 MB / 1.226 GB, free: 202.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.01646/2.511, allocations: 10.63 MB / 1.236 GB, free: 192 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.656837938000535] Failed to read output from testmodel.py, exit status != 0: 2.6793903409998165 2.689219119 1.71006999 Calling exit ...