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.01674/0.01674, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001949/0.001949, allocations: 108.3 kB / 24.19 MB, free: 2.688 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.002608/0.002608, allocations: 206.6 kB / 27.92 MB, free: 4.027 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.483/1.483, allocations: 230.6 MB / 262.1 MB, free: 5.996 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.061/1.061, allocations: 130.7 MB / 449.6 MB, free: 6.574 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.03137/0.03137, allocations: 20.79 MB / 0.6362 GB, free: 4.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.2095, allocations: 81.91 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.5057/0.7151, allocations: 60.83 MB / 0.7756 GB, free: 9.5 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04065/0.7558, allocations: 25.11 MB / 0.8001 GB, free: 7.523 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008388/0.7642, allocations: 153.9 kB / 0.8003 GB, free: 7.453 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.009364/0.7735, allocations: 3.218 MB / 0.8034 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01568/0.7892, allocations: 4.773 MB / 0.8081 GB, free: 1.457 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01472/0.8039, allocations: 4.129 MB / 0.8121 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02765/0.8316, allocations: 12.96 MB / 0.8248 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00777/0.8394, allocations: 3.825 MB / 0.8285 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.8505, allocations: 5.391 MB / 0.8338 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.8613, allocations: 5.707 MB / 0.8393 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003255/0.8646, allocations: 0.8711 MB / 0.8402 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009941/0.8745, allocations: 3.434 MB / 0.8435 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005253/0.8798, allocations: 2.815 MB / 0.8463 GB, free: 13.56 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.8903, allocations: 4.513 MB / 0.8507 GB, free: 9.023 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02751/0.9178, allocations: 14.19 MB / 0.8646 GB, free: 10.78 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9178, allocations: 1.219 kB / 0.8646 GB, free: 10.78 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9178, allocations: 0 / 0.8646 GB, free: 10.78 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004736/0.9183, allocations: 0 / 0.8646 GB, free: 10.78 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.02719/0.9455, allocations: 9.068 MB / 0.8734 GB, free: 1.652 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9456, allocations: 8.031 kB / 0.8734 GB, free: 1.645 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.9508, allocations: 1.099 MB / 0.8745 GB, free: 0.543 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/0.9677, allocations: 6.998 MB / 0.8813 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.9681, allocations: 308.4 kB / 0.8816 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/0.9697, allocations: 408 kB / 0.882 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.9981, allocations: 11.5 MB / 0.8932 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.9983, allocations: 47.56 kB / 0.8933 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006576/0.9989, allocations: 206.7 kB / 0.8935 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004749/0.9994, allocations: 381 kB / 0.8938 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/1.026, allocations: 9.785 MB / 0.9034 GB, free: 1.754 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.0558/1.082, allocations: 42.25 MB / 0.9447 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/1.104, allocations: 8.2 MB / 0.9527 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006514/1.11, allocations: 3.076 MB / 0.9557 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.111, allocations: 295.8 kB / 0.956 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01901/1.13, allocations: 6.668 MB / 0.9625 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003523/1.134, allocations: 0.7904 MB / 0.9632 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.139e-05/1.134, allocations: 0 / 0.9632 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.09717/1.231, allocations: 50.41 MB / 1.012 GB, free: 192 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009578/1.232, allocations: 1.538 MB / 1.014 GB, free: 14.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.243, allocations: 6.127 MB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001538/1.244, allocations: 97.7 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00306/1.248, allocations: 2.833 MB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004835/1.252, allocations: 2.974 MB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004316/1.257, allocations: 1.797 MB / 1.027 GB, free: 432 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.257, allocations: 301.1 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008834/1.266, allocations: 4.176 MB / 1.032 GB, free: 11.93 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01188/1.278, allocations: 6.511 MB / 1.038 GB, free: 4.469 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6058/1.883, allocations: 51.06 MB / 1.088 GB, free: 342 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.969e-05/1.883, allocations: 18.59 kB / 1.088 GB, free: 342 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02492/1.908, allocations: 12.62 MB / 1.1 GB, free: 333.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/1.908, allocations: 67.09 kB / 1.1 GB, free: 333.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01835/1.927, allocations: 9.999 MB / 1.11 GB, free: 323.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003412/1.93, allocations: 1.043 MB / 1.111 GB, free: 322.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008504/1.939, allocations: 2.348 MB / 1.114 GB, free: 320 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.949, allocations: 11.8 MB / 1.125 GB, free: 307.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/1.955, allocations: 317.4 kB / 1.125 GB, free: 307.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/1.957, allocations: 0.5465 MB / 1.126 GB, free: 306.7 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.01102/1.968, allocations: 5.876 MB / 1.132 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008373/1.976, allocations: 6.471 MB / 1.138 GB, free: 293.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2644/2.241, allocations: 50.94 MB / 1.188 GB, free: 241.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.461e-05/2.241, allocations: 20 kB / 1.188 GB, free: 241.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02173/2.263, allocations: 12.27 MB / 1.2 GB, free: 229.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/2.263, allocations: 69.69 kB / 1.2 GB, free: 229.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01638/2.279, allocations: 9.655 MB / 1.209 GB, free: 219.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/2.281, allocations: 0.7276 MB / 1.21 GB, free: 219 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008821/2.29, allocations: 2.36 MB / 1.212 GB, free: 216.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/2.3, allocations: 11.61 MB / 1.224 GB, free: 204.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/2.306, allocations: 324.5 kB / 1.224 GB, free: 204.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/2.308, allocations: 0.5348 MB / 1.224 GB, free: 203.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: 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.003209/2.311, allocations: 0.7298 MB / 1.225 GB, free: 202.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002801/2.314, allocations: 0.7786 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.01988/2.334, allocations: 10.61 MB / 1.236 GB, free: 192.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.218450977932662] Failed to read output from testmodel.py, exit status != 0: 2.484031946863979 2.493925333 1.573543135 Calling exit ...