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.01051/0.01051, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001362/0.001362, allocations: 107.9 kB / 24.19 MB, free: 2.688 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.001757/0.001757, allocations: 211.8 kB / 27.92 MB, free: 4.035 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.52/1.52, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.082/1.082, allocations: 130.7 MB / 449.7 MB, free: 6.609 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: 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.03551/0.03551, allocations: 20.79 MB / 0.6358 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2353, allocations: 81.91 MB / 0.7157 GB, free: 3.137 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.6044/0.8397, allocations: 68.31 MB / 0.7825 GB, free: 4.188 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06094/0.9006, allocations: 32.01 MB / 0.8137 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01295/0.9136, allocations: 196.3 kB / 0.8139 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.9267, allocations: 3.993 MB / 0.8178 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02346/0.9502, allocations: 5.964 MB / 0.8236 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01972/0.9699, allocations: 6.721 MB / 0.8302 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03228/1.002, allocations: 17.49 MB / 0.8473 GB, free: 12.52 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/1.013, allocations: 4.815 MB / 0.852 GB, free: 7.637 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0187/1.032, allocations: 6.973 MB / 0.8588 GB, free: 0.6406 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01898/1.051, allocations: 7.308 MB / 0.8659 GB, free: 9.309 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.006624/1.057, allocations: 1.262 MB / 0.8671 GB, free: 8.047 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/1.073, allocations: 3.975 MB / 0.871 GB, free: 4.074 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007827/1.081, allocations: 3.824 MB / 0.8748 GB, free: 244 kB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01468/1.096, allocations: 6.165 MB / 0.8808 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03629/1.132, allocations: 19.44 MB / 0.8998 GB, free: 6.535 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.132, allocations: 2.625 kB / 0.8998 GB, free: 6.535 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.714e-06/1.132, allocations: 4 kB / 0.8998 GB, free: 6.531 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005997/1.133, allocations: 0 / 0.8998 GB, free: 6.531 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.04063/1.173, allocations: 13.51 MB / 0.913 GB, free: 8.949 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.173, allocations: 8.031 kB / 0.913 GB, free: 8.941 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004006/1.177, allocations: 1.069 MB / 0.914 GB, free: 7.859 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006291/1.184, allocations: 1.409 MB / 0.9154 GB, free: 6.445 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/1.207, allocations: 8.33 MB / 0.9235 GB, free: 14.04 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007031/1.208, allocations: 448.7 kB / 0.924 GB, free: 13.61 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00301/1.211, allocations: 0.5584 MB / 0.9245 GB, free: 13.05 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04766/1.258, allocations: 16.71 MB / 0.9408 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002612/1.258, allocations: 79.25 kB / 0.9409 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002168/1.261, allocations: 284 kB / 0.9412 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/1.262, allocations: 0.7586 MB / 0.9419 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03944/1.301, allocations: 13.26 MB / 0.9549 GB, free: 12.39 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.105/1.406, allocations: 69.23 MB / 1.022 GB, free: 5.266 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03054/1.437, allocations: 11.23 MB / 1.033 GB, free: 9.867 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009901/1.447, allocations: 4.156 MB / 1.037 GB, free: 5.621 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/1.448, allocations: 385.5 kB / 1.038 GB, free: 5.25 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02612/1.474, allocations: 8.9 MB / 1.047 GB, free: 12.16 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004578/1.479, allocations: 0.9126 MB / 1.047 GB, free: 11.24 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1180): time 2.478e-05/1.479, allocations: 0 / 1.047 GB, free: 11.24 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1181): time 0.4755/1.955, allocations: 81.52 MB / 1.127 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004034/1.955, allocations: 1.981 MB / 1.129 GB, free: 298.3 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01558/1.971, allocations: 7.329 MB / 1.136 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002865/1.973, allocations: 121.4 kB / 1.136 GB, free: 292.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.00436/1.978, allocations: 4.043 MB / 1.14 GB, free: 288.8 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.006738/1.985, allocations: 4.053 MB / 1.144 GB, free: 285.7 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009646/1.994, allocations: 2.537 MB / 1.147 GB, free: 283.7 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/1.994, allocations: 301.1 kB / 1.147 GB, free: 283.4 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.015/2.009, allocations: 5.619 MB / 1.152 GB, free: 278 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01871/2.028, allocations: 9.403 MB / 1.162 GB, free: 267 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3085/2.336, allocations: 55.36 MB / 1.216 GB, free: 210.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/2.337, allocations: 32 kB / 1.216 GB, free: 210.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.04108/2.378, allocations: 17.21 MB / 1.232 GB, free: 193.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/2.378, allocations: 53.16 kB / 1.233 GB, free: 193.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03606/2.414, allocations: 13.16 MB / 1.245 GB, free: 180.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/2.425, allocations: 2.123 MB / 1.247 GB, free: 178.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01293/2.438, allocations: 3.248 MB / 1.251 GB, free: 174.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/2.452, allocations: 12.52 MB / 1.263 GB, free: 161.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.463, allocations: 0.5573 MB / 1.263 GB, free: 161.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003319/2.467, allocations: 0.7885 MB / 1.264 GB, free: 160.5 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.01893/2.485, allocations: 7.889 MB / 1.272 GB, free: 152.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01485/2.5, allocations: 9.338 MB / 1.281 GB, free: 141.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3033/2.804, allocations: 54.86 MB / 1.335 GB, free: 85.16 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001278/2.804, allocations: 32 kB / 1.335 GB, free: 85.12 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.04123/2.845, allocations: 16.94 MB / 1.351 GB, free: 68.11 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/2.845, allocations: 55.84 kB / 1.351 GB, free: 68.05 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03162/2.877, allocations: 12.9 MB / 1.364 GB, free: 55.06 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006213/2.883, allocations: 1.576 MB / 1.365 GB, free: 53.49 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/2.894, allocations: 3.229 MB / 1.368 GB, free: 50.26 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/2.907, allocations: 11.53 MB / 1.38 GB, free: 38.14 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009512/2.916, allocations: 0.5356 MB / 1.38 GB, free: 37.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0027/2.919, allocations: 0.7885 MB / 1.381 GB, free: 36.81 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.006772/2.926, allocations: 0.9702 MB / 1.382 GB, free: 35.92 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004856/2.931, allocations: 0.9793 MB / 1.383 GB, free: 34.94 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.03/2.961, allocations: 14.17 MB / 1.397 GB, free: 21.19 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.41600630999892] Failed to read output from testmodel.py, exit status != 0: 3.5129718630014395 3.523094274 2.388048853 Calling exit ...