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.00686/0.00686, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006742/0.0006742, 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.0007673/0.0007673, allocations: 163.6 kB / 27.85 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.85/0.85, allocations: 177.2 MB / 208.6 MB, free: 2.953 MB / 186.7 MB " [Timeout remaining time 179] 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 0.725/0.725, allocations: 102.5 MB / 367.9 MB, free: 1.48 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.5362 GB, free: 40.15 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.246e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.15 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.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.1251/0.1252, allocations: 77.06 MB / 0.6114 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04935/0.1745, allocations: 30.52 MB / 0.6413 GB, free: 0.7891 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007707/0.1822, allocations: 194.6 kB / 0.6414 GB, free: 0.5977 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007261/0.1895, allocations: 3.824 MB / 0.6452 GB, free: 12.75 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.202, allocations: 6.147 MB / 0.6512 GB, free: 6.57 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.2128, allocations: 6.781 MB / 0.6578 GB, free: 15.78 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01985/0.2327, allocations: 17.9 MB / 0.6753 GB, free: 13.82 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007717/0.2404, allocations: 5.119 MB / 0.6803 GB, free: 8.629 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01396/0.2544, allocations: 9.605 MB / 0.6897 GB, free: 15 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007936/0.2623, allocations: 6.231 MB / 0.6957 GB, free: 8.758 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.001887/0.2642, allocations: 1.262 MB / 0.697 GB, free: 7.496 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005332/0.2695, allocations: 3.132 MB / 0.7 GB, free: 4.359 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.00288/0.2724, allocations: 3.925 MB / 0.7039 GB, free: 432 kB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.004764/0.2772, allocations: 3.881 MB / 0.7077 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.2947, allocations: 19.44 MB / 0.7266 GB, free: 9.035 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2947, allocations: 0 / 0.7266 GB, free: 9.035 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2947, allocations: 0 / 0.7266 GB, free: 9.035 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0003197/0.295, allocations: 0 / 0.7266 GB, free: 9.035 MB / 0.6199 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.01708/0.3121, allocations: 13.37 MB / 0.7397 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3122, allocations: 12.03 kB / 0.7397 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009807/0.3131, allocations: 1.065 MB / 0.7408 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.3154, allocations: 1.406 MB / 0.7421 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.3259, allocations: 8.353 MB / 0.7503 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.3262, allocations: 455.2 kB / 0.7507 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007188/0.3269, allocations: 0.5545 MB / 0.7513 GB, free: 15.58 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3031/0.63, allocations: 18.52 MB / 0.7693 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.6301, allocations: 78.44 kB / 0.7694 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000639/0.6308, allocations: 291.5 kB / 0.7697 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007173/0.6315, allocations: 0.7565 MB / 0.7704 GB, free: 165.6 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/0.6552, allocations: 13.21 MB / 0.7833 GB, free: 160.6 MB / 0.6512 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.05536/0.7105, allocations: 65.7 MB / 0.8475 GB, free: 103.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/0.7273, allocations: 11.16 MB / 0.8584 GB, free: 97.52 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/0.7325, allocations: 4.166 MB / 0.8625 GB, free: 94.46 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/0.7332, allocations: 331.2 kB / 0.8628 GB, free: 94.14 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01229/0.7455, allocations: 8.904 MB / 0.8715 GB, free: 85.02 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003046/0.7485, allocations: 0.9045 MB / 0.8724 GB, free: 84.35 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1180): time 1.587e-05/0.7485, allocations: 0 / 0.8724 GB, free: 84.35 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1181): time 0.07001/0.8185, allocations: 81.54 MB / 0.952 GB, free: 2.336 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002947/0.8188, allocations: 1.98 MB / 0.9539 GB, free: 15.89 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009564/0.8284, allocations: 7.498 MB / 0.9612 GB, free: 8.555 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0019/0.8303, allocations: 122.8 kB / 0.9614 GB, free: 8.43 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.00273/0.833, allocations: 4.017 MB / 0.9653 GB, free: 4.801 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.004732/0.8378, allocations: 4.001 MB / 0.9692 GB, free: 1.066 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002987/0.8408, allocations: 2.51 MB / 0.9716 GB, free: 14.55 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8409, allocations: 309.1 kB / 0.9719 GB, free: 14.24 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007251/0.8481, allocations: 5.623 MB / 0.9774 GB, free: 8.617 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009606/0.8577, allocations: 10.23 MB / 0.9874 GB, free: 12.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1654/1.023, allocations: 55.38 MB / 1.041 GB, free: 4.438 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.624e-05/1.023, allocations: 36 kB / 1.042 GB, free: 4.402 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.3182/1.341, allocations: 17.2 MB / 1.058 GB, free: 249.1 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.746e-05/1.342, allocations: 53.69 kB / 1.058 GB, free: 249.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01889/1.36, allocations: 13.17 MB / 1.071 GB, free: 244.1 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005574/1.366, allocations: 2.13 MB / 1.073 GB, free: 243.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007276/1.373, allocations: 3.235 MB / 1.076 GB, free: 243.4 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008062/1.381, allocations: 12.45 MB / 1.089 GB, free: 233.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00596/1.387, allocations: 0.5408 MB / 1.089 GB, free: 233.4 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009798/1.388, allocations: 0.7865 MB / 1.09 GB, free: 233.1 MB / 0.7449 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.01006/1.398, allocations: 7.885 MB / 1.098 GB, free: 228.6 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007177/1.406, allocations: 10.18 MB / 1.108 GB, free: 219.5 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1511/1.557, allocations: 54.9 MB / 1.161 GB, free: 164 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001242/1.557, allocations: 35.94 kB / 1.161 GB, free: 164 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.02676/1.584, allocations: 16.93 MB / 1.178 GB, free: 147.5 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/1.584, allocations: 52 kB / 1.178 GB, free: 147.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01852/1.602, allocations: 12.9 MB / 1.19 GB, free: 134.4 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/1.605, allocations: 1.575 MB / 1.192 GB, free: 132.9 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/1.613, allocations: 3.226 MB / 1.195 GB, free: 129.6 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/1.621, allocations: 11.47 MB / 1.206 GB, free: 117.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007457/1.628, allocations: 0.5356 MB / 1.207 GB, free: 117.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002151/1.631, allocations: 0.791 MB / 1.208 GB, free: 116.3 MB / 0.7449 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.003641/1.634, allocations: 0.9616 MB / 1.209 GB, free: 115.4 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00272/1.637, allocations: 0.9864 MB / 1.209 GB, free: 114.7 MB / 0.7449 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.01803/1.655, allocations: 14.22 MB / 1.223 GB, free: 100.8 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.753855375573039] Failed to read output from testmodel.py, exit status != 0: 1.8018504353240132 2.098711198 1.801935287 Calling exit ...