Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.008622/0.008622, allocations: 1.358 MB / 20.45 MB, free: 4.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09559/0.09559, allocations: 18.24 MB / 42.2 MB, free: 5.18 MB / 33.03 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.001274/0.001274, allocations: 82.66 kB / 53.06 MB, free: 6.391 MB / 44.04 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.001201/0.001201, allocations: 167.1 kB / 64.04 MB, free: 10.08 MB / 58.72 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.9306/0.9306, allocations: 177.2 MB / 252.1 MB, free: 11.79 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.503/0.503, allocations: 102.5 MB / 418.7 MB, free: 5.316 MB / 362.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.603 GB, free: 348 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.368e-05, allocations: 4.953 kB / 0.603 GB, free: 344 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple): time 0.02301/0.02304, allocations: 25.15 MB / 0.6276 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03605/0.05909, allocations: 24.99 MB / 0.652 GB, free: 14.02 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005891/0.06498, allocations: 162.8 kB / 0.6521 GB, free: 13.86 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.007604/0.07259, allocations: 3.151 MB / 0.6552 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.08468, allocations: 5.052 MB / 0.6602 GB, free: 5.613 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.009373/0.09405, allocations: 4.988 MB / 0.665 GB, free: 0.6328 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2885/0.3826, allocations: 14.23 MB / 0.6789 GB, free: 19.28 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007627/0.3902, allocations: 4.426 MB / 0.6833 GB, free: 18.86 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01841/0.4086, allocations: 7.684 MB / 0.6908 GB, free: 18.21 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.4193, allocations: 5.096 MB / 0.6957 GB, free: 17.66 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.004085/0.4234, allocations: 0.9391 MB / 0.6966 GB, free: 17.66 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008918/0.4323, allocations: 2.825 MB / 0.6994 GB, free: 17.27 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005269/0.4376, allocations: 3.062 MB / 0.7024 GB, free: 15.66 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.008813/0.4464, allocations: 3.052 MB / 0.7054 GB, free: 14.27 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01954/0.4659, allocations: 14.85 MB / 0.7199 GB, free: 6.609 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4659, allocations: 0 / 0.7199 GB, free: 6.609 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4659, allocations: 2.375 kB / 0.7199 GB, free: 6.609 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0005315/0.4665, allocations: 0 / 0.7199 GB, free: 6.609 MB / 0.5418 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.02243/0.4889, allocations: 10.87 MB / 0.7305 GB, free: 15.17 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.489, allocations: 14.34 kB / 0.7305 GB, free: 15.17 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002204/0.4912, allocations: 0.8112 MB / 0.7313 GB, free: 14.58 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.4949, allocations: 1.156 MB / 0.7324 GB, free: 13.93 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.5079, allocations: 6.933 MB / 0.7392 GB, free: 9.023 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.5082, allocations: 350.9 kB / 0.7395 GB, free: 8.688 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.5097, allocations: 447.2 kB / 0.74 GB, free: 8.258 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/0.5323, allocations: 14.21 MB / 0.7538 GB, free: 8.426 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.5324, allocations: 50.75 kB / 0.7539 GB, free: 8.406 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008906/0.5333, allocations: 228 kB / 0.7541 GB, free: 8.195 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003302/0.5336, allocations: 430.9 kB / 0.7545 GB, free: 7.773 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.5529, allocations: 9.883 MB / 0.7642 GB, free: 14.15 MB / 0.5887 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.0512/0.6041, allocations: 46.14 MB / 0.8092 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0147/0.6188, allocations: 8.127 MB / 0.8172 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005417/0.6242, allocations: 3.051 MB / 0.8202 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000793/0.625, allocations: 269.8 kB / 0.8204 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01308/0.638, allocations: 6.546 MB / 0.8268 GB, free: 12.82 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003532/0.6416, allocations: 0.7203 MB / 0.8275 GB, free: 12.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=865): time 1.744e-05/0.6416, allocations: 0 / 0.8275 GB, free: 12.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=866): time 0.07294/0.7145, allocations: 56.48 MB / 0.8827 GB, free: 3.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006363/0.7152, allocations: 1.812 MB / 0.8844 GB, free: 1.043 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009035/0.7242, allocations: 6.489 MB / 0.8908 GB, free: 10.57 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.001508/0.7257, allocations: 101.7 kB / 0.8909 GB, free: 10.46 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002546/0.7283, allocations: 3.263 MB / 0.894 GB, free: 7.207 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00337/0.7316, allocations: 2.941 MB / 0.8969 GB, free: 4.309 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003709/0.7353, allocations: 1.89 MB / 0.8988 GB, free: 2.406 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.7354, allocations: 305.1 kB / 0.8991 GB, free: 2.105 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006113/0.7415, allocations: 4.15 MB / 0.9031 GB, free: 13.94 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009126/0.7506, allocations: 7.927 MB / 0.9109 GB, free: 4.582 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.463/1.214, allocations: 51.45 MB / 0.9611 GB, free: 254.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.147e-05/1.214, allocations: 27.5 kB / 0.9611 GB, free: 254.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02505/1.239, allocations: 12.59 MB / 0.9734 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-05/1.239, allocations: 39.56 kB / 0.9735 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01997/1.259, allocations: 9.434 MB / 0.9827 GB, free: 246.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02379/1.283, allocations: 4.165 MB / 0.9867 GB, free: 246.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006614/1.289, allocations: 2.542 MB / 0.9892 GB, free: 246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007085/1.296, allocations: 12.22 MB / 1.001 GB, free: 235.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/1.302, allocations: 440.6 kB / 1.002 GB, free: 235.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.304, allocations: 0.5824 MB / 1.002 GB, free: 235.2 MB / 0.7605 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.009894/1.314, allocations: 5.833 MB / 1.008 GB, free: 232.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007451/1.321, allocations: 7.887 MB / 1.016 GB, free: 225.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1771/1.498, allocations: 51.35 MB / 1.066 GB, free: 173.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.209e-05/1.498, allocations: 24 kB / 1.066 GB, free: 173.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02593/1.524, allocations: 12.51 MB / 1.078 GB, free: 161.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/1.524, allocations: 43.94 kB / 1.078 GB, free: 161.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01666/1.541, allocations: 9.322 MB / 1.087 GB, free: 152.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0281/1.569, allocations: 4.041 MB / 1.091 GB, free: 148 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/1.576, allocations: 2.519 MB / 1.093 GB, free: 145.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/1.582, allocations: 11.57 MB / 1.105 GB, free: 133.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005541/1.587, allocations: 448.4 kB / 1.105 GB, free: 132.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.589, allocations: 0.5738 MB / 1.106 GB, free: 132.3 MB / 0.7605 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.002568/1.591, allocations: 0.7457 MB / 1.107 GB, free: 131.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/1.594, allocations: 0.8178 MB / 1.107 GB, free: 131.1 MB / 0.7605 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.01399/1.608, allocations: 11.15 MB / 1.118 GB, free: 120.2 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.4875743025913835]