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.008841/0.008841, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0005782/0.0005782, allocations: 91.45 kB / 24.16 MB, free: 396 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.0007124/0.0007124, allocations: 165.8 kB / 27.86 MB, free: 5.496 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.9003/0.9003, allocations: 177.1 MB / 208.6 MB, free: 2.973 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.7704/0.7704, allocations: 102.4 MB / 367.9 MB, free: 1.5 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.583e-06/1.583e-06, allocations: 0 / 0.5366 GB, free: 39.69 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.977e-05, allocations: 4.953 kB / 0.5366 GB, free: 39.68 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.1229/0.1229, allocations: 70.77 MB / 0.6058 GB, free: 5.219 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03265/0.1556, allocations: 23.83 MB / 0.629 GB, free: 13.31 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005983/0.1616, allocations: 158.9 kB / 0.6292 GB, free: 13.15 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.005845/0.1674, allocations: 3.074 MB / 0.6322 GB, free: 10.06 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.1802, allocations: 4.924 MB / 0.637 GB, free: 5.109 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.1909, allocations: 4.167 MB / 0.6411 GB, free: 0.9336 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01595/0.2069, allocations: 13.28 MB / 0.654 GB, free: 3.605 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006142/0.213, allocations: 4.089 MB / 0.658 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.2252, allocations: 7.308 MB / 0.6652 GB, free: 8.125 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007682/0.2329, allocations: 4.895 MB / 0.6699 GB, free: 3.219 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.2343, allocations: 0.8672 MB / 0.6708 GB, free: 2.352 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/0.2397, allocations: 2.62 MB / 0.6734 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001898/0.2416, allocations: 2.897 MB / 0.6762 GB, free: 12.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.2448, allocations: 2.868 MB / 0.679 GB, free: 9.945 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.2614, allocations: 14.1 MB / 0.6928 GB, free: 11.8 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2614, allocations: 4 kB / 0.6928 GB, free: 11.8 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2614, allocations: 4 kB / 0.6928 GB, free: 11.8 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.000312/0.2617, allocations: 0 / 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.01522/0.2769, allocations: 8.968 MB / 0.7015 GB, free: 2.734 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.277, allocations: 8.031 kB / 0.7015 GB, free: 2.727 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.2791, allocations: 1.096 MB / 0.7026 GB, free: 1.625 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008753/0.2879, allocations: 7 MB / 0.7094 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.288, allocations: 312.4 kB / 0.7097 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/0.2885, allocations: 404.2 kB / 0.7101 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.305, allocations: 13.52 MB / 0.7233 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.094e-05/0.305, allocations: 51.5 kB / 0.7234 GB, free: 10.54 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.3054, allocations: 204 kB / 0.7236 GB, free: 10.34 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002677/0.3057, allocations: 378.2 kB / 0.7239 GB, free: 9.969 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.3207, allocations: 9.78 MB / 0.7335 GB, free: 168 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.3468/0.6675, allocations: 38.85 MB / 0.7714 GB, free: 147.6 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/0.6827, allocations: 8.188 MB / 0.7794 GB, free: 145.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004916/0.6877, allocations: 3.104 MB / 0.7824 GB, free: 144.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/0.6883, allocations: 258.8 kB / 0.7827 GB, free: 144.1 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01122/0.6995, allocations: 6.699 MB / 0.7892 GB, free: 140.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003007/0.7025, allocations: 0.7662 MB / 0.79 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=870): time 1.85e-05/0.7025, allocations: 0 / 0.79 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=872): time 0.0574/0.7599, allocations: 50.46 MB / 0.8393 GB, free: 105 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002786/0.7602, allocations: 1.535 MB / 0.8408 GB, free: 103.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006304/0.7665, allocations: 5.966 MB / 0.8466 GB, free: 97.23 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001321/0.7678, allocations: 102.3 kB / 0.8467 GB, free: 97.12 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.7693, allocations: 2.844 MB / 0.8495 GB, free: 94.52 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/0.7713, allocations: 2.938 MB / 0.8523 GB, free: 92 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/0.7732, allocations: 1.778 MB / 0.8541 GB, free: 90.21 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.7733, allocations: 305.1 kB / 0.8544 GB, free: 89.91 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/0.7778, allocations: 4.209 MB / 0.8585 GB, free: 85.68 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005199/0.783, allocations: 7.261 MB / 0.8656 GB, free: 77.27 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1302/0.9131, allocations: 51.11 MB / 0.9155 GB, free: 26.4 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.471e-05/0.9132, allocations: 16 kB / 0.9155 GB, free: 26.39 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.0175/0.9307, allocations: 12.65 MB / 0.9278 GB, free: 13.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.9308, allocations: 69.69 kB / 0.9279 GB, free: 13.62 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01157/0.9423, allocations: 10.04 MB / 0.9377 GB, free: 3.535 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.9443, allocations: 1.048 MB / 0.9387 GB, free: 2.496 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/0.9484, allocations: 2.351 MB / 0.941 GB, free: 148 kB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/0.9573, allocations: 11.59 MB / 0.9523 GB, free: 3.945 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/0.9622, allocations: 324.5 kB / 0.9527 GB, free: 3.633 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006978/0.9629, allocations: 0.5425 MB / 0.9532 GB, free: 3.09 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.008291/0.9712, allocations: 5.909 MB / 0.959 GB, free: 13.17 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005998/0.9771, allocations: 7.204 MB / 0.966 GB, free: 4.781 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1378/1.115, allocations: 50.97 MB / 1.016 GB, free: 0.9062 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.642e-05/1.115, allocations: 16 kB / 1.016 GB, free: 0.8906 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01805/1.133, allocations: 12.3 MB / 1.028 GB, free: 4.535 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.019e-05/1.133, allocations: 65.69 kB / 1.028 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01201/1.145, allocations: 9.693 MB / 1.037 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/1.146, allocations: 0.7356 MB / 1.038 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/1.151, allocations: 2.36 MB / 1.04 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3281/1.479, allocations: 11.4 MB / 1.051 GB, free: 266.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/1.485, allocations: 314.5 kB / 1.052 GB, free: 266.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.486, allocations: 0.5384 MB / 1.052 GB, free: 266.6 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.002562/1.489, allocations: 0.7274 MB / 1.053 GB, free: 266.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/1.491, allocations: 0.7558 MB / 1.054 GB, free: 266.4 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.0132/1.504, allocations: 10.65 MB / 1.064 GB, free: 264.6 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.511708594858646] Failed to read output from testmodel.py, exit status != 0: 1.6891365824267268 1.696989082 1.433983699 Calling exit ...