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.01368/0.01368, allocations: 1.784 MB / 21.57 MB, free: 2.898 MB / 18.57 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.001234/0.001234, allocations: 86.86 kB / 25.4 MB, free: 6.949 MB / 18.57 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.001458/0.001458, allocations: 155.4 kB / 29.33 MB, free: 3.09 MB / 18.57 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 0.9391/0.9391, allocations: 177.1 MB / 210.3 MB, free: 3.43 MB / 186.7 MB " [Timeout remaining time 179] 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.6543/0.6543, allocations: 102.4 MB / 369.9 MB, free: 240 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 3.938 kB / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.769e-05, allocations: 3.438 kB / 470.4 MB, free: 18.84 MB / 410.8 MB 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.1251/0.1251, allocations: 76.22 MB / 0.5338 GB, free: 11.36 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.159, allocations: 24.59 MB / 0.5579 GB, free: 2.691 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005467/0.1644, allocations: 162.8 kB / 0.558 GB, free: 2.531 MB / 474.8 MB [/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.007111/0.1715, allocations: 3.089 MB / 0.561 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.1833, allocations: 4.932 MB / 0.5658 GB, free: 10.46 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00849/0.1918, allocations: 4.167 MB / 0.5699 GB, free: 6.289 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01701/0.2088, allocations: 13.27 MB / 0.5829 GB, free: 8.984 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006948/0.2157, allocations: 4.321 MB / 0.5871 GB, free: 4.594 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1229/0.3387, allocations: 52.68 MB / 0.6385 GB, free: 1.07 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2355/0.5741, allocations: 4.823 MB / 0.6433 GB, free: 75.77 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002839/0.577, allocations: 0.8256 MB / 0.6441 GB, free: 75.77 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007445/0.5844, allocations: 2.571 MB / 0.6466 GB, free: 75.77 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.004603/0.589, allocations: 2.781 MB / 0.6493 GB, free: 75.77 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006423/0.5954, allocations: 2.809 MB / 0.652 GB, free: 75.77 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.6113, allocations: 9.002 MB / 0.6608 GB, free: 75.08 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.6113, allocations: 0 / 0.6608 GB, free: 75.08 MB / 0.5418 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6113, allocations: 3.562 kB / 0.6608 GB, free: 75.08 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004377/0.6117, allocations: 0 / 0.6608 GB, free: 75.08 MB / 0.5418 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.01843/0.6301, allocations: 9.124 MB / 0.6697 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6302, allocations: 10.06 kB / 0.6697 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.6335, allocations: 1.299 MB / 0.671 GB, free: 70.7 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/0.6418, allocations: 5.271 MB / 0.6762 GB, free: 69.5 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.6421, allocations: 311.8 kB / 0.6765 GB, free: 69.48 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.6434, allocations: 436 kB / 0.6769 GB, free: 69.48 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.6601, allocations: 10.97 MB / 0.6876 GB, free: 62.3 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002123/0.6603, allocations: 45.75 kB / 0.6876 GB, free: 62.3 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009904/0.6613, allocations: 213.2 kB / 0.6878 GB, free: 62.3 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004345/0.6617, allocations: 379.4 kB / 0.6882 GB, free: 62.29 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.6722, allocations: 4.905 MB / 0.693 GB, free: 61.1 MB / 0.5418 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.02398/0.6962, allocations: 50.68 MB / 0.7425 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008252/0.7044, allocations: 5.227 MB / 0.7476 GB, free: 13.52 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.7058, allocations: 1.299 MB / 0.7488 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005356/0.7064, allocations: 453.4 kB / 0.7493 GB, free: 12.87 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006399/0.7128, allocations: 4.461 MB / 0.7536 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002309/0.7151, allocations: 0.8372 MB / 0.7545 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=870): time 1.105e-05/0.7151, allocations: 0 / 0.7545 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of matching and sorting (n=872): time 0.02923/0.7443, allocations: 14.57 MB / 0.7687 GB, free: 1.836 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003135/0.7446, allocations: 1.966 MB / 0.7706 GB, free: 15.41 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/0.7493, allocations: 5.146 MB / 0.7756 GB, free: 11.11 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003296/0.7496, allocations: 101.7 kB / 0.7757 GB, free: 11 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/0.7515, allocations: 3.139 MB / 0.7788 GB, free: 8.074 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001755/0.7532, allocations: 3.047 MB / 0.7818 GB, free: 5.207 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.7552, allocations: 1.953 MB / 0.7837 GB, free: 3.418 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7553, allocations: 480.8 kB / 0.7841 GB, free: 2.945 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.7571, allocations: 1.373 MB / 0.7855 GB, free: 1.547 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004223/0.7614, allocations: 6.027 MB / 0.7914 GB, free: 10.03 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007969/0.7693, allocations: 8.163 MB / 0.7993 GB, free: 1.117 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.7694, allocations: 22.69 kB / 0.7994 GB, free: 1.098 MB / 0.573 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01024/0.7796, allocations: 7.392 MB / 0.8066 GB, free: 10.17 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/0.7797, allocations: 67.56 kB / 0.8066 GB, free: 10.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006734/0.7864, allocations: 4.986 MB / 0.8115 GB, free: 5.16 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.7884, allocations: 0.9846 MB / 0.8125 GB, free: 4.227 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/0.7925, allocations: 2.269 MB / 0.8147 GB, free: 2.09 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/0.7988, allocations: 12.96 MB / 0.8273 GB, free: 4.605 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.8015, allocations: 289.3 kB / 0.8276 GB, free: 4.324 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005396/0.802, allocations: 490.2 kB / 0.8281 GB, free: 3.848 MB / 0.6043 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.002914/0.805, allocations: 1.574 MB / 0.8296 GB, free: 2.27 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003872/0.8088, allocations: 6.002 MB / 0.8355 GB, free: 10.77 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008035/0.8169, allocations: 8.12 MB / 0.8434 GB, free: 1.891 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.336e-05/0.8169, allocations: 26.59 kB / 0.8434 GB, free: 1.867 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.009597/0.8265, allocations: 7.106 MB / 0.8504 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.8265, allocations: 65.69 kB / 0.8504 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006644/0.8332, allocations: 4.689 MB / 0.855 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.8346, allocations: 0.7643 MB / 0.8558 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/0.8385, allocations: 2.275 MB / 0.858 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/0.8445, allocations: 12.92 MB / 0.8706 GB, free: 6.141 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.8472, allocations: 295.6 kB / 0.8709 GB, free: 5.855 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/0.8477, allocations: 483.6 kB / 0.8713 GB, free: 5.383 MB / 0.6512 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.001619/0.8494, allocations: 0.8245 MB / 0.8721 GB, free: 4.645 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/0.851, allocations: 0.8854 MB / 0.873 GB, free: 3.754 MB / 0.6512 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 1261 equation(s) and 1208 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2327/1.084, allocations: 8.647 MB / 0.8815 GB, free: 174.5 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.821823501959443]