Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu.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.01045/0.01045, allocations: 1.768 MB / 18.11 MB, free: 4.945 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.001259/0.001259, allocations: 103.7 kB / 21.36 MB, free: 1.715 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.001562/0.001562, allocations: 212.1 kB / 24.75 MB, free: 3.742 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.544/1.544, allocations: 230.6 MB / 258.5 MB, free: 13.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.196/1.196, allocations: 130.6 MB / 445.6 MB, free: 14.95 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_ntu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_ntu",fmuType="me",version="2.0",platforms={"static"}) [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.4307/0.4307, allocations: 46.15 MB / 0.6545 GB, free: 30.24 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.659, allocations: 89.06 MB / 0.7415 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.06548/0.7245, allocations: 35.3 MB / 0.7759 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.06464/0.7891, allocations: 31.66 MB / 0.8068 GB, free: 15.6 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01156/0.8007, allocations: 194.6 kB / 0.807 GB, free: 15.41 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.8125, allocations: 3.93 MB / 0.8109 GB, free: 11.46 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02033/0.8328, allocations: 5.864 MB / 0.8166 GB, free: 5.562 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01757/0.8504, allocations: 6.61 MB / 0.8231 GB, free: 14.95 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0323/0.8827, allocations: 17.47 MB / 0.8401 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.8951, allocations: 4.996 MB / 0.845 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0178/0.9129, allocations: 6.969 MB / 0.8518 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01539/0.9282, allocations: 7.274 MB / 0.8589 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005496/0.9337, allocations: 1.266 MB / 0.8601 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.9466, allocations: 3.748 MB / 0.8638 GB, free: 5.039 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007853/0.9545, allocations: 3.82 MB / 0.8675 GB, free: 1.207 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.4606/1.415, allocations: 6.156 MB / 0.8735 GB, free: 35.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03088/1.446, allocations: 19.38 MB / 0.8925 GB, free: 33.36 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.446, allocations: 3.938 kB / 0.8925 GB, free: 33.35 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.364e-06/1.446, allocations: 0 / 0.8925 GB, free: 33.35 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007339/1.447, allocations: 0 / 0.8925 GB, free: 33.35 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: 2361 * Number of variables: 2361 Notification: Performance of Generate backend data structure: time 0.04092/1.488, allocations: 11.85 MB / 0.904 GB, free: 28.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/1.488, allocations: 13.73 kB / 0.9041 GB, free: 28.48 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005738/1.493, allocations: 1.066 MB / 0.9051 GB, free: 28.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008893/1.502, allocations: 1.406 MB / 0.9065 GB, free: 27.71 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02429/1.527, allocations: 8.55 MB / 0.9148 GB, free: 26.17 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008798/1.527, allocations: 452.2 kB / 0.9152 GB, free: 26.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003916/1.531, allocations: 0.5551 MB / 0.9158 GB, free: 26.15 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05111/1.582, allocations: 16.7 MB / 0.9321 GB, free: 18.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004046/1.583, allocations: 76.66 kB / 0.9322 GB, free: 18.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00311/1.586, allocations: 294 kB / 0.9325 GB, free: 18.53 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001054/1.587, allocations: 0.7618 MB / 0.9332 GB, free: 18.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03811/1.625, allocations: 13.25 MB / 0.9461 GB, free: 11.95 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.1077/1.733, allocations: 69.63 MB / 1.014 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03426/1.767, allocations: 12.49 MB / 1.026 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01166/1.779, allocations: 4.166 MB / 1.03 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002133/1.781, allocations: 0.7499 MB / 1.031 GB, free: 144 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03171/1.813, allocations: 8.901 MB / 1.04 GB, free: 7.074 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007602/1.82, allocations: 0.9056 MB / 1.041 GB, free: 6.164 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=1180): time 5.072e-05/1.82, allocations: 0 / 1.041 GB, free: 6.164 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1181): time 0.2323/2.053, allocations: 81.99 MB / 1.121 GB, free: 3.578 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001316/2.054, allocations: 1.982 MB / 1.123 GB, free: 1.152 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02016/2.074, allocations: 7.326 MB / 1.13 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.002944/2.077, allocations: 117.7 kB / 1.13 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.006486/2.084, allocations: 4.045 MB / 1.134 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.007622/2.091, allocations: 4.055 MB / 1.138 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01292/2.104, allocations: 2.538 MB / 1.14 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001611/2.104, allocations: 301.1 kB / 1.141 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01665/2.121, allocations: 5.622 MB / 1.146 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02222/2.143, allocations: 9.403 MB / 1.155 GB, free: 14.31 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7814/2.925, allocations: 55.34 MB / 1.209 GB, free: 320.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.791e-05/2.925, allocations: 31.91 kB / 1.209 GB, free: 320.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.05008/2.975, allocations: 17.21 MB / 1.226 GB, free: 315.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/2.975, allocations: 53.62 kB / 1.226 GB, free: 315.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03877/3.014, allocations: 13.16 MB / 1.239 GB, free: 310.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/3.025, allocations: 2.13 MB / 1.241 GB, free: 309.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/3.037, allocations: 3.239 MB / 1.244 GB, free: 309.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/3.052, allocations: 13.03 MB / 1.257 GB, free: 299.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/3.063, allocations: 0.5426 MB / 1.258 GB, free: 299.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003615/3.067, allocations: 0.7909 MB / 1.258 GB, free: 299 MB / 0.9044 GB Warning: Assuming fixed start value for the following 10 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_i_start[1] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01958/3.086, allocations: 7.884 MB / 1.266 GB, free: 295.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01476/3.101, allocations: 9.349 MB / 1.275 GB, free: 288.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3202/3.421, allocations: 54.87 MB / 1.329 GB, free: 236.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001158/3.421, allocations: 35.94 kB / 1.329 GB, free: 236.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.0449/3.466, allocations: 16.93 MB / 1.345 GB, free: 220 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-05/3.466, allocations: 55.98 kB / 1.345 GB, free: 220 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0453/3.512, allocations: 12.9 MB / 1.358 GB, free: 207 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006923/3.518, allocations: 1.572 MB / 1.36 GB, free: 205.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/3.532, allocations: 3.233 MB / 1.363 GB, free: 202.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/3.546, allocations: 12.05 MB / 1.374 GB, free: 189.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/3.558, allocations: 0.5394 MB / 1.375 GB, free: 188.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003465/3.561, allocations: 0.7846 MB / 1.376 GB, free: 188.2 MB / 0.9044 GB Warning: Assuming fixed start value for the following 10 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_i_start[1] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 508 * Number of states: 0 () * Number of discrete variables: 11 (hex.wall.nTU.smallShellFlow[2],$PRE.PI.time_lag_I_activation.entryTime,$PRE.PI.switch_OnOff.u2,PI.I_activation.y,PI.time_lag_I_activation.entryTime,PI.switch_OnOff.u2,hex.wall.nTU.smallShellFlow[3],hex.wall.nTU.smallShellFlow[1],hex.wall.nTU.mass,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1622): * Single equations (assignments): 1615 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (4,3,87.5%), (2,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,41)} Notification: Performance of prepare postOptimizeDAE: time 0.006849/3.568, allocations: 0.9698 MB / 1.377 GB, free: 187.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005508/3.573, allocations: 0.9749 MB / 1.378 GB, free: 186.6 MB / 0.9044 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 1800 equation(s) and 1713 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03503/3.608, allocations: 14.18 MB / 1.392 GB, free: 172.8 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.3581373670022] Failed to read output from testmodel.py, exit status != 0: 3.618463740000152 3.631159519 2.180044645 Calling exit ...