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.009939/0.009939, allocations: 1.772 MB / 18.82 MB, free: 4.246 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.001167/0.001167, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.00162/0.00162, allocations: 211.9 kB / 25.45 MB, free: 3.254 MB / 14.72 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.453/1.453, allocations: 230.6 MB / 259.3 MB, free: 13.14 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.073/1.073, allocations: 130.5 MB / 446.3 MB, free: 15.02 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4135/0.4135, allocations: 46.15 MB / 0.6556 GB, free: 30.64 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.6074, allocations: 89.05 MB / 0.7426 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.03213/0.6395, allocations: 27.86 MB / 0.7698 GB, free: 6.477 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04384/0.6834, allocations: 24.79 MB / 0.794 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00812/0.6915, allocations: 162.8 kB / 0.7942 GB, free: 13.45 MB / 0.6075 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.009365/0.7009, allocations: 3.149 MB / 0.7972 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.7171, allocations: 4.66 MB / 0.8018 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.7288, allocations: 4.05 MB / 0.8057 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02248/0.7513, allocations: 12.94 MB / 0.8184 GB, free: 4.566 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009147/0.7604, allocations: 4.024 MB / 0.8223 GB, free: 484 kB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.7727, allocations: 5.385 MB / 0.8276 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.7845, allocations: 5.7 MB / 0.8331 GB, free: 5.344 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004087/0.7886, allocations: 0.8672 MB / 0.834 GB, free: 4.477 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00968/0.7983, allocations: 3.193 MB / 0.8371 GB, free: 1.285 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006161/0.8045, allocations: 2.815 MB / 0.8399 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01186/0.8163, allocations: 4.517 MB / 0.8443 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02763/0.8439, allocations: 14.11 MB / 0.858 GB, free: 11.76 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.844, allocations: 0 / 0.858 GB, free: 11.76 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.014e-06/0.844, allocations: 0 / 0.858 GB, free: 11.76 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005256/0.8445, allocations: 3.938 kB / 0.8581 GB, free: 11.75 MB / 0.67 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.02933/0.8738, allocations: 9.129 MB / 0.867 GB, free: 2.512 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.8739, allocations: 8.031 kB / 0.867 GB, free: 2.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005752/0.8796, allocations: 1.1 MB / 0.868 GB, free: 1.398 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4364/1.316, allocations: 7.19 MB / 0.8751 GB, free: 109.9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/1.316, allocations: 307.2 kB / 0.8754 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/1.318, allocations: 400.9 kB / 0.8757 GB, free: 109.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/1.346, allocations: 11.49 MB / 0.887 GB, free: 103.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/1.346, allocations: 45.72 kB / 0.887 GB, free: 103.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006611/1.346, allocations: 204.3 kB / 0.8872 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/1.347, allocations: 380.5 kB / 0.8876 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/1.372, allocations: 9.789 MB / 0.8971 GB, free: 99.49 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.05427/1.426, allocations: 42.33 MB / 0.9385 GB, free: 62.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02321/1.449, allocations: 8.341 MB / 0.9466 GB, free: 57.52 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006953/1.456, allocations: 3.085 MB / 0.9496 GB, free: 55.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.458, allocations: 372.9 kB / 0.95 GB, free: 55.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01841/1.476, allocations: 6.677 MB / 0.9565 GB, free: 51.63 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004755/1.481, allocations: 0.7956 MB / 0.9573 GB, free: 51.25 MB / 0.67 GB Notification: Performance of pre-optimization done (n=870): time 3.407e-05/1.481, allocations: 2.656 kB / 0.9573 GB, free: 51.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=872): time 0.09326/1.574, allocations: 50.84 MB / 1.007 GB, free: 3.578 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000304/1.574, allocations: 1.532 MB / 1.008 GB, free: 1.699 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01044/1.585, allocations: 6.125 MB / 1.014 GB, free: 11.64 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001835/1.587, allocations: 103 kB / 1.015 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002826/1.589, allocations: 2.834 MB / 1.017 GB, free: 8.855 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.005166/1.595, allocations: 2.982 MB / 1.02 GB, free: 5.918 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004287/1.599, allocations: 1.787 MB / 1.022 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.599, allocations: 305.1 kB / 1.022 GB, free: 3.816 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007647/1.607, allocations: 4.171 MB / 1.026 GB, free: 15.63 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/1.617, allocations: 6.516 MB / 1.033 GB, free: 8.199 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2759/1.893, allocations: 51.06 MB / 1.083 GB, free: 5.07 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-05/1.893, allocations: 20 kB / 1.083 GB, free: 5.051 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.0293/1.922, allocations: 12.63 MB / 1.095 GB, free: 8.402 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.922, allocations: 69.69 kB / 1.095 GB, free: 8.328 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02169/1.944, allocations: 10 MB / 1.105 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/1.948, allocations: 1.039 MB / 1.106 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/1.958, allocations: 2.348 MB / 1.108 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/1.973, allocations: 12.41 MB / 1.12 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/1.979, allocations: 323.9 kB / 1.12 GB, free: 13.35 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001895/1.981, allocations: 0.5387 MB / 1.121 GB, free: 12.81 MB / 0.795 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.01214/1.993, allocations: 5.882 MB / 1.127 GB, free: 6.918 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0101/2.003, allocations: 6.467 MB / 1.133 GB, free: 15.44 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2751/2.279, allocations: 50.95 MB / 1.183 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.617e-05/2.279, allocations: 20 kB / 1.183 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.4256/2.704, allocations: 12.27 MB / 1.195 GB, free: 278.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.564e-05/2.704, allocations: 64.28 kB / 1.195 GB, free: 278.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01896/2.723, allocations: 9.65 MB / 1.204 GB, free: 278.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/2.726, allocations: 0.737 MB / 1.205 GB, free: 278.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008827/2.734, allocations: 2.354 MB / 1.207 GB, free: 278.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/2.745, allocations: 12.23 MB / 1.219 GB, free: 267.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/2.752, allocations: 317.6 kB / 1.22 GB, free: 267.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001658/2.754, allocations: 0.5354 MB / 1.22 GB, free: 267.5 MB / 0.8575 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.002554/2.756, allocations: 0.7253 MB / 1.221 GB, free: 267.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0024/2.759, allocations: 0.7771 MB / 1.222 GB, free: 267.1 MB / 0.8575 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.02037/2.779, allocations: 10.63 MB / 1.232 GB, free: 264.1 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.345232295978349] Failed to read output from testmodel.py, exit status != 0: 2.7881326399510726 2.808561647 1.959087051 Calling exit ...