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.01093/0.01093, allocations: 1.761 MB / 21.35 MB, free: 0.6055 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.001741/0.001741, allocations: 107.9 kB / 24.95 MB, free: 2.199 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.002282/0.002282, allocations: 203.8 kB / 28.67 MB, free: 3.48 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.572/1.572, allocations: 230.6 MB / 262.9 MB, free: 6.016 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.149/1.149, allocations: 130.7 MB / 450.4 MB, free: 6.594 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.03664/0.03664, allocations: 20.79 MB / 0.6369 GB, free: 4.785 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2421, allocations: 81.9 MB / 0.7169 GB, free: 2.801 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.7248/0.9669, allocations: 60.84 MB / 0.7763 GB, free: 9.555 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05108/1.018, allocations: 25.1 MB / 0.8009 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/1.03, allocations: 160.2 kB / 0.801 GB, free: 7.504 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.01168/1.042, allocations: 3.205 MB / 0.8041 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02178/1.063, allocations: 4.772 MB / 0.8088 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01779/1.081, allocations: 4.131 MB / 0.8128 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02933/1.111, allocations: 12.96 MB / 0.8255 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009924/1.12, allocations: 3.832 MB / 0.8292 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01368/1.134, allocations: 5.389 MB / 0.8345 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01287/1.147, allocations: 5.714 MB / 0.8401 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004613/1.152, allocations: 0.8672 MB / 0.8409 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/1.166, allocations: 3.427 MB / 0.8443 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.008802/1.175, allocations: 2.827 MB / 0.847 GB, free: 13.65 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01601/1.191, allocations: 4.509 MB / 0.8514 GB, free: 9.117 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03491/1.225, allocations: 14.2 MB / 0.8653 GB, free: 10.87 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.225, allocations: 0 / 0.8653 GB, free: 10.87 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.004e-06/1.225, allocations: 0 / 0.8653 GB, free: 10.87 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005002/1.226, allocations: 2.656 kB / 0.8653 GB, free: 10.87 MB / 0.6388 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.02946/1.255, allocations: 9.062 MB / 0.8742 GB, free: 1.746 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.256, allocations: 11.41 kB / 0.8742 GB, free: 1.738 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005613/1.261, allocations: 1.091 MB / 0.8752 GB, free: 0.6445 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01826/1.279, allocations: 7.004 MB / 0.8821 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004787/1.28, allocations: 312.4 kB / 0.8824 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/1.282, allocations: 400 kB / 0.8828 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/1.316, allocations: 11.49 MB / 0.894 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002718/1.316, allocations: 47.56 kB / 0.894 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/1.318, allocations: 210.6 kB / 0.8942 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000634/1.319, allocations: 374.2 kB / 0.8946 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.347, allocations: 9.785 MB / 0.9041 GB, free: 1.859 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.06484/1.412, allocations: 42.26 MB / 0.9454 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.436, allocations: 8.194 MB / 0.9534 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007324/1.443, allocations: 3.077 MB / 0.9564 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.444, allocations: 293.1 kB / 0.9567 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02229/1.467, allocations: 6.673 MB / 0.9632 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005399/1.472, allocations: 0.7895 MB / 0.964 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 3.41e-05/1.472, allocations: 2.656 kB / 0.964 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1185/1.591, allocations: 50.42 MB / 1.013 GB, free: 292 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009868/1.592, allocations: 1.535 MB / 1.015 GB, free: 14.39 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/1.602, allocations: 6.121 MB / 1.021 GB, free: 8.289 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001904/1.604, allocations: 101.7 kB / 1.021 GB, free: 8.184 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003076/1.607, allocations: 2.84 MB / 1.024 GB, free: 5.324 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004741/1.612, allocations: 2.97 MB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003352/1.615, allocations: 1.795 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.616, allocations: 301.1 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007663/1.623, allocations: 4.172 MB / 1.033 GB, free: 12.03 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.634, allocations: 6.515 MB / 1.039 GB, free: 4.566 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7516/2.385, allocations: 51.06 MB / 1.089 GB, free: 340.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.22e-05/2.385, allocations: 19.19 kB / 1.089 GB, free: 340.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02572/2.411, allocations: 12.62 MB / 1.101 GB, free: 331.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/2.411, allocations: 65.69 kB / 1.101 GB, free: 331.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01828/2.429, allocations: 9.995 MB / 1.111 GB, free: 321.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/2.433, allocations: 1.05 MB / 1.112 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008737/2.442, allocations: 2.348 MB / 1.114 GB, free: 317.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/2.452, allocations: 11.8 MB / 1.126 GB, free: 305.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00718/2.459, allocations: 315.9 kB / 1.126 GB, free: 305 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/2.461, allocations: 0.5387 MB / 1.127 GB, free: 304.5 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.01238/2.474, allocations: 5.879 MB / 1.132 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009242/2.483, allocations: 6.474 MB / 1.139 GB, free: 291.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2593/2.742, allocations: 50.94 MB / 1.188 GB, free: 239.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.545e-05/2.742, allocations: 20 kB / 1.188 GB, free: 239.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02887/2.771, allocations: 12.26 MB / 1.2 GB, free: 227.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/2.771, allocations: 66.69 kB / 1.201 GB, free: 227.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02094/2.792, allocations: 9.654 MB / 1.21 GB, free: 217.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/2.794, allocations: 0.7325 MB / 1.211 GB, free: 216.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009833/2.804, allocations: 2.363 MB / 1.213 GB, free: 214.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/2.816, allocations: 11.61 MB / 1.224 GB, free: 202.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007759/2.823, allocations: 324.5 kB / 1.225 GB, free: 201.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/2.826, allocations: 0.5387 MB / 1.225 GB, free: 201.4 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.004712/2.831, allocations: 0.7278 MB / 1.226 GB, free: 200.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004573/2.835, allocations: 0.7749 MB / 1.227 GB, free: 200.1 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.02744/2.863, allocations: 10.62 MB / 1.237 GB, free: 189.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.26327680493705] Failed to read output from testmodel.py, exit status != 0: 3.071240955963731 3.0876680420000002 1.858380017 Calling exit ...