Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple.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.005997/0.005997, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0007184/0.0007184, allocations: 91.45 kB / 24.16 MB, free: 392 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.0008282/0.0008282, allocations: 164.4 kB / 27.86 MB, free: 5.094 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.8813/0.8813, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.7398/0.7398, allocations: 102.5 MB / 367.9 MB, free: 1.488 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_CU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5362 GB, free: 40.05 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.365e-06/1.002e-05, allocations: 5.094 kB / 0.5362 GB, free: 40.04 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_CU_simple): time 0.1176/0.1176, allocations: 71.81 MB / 0.6063 GB, free: 4.684 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03214/0.1498, allocations: 24.98 MB / 0.6307 GB, free: 11.62 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005443/0.1552, allocations: 158.8 kB / 0.6309 GB, free: 11.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005808/0.161, allocations: 3.147 MB / 0.6339 GB, free: 8.301 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009196/0.1702, allocations: 5.056 MB / 0.6389 GB, free: 3.215 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007984/0.1782, allocations: 4.99 MB / 0.6438 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01422/0.1924, allocations: 14.25 MB / 0.6577 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00538/0.1978, allocations: 4.423 MB / 0.662 GB, free: 11.42 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009432/0.2072, allocations: 7.682 MB / 0.6695 GB, free: 3.723 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005424/0.2126, allocations: 5.101 MB / 0.6745 GB, free: 14.61 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.2137, allocations: 0.9375 MB / 0.6754 GB, free: 13.67 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.2179, allocations: 2.811 MB / 0.6781 GB, free: 10.86 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.22, allocations: 3.076 MB / 0.6811 GB, free: 7.77 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.2227, allocations: 3.051 MB / 0.6841 GB, free: 4.711 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.2362, allocations: 14.85 MB / 0.6986 GB, free: 5.816 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2363, allocations: 0 / 0.6986 GB, free: 5.816 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2363, allocations: 0 / 0.6986 GB, free: 5.816 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0001909/0.2364, allocations: 0 / 0.6986 GB, free: 5.816 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01419/0.2506, allocations: 10.86 MB / 0.7092 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.2507, allocations: 11.97 kB / 0.7092 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007792/0.2515, allocations: 0.8075 MB / 0.71 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.2537, allocations: 1.162 MB / 0.7112 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008822/0.2625, allocations: 6.937 MB / 0.7179 GB, free: 1.844 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.2627, allocations: 348.8 kB / 0.7183 GB, free: 1.5 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005143/0.2632, allocations: 439.9 kB / 0.7187 GB, free: 1.07 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.2802, allocations: 14.22 MB / 0.7326 GB, free: 1.039 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/0.2803, allocations: 51.5 kB / 0.7326 GB, free: 0.9883 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/0.2807, allocations: 228 kB / 0.7329 GB, free: 0.7656 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003028/0.281, allocations: 426.9 kB / 0.7333 GB, free: 356 kB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.2962, allocations: 9.898 MB / 0.7429 GB, free: 6.434 MB / 0.6355 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.3178/0.614, allocations: 46.12 MB / 0.788 GB, free: 142.7 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.6261, allocations: 8.123 MB / 0.7959 GB, free: 140.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003605/0.6297, allocations: 3.05 MB / 0.7989 GB, free: 138.7 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005705/0.6303, allocations: 273.2 kB / 0.7991 GB, free: 138.7 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009144/0.6394, allocations: 6.544 MB / 0.8055 GB, free: 135.2 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002686/0.6421, allocations: 0.7185 MB / 0.8062 GB, free: 135.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=865): time 8.596e-06/0.6421, allocations: 0 / 0.8062 GB, free: 135.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=866): time 0.0491/0.6912, allocations: 56.48 MB / 0.8614 GB, free: 92.61 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/0.6914, allocations: 1.812 MB / 0.8631 GB, free: 90.38 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.6967, allocations: 6.491 MB / 0.8695 GB, free: 84.02 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005376/0.6972, allocations: 99.78 kB / 0.8696 GB, free: 83.92 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.6985, allocations: 3.266 MB / 0.8728 GB, free: 80.94 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/0.6998, allocations: 2.942 MB / 0.8756 GB, free: 78.42 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.7014, allocations: 1.886 MB / 0.8775 GB, free: 76.52 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.817e-05/0.7014, allocations: 305.1 kB / 0.8778 GB, free: 76.22 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.7055, allocations: 4.153 MB / 0.8818 GB, free: 72.06 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004916/0.7104, allocations: 7.929 MB / 0.8896 GB, free: 62.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1625/0.8729, allocations: 51.45 MB / 0.9398 GB, free: 11.08 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/0.8729, allocations: 24 kB / 0.9398 GB, free: 11.05 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01588/0.8888, allocations: 12.61 MB / 0.9522 GB, free: 14.4 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.8888, allocations: 40 kB / 0.9522 GB, free: 14.36 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01189/0.9007, allocations: 9.422 MB / 0.9614 GB, free: 4.891 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0229/0.9236, allocations: 4.162 MB / 0.9655 GB, free: 0.75 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006394/0.93, allocations: 2.547 MB / 0.9679 GB, free: 14.2 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008767/0.9388, allocations: 12.22 MB / 0.9799 GB, free: 1.285 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005345/0.9441, allocations: 443.7 kB / 0.9803 GB, free: 0.8555 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007182/0.9448, allocations: 0.5855 MB / 0.9809 GB, free: 276 kB / 0.6824 GB Warning: Assuming fixed start value for the following 4 variables: 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 PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008751/0.9536, allocations: 5.832 MB / 0.9866 GB, free: 10.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006528/0.9601, allocations: 7.902 MB / 0.9943 GB, free: 1.062 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4601/1.42, allocations: 51.35 MB / 1.044 GB, free: 252.2 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.094e-05/1.42, allocations: 23.12 kB / 1.044 GB, free: 252.2 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01739/1.438, allocations: 12.5 MB / 1.057 GB, free: 249.3 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/1.438, allocations: 42.78 kB / 1.057 GB, free: 249.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01153/1.449, allocations: 9.32 MB / 1.066 GB, free: 245.8 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.023/1.472, allocations: 4.041 MB / 1.07 GB, free: 245.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006451/1.479, allocations: 2.519 MB / 1.072 GB, free: 245.4 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/1.485, allocations: 11.56 MB / 1.084 GB, free: 235.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006284/1.492, allocations: 448.9 kB / 1.084 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000676/1.492, allocations: 0.5803 MB / 1.084 GB, free: 234.9 MB / 0.7449 GB Warning: Assuming fixed start value for the following 4 variables: 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 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: 370 * Number of states: 0 () * Number of discrete variables: 7 ($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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of prepare postOptimizeDAE: time 0.002109/1.494, allocations: 0.739 MB / 1.085 GB, free: 234.4 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.496, allocations: 0.8062 MB / 1.086 GB, free: 234.4 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.507, allocations: 11.17 MB / 1.097 GB, free: 228.6 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.320603607222438] Failed to read output from testmodel.py, exit status != 0: 1.65046461019665 1.6575654370000001 1.419820272 Calling exit ...