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.006082/0.006082, allocations: 1.442 MB / 20.54 MB, free: 3.992 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.0006916/0.0006916, allocations: 91.44 kB / 24.16 MB, free: 384 kB / 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.0007665/0.0007665, allocations: 165.5 kB / 27.86 MB, free: 5.488 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.9125/0.9125, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.8004/0.8004, allocations: 102.4 MB / 367.9 MB, free: 1.473 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5366 GB, free: 39.76 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.341e-05, allocations: 3.375 kB / 0.5366 GB, free: 39.75 MB / 490.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.1311/0.1311, allocations: 70.77 MB / 0.6058 GB, free: 5.223 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0345/0.1656, allocations: 23.83 MB / 0.629 GB, free: 13.32 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00626/0.1719, allocations: 158.8 kB / 0.6292 GB, free: 13.16 MB / 0.5262 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.006275/0.1782, allocations: 3.078 MB / 0.6322 GB, free: 10.07 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.1884, allocations: 4.913 MB / 0.637 GB, free: 5.125 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007254/0.1957, allocations: 4.167 MB / 0.6411 GB, free: 0.9492 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01483/0.2105, allocations: 13.29 MB / 0.654 GB, free: 3.609 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00704/0.2176, allocations: 4.097 MB / 0.658 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.231, allocations: 7.304 MB / 0.6652 GB, free: 8.125 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007163/0.2381, allocations: 4.895 MB / 0.67 GB, free: 3.219 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.2399, allocations: 0.8672 MB / 0.6708 GB, free: 2.352 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005367/0.2453, allocations: 2.624 MB / 0.6734 GB, free: 15.72 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002288/0.2476, allocations: 2.893 MB / 0.6762 GB, free: 12.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004142/0.2517, allocations: 2.876 MB / 0.679 GB, free: 9.938 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.2678, allocations: 14.09 MB / 0.6928 GB, free: 11.8 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2678, allocations: 0 / 0.6928 GB, free: 11.8 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2678, allocations: 0 / 0.6928 GB, free: 11.8 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003042/0.2681, allocations: 4 kB / 0.6928 GB, free: 11.8 MB / 0.5887 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.01394/0.282, allocations: 8.964 MB / 0.7015 GB, free: 2.742 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.2821, allocations: 16.03 kB / 0.7015 GB, free: 2.727 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.284, allocations: 1.084 MB / 0.7026 GB, free: 1.637 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008586/0.2926, allocations: 7.012 MB / 0.7094 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.2928, allocations: 316.4 kB / 0.7097 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007513/0.2935, allocations: 404.3 kB / 0.7101 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.3101, allocations: 13.52 MB / 0.7233 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.369e-05/0.3102, allocations: 51.5 kB / 0.7234 GB, free: 10.54 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.3106, allocations: 200 kB / 0.7236 GB, free: 10.34 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002677/0.3109, allocations: 374.2 kB / 0.7239 GB, free: 9.973 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.3256, allocations: 9.773 MB / 0.7335 GB, free: 180 kB / 0.6199 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.3523/0.6779, allocations: 38.86 MB / 0.7714 GB, free: 147.7 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.6919, allocations: 8.192 MB / 0.7794 GB, free: 145.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004702/0.6966, allocations: 3.103 MB / 0.7824 GB, free: 144.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.6972, allocations: 263.4 kB / 0.7827 GB, free: 144.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01092/0.7081, allocations: 6.692 MB / 0.7892 GB, free: 140.9 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003182/0.7113, allocations: 0.7667 MB / 0.79 GB, free: 140.7 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=870): time 9.738e-06/0.7113, allocations: 1.984 kB / 0.79 GB, free: 140.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=872): time 0.05346/0.7648, allocations: 50.46 MB / 0.8393 GB, free: 105 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/0.765, allocations: 1.538 MB / 0.8408 GB, free: 103.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005505/0.7705, allocations: 5.967 MB / 0.8466 GB, free: 97.23 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001344/0.7719, allocations: 97.53 kB / 0.8467 GB, free: 97.13 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.7731, allocations: 2.844 MB / 0.8495 GB, free: 94.53 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001628/0.7747, allocations: 2.939 MB / 0.8523 GB, free: 92.01 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.7764, allocations: 1.775 MB / 0.8541 GB, free: 90.22 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.7764, allocations: 309.1 kB / 0.8544 GB, free: 89.92 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/0.7804, allocations: 4.204 MB / 0.8585 GB, free: 85.7 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/0.7851, allocations: 7.264 MB / 0.8656 GB, free: 77.27 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1272/0.9123, allocations: 51.1 MB / 0.9155 GB, free: 26.4 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.193e-05/0.9124, allocations: 16 kB / 0.9155 GB, free: 26.39 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01603/0.9284, allocations: 12.65 MB / 0.9278 GB, free: 13.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.9285, allocations: 65.7 kB / 0.9279 GB, free: 13.63 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01078/0.9393, allocations: 10.05 MB / 0.9377 GB, free: 3.539 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.9411, allocations: 1.04 MB / 0.9387 GB, free: 2.508 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004196/0.9452, allocations: 2.356 MB / 0.941 GB, free: 152 kB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009/0.9542, allocations: 11.59 MB / 0.9523 GB, free: 3.945 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/0.9592, allocations: 315.9 kB / 0.9526 GB, free: 3.641 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006264/0.9598, allocations: 0.5433 MB / 0.9532 GB, free: 3.098 MB / 0.6668 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.007968/0.9678, allocations: 5.909 MB / 0.9589 GB, free: 13.18 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006009/0.9738, allocations: 7.211 MB / 0.966 GB, free: 4.781 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1368/1.111, allocations: 50.96 MB / 1.016 GB, free: 0.9141 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-05/1.111, allocations: 16 kB / 1.016 GB, free: 0.8984 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01729/1.128, allocations: 12.31 MB / 1.028 GB, free: 4.535 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/1.128, allocations: 69.69 kB / 1.028 GB, free: 4.461 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01139/1.139, allocations: 9.685 MB / 1.037 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/1.141, allocations: 0.7359 MB / 1.038 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/1.145, allocations: 2.356 MB / 1.04 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.336/1.481, allocations: 11.4 MB / 1.051 GB, free: 266.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.487, allocations: 322.7 kB / 1.052 GB, free: 266.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.488, allocations: 0.5399 MB / 1.052 GB, free: 266.8 MB / 0.7605 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.002536/1.49, allocations: 0.728 MB / 1.053 GB, free: 266.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/1.492, allocations: 0.7504 MB / 1.054 GB, free: 266.6 MB / 0.7605 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.01349/1.505, allocations: 10.65 MB / 1.064 GB, free: 264.7 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.544422379694879] Failed to read output from testmodel.py, exit status != 0: 1.6972113084048033 1.70918524 1.439023804 Calling exit ...