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 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.01875/0.01875, allocations: 1.354 MB / 20.45 MB, free: 4.102 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.08409/0.08409, allocations: 18.24 MB / 42.19 MB, free: 5.199 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.0008565/0.0008565, allocations: 88.81 kB / 53.06 MB, free: 6.512 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.001582/0.001582, allocations: 157.5 kB / 64.03 MB, free: 10.21 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.8863/0.8863, 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/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.4903/0.4903, allocations: 102.5 MB / 418.6 MB, free: 5.207 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/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_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_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.845e-06/2.845e-06, allocations: 4 kB / 0.6029 GB, free: 264 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.199e-05, allocations: 6 kB / 0.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple): time 0.01921/0.01923, allocations: 25.15 MB / 0.6275 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03201/0.05124, allocations: 24.99 MB / 0.6519 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005849/0.05709, allocations: 158.8 kB / 0.652 GB, free: 13.78 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.007007/0.0641, allocations: 3.147 MB / 0.6551 GB, free: 10.61 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.07468, allocations: 5.056 MB / 0.6601 GB, free: 5.527 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.008408/0.08309, allocations: 4.993 MB / 0.6649 GB, free: 0.5391 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.25/0.3331, allocations: 14.23 MB / 0.6788 GB, free: 19.23 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006507/0.3396, allocations: 4.428 MB / 0.6832 GB, free: 18.8 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01609/0.3557, allocations: 7.684 MB / 0.6907 GB, free: 18.16 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009449/0.3651, allocations: 5.1 MB / 0.6956 GB, free: 17.6 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00283/0.3679, allocations: 0.9364 MB / 0.6966 GB, free: 17.6 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006913/0.3748, allocations: 2.819 MB / 0.6993 GB, free: 17.21 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003223/0.3781, allocations: 3.059 MB / 0.7023 GB, free: 15.59 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.3839, allocations: 3.056 MB / 0.7053 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.3978, allocations: 14.85 MB / 0.7198 GB, free: 6.582 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3978, allocations: 1.938 kB / 0.7198 GB, free: 6.582 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3978, allocations: 0 / 0.7198 GB, free: 6.582 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003193/0.3982, allocations: 2.25 kB / 0.7198 GB, free: 6.582 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.01823/0.4164, allocations: 10.88 MB / 0.7304 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4164, allocations: 10.25 kB / 0.7304 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009457/0.4174, allocations: 0.8114 MB / 0.7312 GB, free: 14.59 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.4198, allocations: 1.151 MB / 0.7323 GB, free: 13.94 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.4307, allocations: 6.936 MB / 0.7391 GB, free: 8.977 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.4309, allocations: 357.5 kB / 0.7394 GB, free: 8.637 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009933/0.4319, allocations: 445.5 kB / 0.7399 GB, free: 8.211 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.4528, allocations: 14.22 MB / 0.7538 GB, free: 8.371 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.4529, allocations: 49.44 kB / 0.7538 GB, free: 8.352 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007464/0.4536, allocations: 230 kB / 0.754 GB, free: 8.137 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003512/0.454, allocations: 422.9 kB / 0.7544 GB, free: 7.723 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.4734, allocations: 9.888 MB / 0.7641 GB, free: 14.09 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.04962/0.523, allocations: 46.14 MB / 0.8091 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.5381, allocations: 8.134 MB / 0.8171 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005003/0.5431, allocations: 3.049 MB / 0.8201 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/0.5438, allocations: 273.6 kB / 0.8203 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01244/0.5562, allocations: 6.546 MB / 0.8267 GB, free: 12.75 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002634/0.5589, allocations: 0.7164 MB / 0.8274 GB, free: 12.03 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=865): time 1.324e-05/0.5589, allocations: 0 / 0.8274 GB, free: 12.03 MB / 0.6512 GB Notification: Performance of matching and sorting (n=866): time 0.0666/0.6255, allocations: 56.48 MB / 0.8826 GB, free: 3.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006133/0.6261, allocations: 1.814 MB / 0.8843 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007397/0.6335, allocations: 6.484 MB / 0.8907 GB, free: 10.51 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.001368/0.6349, allocations: 97.7 kB / 0.8908 GB, free: 10.41 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002114/0.637, allocations: 3.264 MB / 0.894 GB, free: 7.148 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/0.6395, allocations: 2.937 MB / 0.8968 GB, free: 4.254 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002344/0.6418, allocations: 1.894 MB / 0.8987 GB, free: 2.348 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.6419, allocations: 305.9 kB / 0.899 GB, free: 2.047 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004882/0.6468, allocations: 4.154 MB / 0.903 GB, free: 13.88 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006733/0.6535, allocations: 7.927 MB / 0.9108 GB, free: 4.523 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4033/1.057, allocations: 51.45 MB / 0.961 GB, free: 254.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.006e-05/1.057, allocations: 24.97 kB / 0.961 GB, free: 254.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01842/1.075, allocations: 12.6 MB / 0.9733 GB, free: 250 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/1.075, allocations: 39.62 kB / 0.9734 GB, free: 250 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01579/1.091, allocations: 9.427 MB / 0.9826 GB, free: 246.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02357/1.115, allocations: 4.173 MB / 0.9867 GB, free: 246.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005714/1.12, allocations: 2.538 MB / 0.9891 GB, free: 245.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/1.127, allocations: 12.23 MB / 1.001 GB, free: 235.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/1.131, allocations: 440.8 kB / 1.001 GB, free: 235.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008365/1.132, allocations: 0.582 MB / 1.002 GB, free: 235.1 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.00774/1.14, allocations: 5.827 MB / 1.008 GB, free: 232.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005421/1.145, allocations: 7.891 MB / 1.015 GB, free: 225.7 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1593/1.305, allocations: 51.37 MB / 1.066 GB, free: 173.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-05/1.305, allocations: 20 kB / 1.066 GB, free: 173.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01838/1.323, allocations: 12.5 MB / 1.078 GB, free: 161.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/1.323, allocations: 36 kB / 1.078 GB, free: 161.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01317/1.336, allocations: 9.325 MB / 1.087 GB, free: 151.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02222/1.359, allocations: 4.044 MB / 1.091 GB, free: 147.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005922/1.364, allocations: 2.519 MB / 1.093 GB, free: 145.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005895/1.37, allocations: 11.57 MB / 1.105 GB, free: 133.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/1.376, allocations: 448.4 kB / 1.105 GB, free: 132.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.377, allocations: 0.5777 MB / 1.106 GB, free: 132.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: 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.001988/1.379, allocations: 0.7491 MB / 1.106 GB, free: 131.5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.38, allocations: 0.8064 MB / 1.107 GB, free: 131 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.01172/1.392, allocations: 11.16 MB / 1.118 GB, free: 120.2 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.100147549062967]