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.01269/0.01269, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001537/0.001537, allocations: 99.86 kB / 24.97 MB, free: 2.188 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.001995/0.001995, allocations: 207.2 kB / 28.71 MB, free: 3.461 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.424/1.424, allocations: 230.6 MB / 262.9 MB, free: 6.02 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.075/1.075, allocations: 130.7 MB / 450.5 MB, free: 6.566 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="cs",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="cs",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: 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.0342/0.0342, allocations: 20.6 MB / 0.6363 GB, free: 5.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.2113, allocations: 81.91 MB / 0.7163 GB, free: 3.301 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.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.5696/0.7809, allocations: 68.3 MB / 0.783 GB, free: 4.246 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06198/0.8428, allocations: 32.02 MB / 0.8143 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01237/0.8552, allocations: 195.1 kB / 0.8145 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.8676, allocations: 3.986 MB / 0.8184 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02409/0.8917, allocations: 5.97 MB / 0.8242 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01935/0.9111, allocations: 6.71 MB / 0.8308 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03249/0.9435, allocations: 17.49 MB / 0.8478 GB, free: 12.61 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.9559, allocations: 4.807 MB / 0.8525 GB, free: 7.734 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01661/0.9725, allocations: 6.985 MB / 0.8594 GB, free: 0.7266 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01532/0.9878, allocations: 7.305 MB / 0.8665 GB, free: 9.398 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005964/0.9938, allocations: 1.262 MB / 0.8677 GB, free: 8.137 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/1.007, allocations: 3.984 MB / 0.8716 GB, free: 4.164 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007737/1.015, allocations: 3.824 MB / 0.8754 GB, free: 336 kB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01567/1.03, allocations: 6.165 MB / 0.8814 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03873/1.069, allocations: 19.45 MB / 0.9004 GB, free: 6.621 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.069, allocations: 2.688 kB / 0.9004 GB, free: 6.621 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/1.069, allocations: 0 / 0.9004 GB, free: 6.621 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006864/1.07, allocations: 0 / 0.9004 GB, free: 6.621 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.04868/1.118, allocations: 13.5 MB / 0.9136 GB, free: 9.047 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.119, allocations: 12.03 kB / 0.9136 GB, free: 9.035 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000246/1.119, allocations: 178.2 kB / 0.9137 GB, free: 8.863 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004783/1.124, allocations: 1.069 MB / 0.9148 GB, free: 7.781 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00739/1.131, allocations: 1.408 MB / 0.9162 GB, free: 6.367 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02317/1.154, allocations: 8.335 MB / 0.9243 GB, free: 13.96 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007501/1.155, allocations: 447.3 kB / 0.9247 GB, free: 13.52 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003215/1.158, allocations: 0.5623 MB / 0.9253 GB, free: 12.96 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05034/1.208, allocations: 16.7 MB / 0.9416 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003815/1.209, allocations: 79.25 kB / 0.9417 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002745/1.212, allocations: 291.9 kB / 0.9419 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001282/1.213, allocations: 0.7614 MB / 0.9427 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04167/1.255, allocations: 13.26 MB / 0.9556 GB, free: 12.3 MB / 0.7325 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.1089/1.363, allocations: 69.22 MB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03251/1.396, allocations: 11.24 MB / 1.034 GB, free: 9.781 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01062/1.407, allocations: 4.156 MB / 1.038 GB, free: 5.535 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/1.408, allocations: 384.3 kB / 1.039 GB, free: 5.164 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02824/1.437, allocations: 8.897 MB / 1.047 GB, free: 12.07 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005711/1.442, allocations: 0.9086 MB / 1.048 GB, free: 11.16 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1180): time 4.557e-05/1.442, allocations: 1.031 kB / 1.048 GB, free: 11.16 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1181): time 0.4801/1.923, allocations: 81.53 MB / 1.128 GB, free: 300.7 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004165/1.923, allocations: 1.985 MB / 1.13 GB, free: 298.3 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.935, allocations: 7.323 MB / 1.137 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002836/1.937, allocations: 125.4 kB / 1.137 GB, free: 292.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.004734/1.942, allocations: 4.041 MB / 1.141 GB, free: 288.8 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.007883/1.95, allocations: 4.055 MB / 1.145 GB, free: 285.6 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009167/1.959, allocations: 2.532 MB / 1.147 GB, free: 283.6 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/1.959, allocations: 305.1 kB / 1.148 GB, free: 283.3 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01171/1.971, allocations: 5.622 MB / 1.153 GB, free: 277.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01511/1.986, allocations: 9.402 MB / 1.162 GB, free: 267 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3125/2.299, allocations: 55.36 MB / 1.216 GB, free: 210.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/2.299, allocations: 32 kB / 1.216 GB, free: 210.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.0392/2.338, allocations: 17.21 MB / 1.233 GB, free: 193.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/2.338, allocations: 54.03 kB / 1.233 GB, free: 193.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03381/2.372, allocations: 13.16 MB / 1.246 GB, free: 180.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/2.383, allocations: 2.132 MB / 1.248 GB, free: 178.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/2.395, allocations: 3.244 MB / 1.251 GB, free: 174.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/2.409, allocations: 12.52 MB / 1.264 GB, free: 161.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009924/2.419, allocations: 0.5425 MB / 1.264 GB, free: 161.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00298/2.422, allocations: 0.7885 MB / 1.265 GB, free: 160.4 MB / 0.8263 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.01876/2.44, allocations: 7.886 MB / 1.273 GB, free: 152.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01438/2.455, allocations: 9.35 MB / 1.282 GB, free: 141.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3105/2.765, allocations: 54.86 MB / 1.335 GB, free: 85.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001313/2.765, allocations: 32 kB / 1.335 GB, free: 85.07 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.04279/2.808, allocations: 16.94 MB / 1.352 GB, free: 68.05 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/2.808, allocations: 53.56 kB / 1.352 GB, free: 68 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03198/2.84, allocations: 12.91 MB / 1.365 GB, free: 55 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006519/2.847, allocations: 1.573 MB / 1.366 GB, free: 53.43 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.858, allocations: 3.229 MB / 1.369 GB, free: 50.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/2.871, allocations: 11.54 MB / 1.381 GB, free: 38.07 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009444/2.88, allocations: 0.5354 MB / 1.381 GB, free: 37.54 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002788/2.883, allocations: 0.7901 MB / 1.382 GB, free: 36.75 MB / 0.8263 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.005731/2.889, allocations: 0.9651 MB / 1.383 GB, free: 35.86 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005178/2.894, allocations: 0.9737 MB / 1.384 GB, free: 34.88 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 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.03191/2.926, allocations: 14.17 MB / 1.398 GB, free: 21.13 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.144032496958971] Failed to read output from testmodel.py, exit status != 0: 3.45676246995572 3.468063949 2.394773519 Calling exit ...