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.01268/0.01268, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001519/0.001519, allocations: 99.86 kB / 24.97 MB, free: 2.188 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.002005/0.002005, allocations: 207.2 kB / 28.71 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.481/1.481, allocations: 230.6 MB / 262.9 MB, free: 6.02 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.018/1.018, allocations: 130.7 MB / 450.4 MB, free: 6.531 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.03119/0.03119, allocations: 20.61 MB / 0.6368 GB, free: 4.809 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1996, allocations: 81.91 MB / 0.7168 GB, free: 2.809 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.4761/0.6757, allocations: 60.84 MB / 0.7762 GB, free: 9.535 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03813/0.7138, allocations: 25.1 MB / 0.8007 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007601/0.7214, allocations: 159.6 kB / 0.8009 GB, free: 7.504 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.008956/0.7304, allocations: 3.216 MB / 0.804 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01484/0.7452, allocations: 4.77 MB / 0.8087 GB, free: 1.512 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.7565, allocations: 4.128 MB / 0.8127 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02122/0.7777, allocations: 12.97 MB / 0.8254 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007709/0.7854, allocations: 3.82 MB / 0.8291 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/0.7963, allocations: 5.396 MB / 0.8344 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.807, allocations: 5.707 MB / 0.8399 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003108/0.8101, allocations: 0.8711 MB / 0.8408 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009297/0.8194, allocations: 3.435 MB / 0.8441 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004589/0.824, allocations: 2.815 MB / 0.8469 GB, free: 13.61 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.008784/0.8328, allocations: 4.509 MB / 0.8513 GB, free: 9.082 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02336/0.8561, allocations: 14.2 MB / 0.8652 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8561, allocations: 0 / 0.8652 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.073e-06/0.8561, allocations: 0 / 0.8652 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0003682/0.8565, allocations: 2.656 kB / 0.8652 GB, free: 10.84 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.02176/0.8783, allocations: 9.065 MB / 0.874 GB, free: 1.715 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8783, allocations: 8.031 kB / 0.874 GB, free: 1.707 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.8818, allocations: 1.099 MB / 0.8751 GB, free: 0.6055 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.8963, allocations: 6.995 MB / 0.8819 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.8966, allocations: 315 kB / 0.8822 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.8978, allocations: 408 kB / 0.8826 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/0.9249, allocations: 11.48 MB / 0.8938 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.925, allocations: 47.56 kB / 0.8939 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006244/0.9256, allocations: 208 kB / 0.8941 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004465/0.9261, allocations: 380.9 kB / 0.8944 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/0.952, allocations: 9.788 MB / 0.904 GB, free: 1.82 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.05269/1.005, allocations: 42.25 MB / 0.9453 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02199/1.027, allocations: 8.194 MB / 0.9533 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006769/1.033, allocations: 3.082 MB / 0.9563 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.034, allocations: 297.1 kB / 0.9565 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01893/1.053, allocations: 6.669 MB / 0.9631 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003325/1.057, allocations: 0.7943 MB / 0.9638 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.124e-05/1.057, allocations: 0 / 0.9638 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.09357/1.15, allocations: 50.41 MB / 1.013 GB, free: 256 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008907/1.151, allocations: 1.535 MB / 1.015 GB, free: 14.36 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009953/1.161, allocations: 6.125 MB / 1.021 GB, free: 8.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001484/1.163, allocations: 97.64 kB / 1.021 GB, free: 8.148 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.165, allocations: 2.829 MB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004377/1.17, allocations: 2.978 MB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003718/1.174, allocations: 1.793 MB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.174, allocations: 305.1 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00771/1.181, allocations: 4.176 MB / 1.032 GB, free: 11.99 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/1.192, allocations: 6.511 MB / 1.039 GB, free: 4.531 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5637/1.756, allocations: 51.07 MB / 1.089 GB, free: 341.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.451e-05/1.756, allocations: 19.44 kB / 1.089 GB, free: 341.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02867/1.784, allocations: 12.62 MB / 1.101 GB, free: 333.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.784, allocations: 61.69 kB / 1.101 GB, free: 333.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02247/1.807, allocations: 10 MB / 1.111 GB, free: 323.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003553/1.81, allocations: 1.037 MB / 1.112 GB, free: 322.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008545/1.819, allocations: 2.348 MB / 1.114 GB, free: 319.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/1.83, allocations: 11.8 MB / 1.126 GB, free: 307.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00777/1.838, allocations: 322.1 kB / 1.126 GB, free: 307.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/1.84, allocations: 0.5426 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.01178/1.852, allocations: 5.878 MB / 1.132 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008424/1.861, allocations: 6.475 MB / 1.139 GB, free: 293.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2535/2.114, allocations: 50.94 MB / 1.188 GB, free: 241.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.834e-05/2.114, allocations: 16 kB / 1.188 GB, free: 241.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02369/2.138, allocations: 12.27 MB / 1.2 GB, free: 229.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/2.138, allocations: 69.69 kB / 1.2 GB, free: 229.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01561/2.154, allocations: 9.641 MB / 1.21 GB, free: 219.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/2.155, allocations: 0.7392 MB / 1.211 GB, free: 219 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00794/2.163, allocations: 2.356 MB / 1.213 GB, free: 216.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009454/2.173, allocations: 11.62 MB / 1.224 GB, free: 204.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/2.179, allocations: 324.3 kB / 1.224 GB, free: 204.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/2.18, allocations: 0.5348 MB / 1.225 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.002271/2.183, allocations: 0.7267 MB / 1.226 GB, free: 202.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/2.185, allocations: 0.7746 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.01648/2.201, allocations: 10.62 MB / 1.237 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: 5.97273805399891] Failed to read output from testmodel.py, exit status != 0: 2.343271166086197 2.353794503 1.4939072119999999 Calling exit ...