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.008775/0.008775, 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.000958/0.000958, 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.0008279/0.0008279, allocations: 162.8 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.8525/0.8525, allocations: 177.2 MB / 208.6 MB, free: 2.945 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.7229/0.7229, allocations: 102.5 MB / 367.9 MB, free: 1.473 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 1.503e-06/1.503e-06, allocations: 0 / 0.5362 GB, free: 40.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.748e-05, allocations: 4.438 kB / 0.5362 GB, free: 40.12 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.1258/0.1258, allocations: 77.05 MB / 0.6114 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04251/0.1684, allocations: 30.53 MB / 0.6413 GB, free: 0.7695 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005675/0.174, allocations: 194.6 kB / 0.6414 GB, free: 0.5781 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.1799, allocations: 3.82 MB / 0.6452 GB, free: 12.74 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.1907, allocations: 6.139 MB / 0.6512 GB, free: 6.562 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.009968/0.2007, allocations: 6.793 MB / 0.6578 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01919/0.2199, allocations: 17.9 MB / 0.6753 GB, free: 13.8 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007642/0.2275, allocations: 5.119 MB / 0.6803 GB, free: 8.609 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01762/0.2451, allocations: 9.601 MB / 0.6897 GB, free: 14.99 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008679/0.2538, allocations: 6.227 MB / 0.6957 GB, free: 8.746 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.002228/0.2561, allocations: 1.258 MB / 0.697 GB, free: 7.488 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006566/0.2626, allocations: 3.139 MB / 0.7 GB, free: 4.344 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.003432/0.2661, allocations: 3.918 MB / 0.7039 GB, free: 424 kB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.005958/0.272, allocations: 3.889 MB / 0.7077 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.02203/0.294, allocations: 19.43 MB / 0.7266 GB, free: 9.031 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.294, allocations: 8 kB / 0.7266 GB, free: 9.023 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2941, allocations: 0 / 0.7266 GB, free: 9.023 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0005282/0.2946, allocations: 0 / 0.7266 GB, free: 9.023 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.02181/0.3164, allocations: 13.38 MB / 0.7397 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3164, allocations: 8.031 kB / 0.7397 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001746/0.3182, allocations: 1.069 MB / 0.7408 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.3209, allocations: 1.406 MB / 0.7421 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.3324, allocations: 8.349 MB / 0.7503 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.3327, allocations: 443.3 kB / 0.7507 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006916/0.3334, allocations: 0.5584 MB / 0.7513 GB, free: 15.58 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3073/0.6407, allocations: 18.52 MB / 0.7693 GB, free: 165.8 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.6408, allocations: 77.09 kB / 0.7694 GB, free: 165.8 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006414/0.6414, allocations: 291.5 kB / 0.7697 GB, free: 165.8 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007119/0.6422, allocations: 0.7593 MB / 0.7704 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.6626, allocations: 13.21 MB / 0.7833 GB, free: 160.7 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.04334/0.706, allocations: 65.69 MB / 0.8475 GB, free: 103.9 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/0.7207, allocations: 11.18 MB / 0.8584 GB, free: 97.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/0.7251, allocations: 4.161 MB / 0.8625 GB, free: 94.46 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006398/0.7257, allocations: 331.1 kB / 0.8628 GB, free: 94.14 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01104/0.7368, allocations: 8.905 MB / 0.8715 GB, free: 85.03 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00324/0.74, allocations: 0.9062 MB / 0.8724 GB, free: 84.36 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1180): time 2.021e-05/0.74, allocations: 6.469 kB / 0.8724 GB, free: 84.35 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1181): time 0.06994/0.81, allocations: 81.53 MB / 0.952 GB, free: 2.34 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003178/0.8103, allocations: 1.984 MB / 0.9539 GB, free: 15.89 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/0.8187, allocations: 7.499 MB / 0.9612 GB, free: 8.555 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001871/0.8206, allocations: 120.4 kB / 0.9614 GB, free: 8.434 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.8235, allocations: 4.024 MB / 0.9653 GB, free: 4.801 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.00422/0.8277, allocations: 4.001 MB / 0.9692 GB, free: 1.07 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002898/0.8306, allocations: 2.508 MB / 0.9716 GB, free: 14.55 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.8307, allocations: 305.1 kB / 0.9719 GB, free: 14.25 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006963/0.8377, allocations: 5.626 MB / 0.9774 GB, free: 8.621 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009371/0.8471, allocations: 10.24 MB / 0.9874 GB, free: 12.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1613/1.008, allocations: 55.38 MB / 1.042 GB, free: 4.438 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-05/1.008, allocations: 32 kB / 1.042 GB, free: 4.406 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.3368/1.345, allocations: 17.2 MB / 1.058 GB, free: 249.1 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/1.345, allocations: 52.84 kB / 1.058 GB, free: 249.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0175/1.363, allocations: 13.16 MB / 1.071 GB, free: 244.1 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005359/1.368, allocations: 2.132 MB / 1.073 GB, free: 243.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006831/1.375, allocations: 3.242 MB / 1.076 GB, free: 243.4 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/1.383, allocations: 12.44 MB / 1.089 GB, free: 233.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/1.388, allocations: 0.5485 MB / 1.089 GB, free: 233.4 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009327/1.389, allocations: 0.7849 MB / 1.09 GB, free: 233.2 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.009405/1.399, allocations: 7.883 MB / 1.098 GB, free: 228.6 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006445/1.405, allocations: 10.18 MB / 1.108 GB, free: 219.6 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1467/1.552, allocations: 54.89 MB / 1.161 GB, free: 164 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.636e-05/1.552, allocations: 38.56 kB / 1.161 GB, free: 164 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.02275/1.575, allocations: 16.94 MB / 1.178 GB, free: 147.5 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/1.575, allocations: 52 kB / 1.178 GB, free: 147.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01467/1.589, allocations: 12.9 MB / 1.19 GB, free: 134.4 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/1.592, allocations: 1.576 MB / 1.192 GB, free: 132.8 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00516/1.597, allocations: 3.225 MB / 1.195 GB, free: 129.6 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/1.605, allocations: 11.47 MB / 1.206 GB, free: 117.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/1.611, allocations: 0.5356 MB / 1.207 GB, free: 117.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007727/1.611, allocations: 0.7846 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.002552/1.614, allocations: 0.9758 MB / 1.209 GB, free: 115.4 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.615, allocations: 0.979 MB / 1.209 GB, free: 114.6 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.014/1.629, 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.77607208956033] Failed to read output from testmodel.py, exit status != 0: 1.7971140313893557 2.090613475 1.794651133 Calling exit ...