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.01001/0.01001, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001268/0.001268, allocations: 103.3 kB / 24.18 MB, free: 2.184 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.001603/0.001603, allocations: 217.3 kB / 27.9 MB, free: 3.504 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.359/1.359, allocations: 230.6 MB / 262.1 MB, free: 5.844 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 0.9834/0.9834, allocations: 130.7 MB / 449.6 MB, free: 6.355 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.06434/0.06434, allocations: 20.99 MB / 0.6363 GB, free: 4.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.2265, allocations: 81.91 MB / 0.7163 GB, free: 2.215 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.5322/0.7587, allocations: 57.14 MB / 0.7721 GB, free: 13.01 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03934/0.798, allocations: 24.11 MB / 0.7956 GB, free: 12.05 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008682/0.8067, allocations: 158.5 kB / 0.7958 GB, free: 11.97 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.009954/0.8167, allocations: 3.06 MB / 0.7988 GB, free: 9.859 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.8335, allocations: 4.771 MB / 0.8034 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.8456, allocations: 4.121 MB / 0.8075 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02211/0.8677, allocations: 12.95 MB / 0.8201 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007673/0.8753, allocations: 4.066 MB / 0.8241 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.8873, allocations: 5.4 MB / 0.8293 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.8983, allocations: 5.465 MB / 0.8347 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003636/0.9019, allocations: 0.8711 MB / 0.8355 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009213/0.9111, allocations: 2.591 MB / 0.8381 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005316/0.9164, allocations: 2.823 MB / 0.8408 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008921/0.9253, allocations: 3.486 MB / 0.8442 GB, free: 15.11 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02451/0.9499, allocations: 14.08 MB / 0.858 GB, free: 0.9805 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9499, allocations: 0 / 0.858 GB, free: 0.9805 MB / 0.6232 GB Notification: Performance of FrontEnd: time 5.741e-06/0.9499, allocations: 3.984 kB / 0.858 GB, free: 0.9766 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.000455/0.9503, allocations: 0 / 0.858 GB, free: 0.9766 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.02494/0.9753, allocations: 9.058 MB / 0.8668 GB, free: 7.852 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9753, allocations: 8.031 kB / 0.8668 GB, free: 7.844 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.9803, allocations: 1.095 MB / 0.8679 GB, free: 6.746 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/0.997, allocations: 7.007 MB / 0.8747 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000451/0.9974, allocations: 304.3 kB / 0.875 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/0.9993, allocations: 408 kB / 0.8754 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/1.032, allocations: 13.52 MB / 0.8886 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002251/1.032, allocations: 43.56 kB / 0.8887 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001642/1.034, allocations: 208 kB / 0.8889 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006104/1.034, allocations: 378.2 kB / 0.8892 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/1.062, allocations: 9.778 MB / 0.8988 GB, free: 5.332 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.05287/1.115, allocations: 38.98 MB / 0.9368 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02263/1.138, allocations: 8.203 MB / 0.9449 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006661/1.144, allocations: 3.109 MB / 0.9479 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.145, allocations: 254.6 kB / 0.9481 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01904/1.164, allocations: 6.698 MB / 0.9547 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003661/1.168, allocations: 0.7672 MB / 0.9554 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 1.728e-05/1.168, allocations: 2.656 kB / 0.9554 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1014/1.27, allocations: 50.46 MB / 1.005 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008138/1.27, allocations: 1.529 MB / 1.006 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009373/1.28, allocations: 5.97 MB / 1.012 GB, free: 15.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001553/1.281, allocations: 101.7 kB / 1.012 GB, free: 15.06 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.284, allocations: 2.855 MB / 1.015 GB, free: 12.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003923/1.288, allocations: 2.978 MB / 1.018 GB, free: 9.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003046/1.291, allocations: 1.791 MB / 1.02 GB, free: 7.375 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.291, allocations: 312.4 kB / 1.02 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007405/1.298, allocations: 4.209 MB / 1.024 GB, free: 2.84 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/1.309, allocations: 7.252 MB / 1.031 GB, free: 10.4 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.563/1.872, allocations: 51.09 MB / 1.081 GB, free: 343.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.037e-05/1.872, allocations: 15.72 kB / 1.081 GB, free: 343.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02677/1.899, allocations: 12.64 MB / 1.093 GB, free: 336.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.899, allocations: 66.78 kB / 1.093 GB, free: 336.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01964/1.918, allocations: 10.04 MB / 1.103 GB, free: 326.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003532/1.922, allocations: 1.047 MB / 1.104 GB, free: 325.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008472/1.93, allocations: 2.345 MB / 1.106 GB, free: 323.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.941, allocations: 11.61 MB / 1.118 GB, free: 311.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/1.947, allocations: 322.1 kB / 1.118 GB, free: 310.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/1.948, allocations: 0.5387 MB / 1.119 GB, free: 310.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.01092/1.959, allocations: 5.91 MB / 1.124 GB, free: 304.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008375/1.968, allocations: 7.211 MB / 1.131 GB, free: 295.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2525/2.22, allocations: 50.97 MB / 1.181 GB, free: 244.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.885e-05/2.22, allocations: 20 kB / 1.181 GB, free: 244 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02497/2.245, allocations: 12.28 MB / 1.193 GB, free: 232.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/2.245, allocations: 76.44 kB / 1.193 GB, free: 232 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01868/2.264, allocations: 9.69 MB / 1.203 GB, free: 222.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/2.266, allocations: 0.7451 MB / 1.204 GB, free: 221.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008209/2.274, allocations: 2.363 MB / 1.206 GB, free: 219.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009744/2.284, allocations: 11.41 MB / 1.217 GB, free: 207.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006292/2.29, allocations: 314.1 kB / 1.217 GB, free: 206.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/2.292, allocations: 0.5387 MB / 1.218 GB, free: 206.3 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.003397/2.296, allocations: 0.7365 MB / 1.219 GB, free: 205.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002849/2.298, allocations: 0.7485 MB / 1.219 GB, free: 205.2 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.01992/2.318, allocations: 10.66 MB / 1.23 GB, free: 194.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.9120407328009605] Failed to read output from testmodel.py, exit status != 0: 2.462333812844008 2.472663977 1.520123465 Calling exit ...