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.006812/0.006812, allocations: 1.442 MB / 20.53 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.0007157/0.0007157, allocations: 87.47 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.0007757/0.0007757, allocations: 164.4 kB / 27.86 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.8563/0.8563, allocations: 177.2 MB / 208.6 MB, free: 2.969 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.7365/0.7365, 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.803e-06/1.803e-06, allocations: 0 / 0.5362 GB, free: 40.03 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.604e-05, allocations: 4 kB / 0.5362 GB, free: 40.03 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.1213/0.1213, allocations: 71.82 MB / 0.6063 GB, free: 4.656 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03324/0.1545, allocations: 24.98 MB / 0.6307 GB, free: 11.6 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005715/0.1602, allocations: 162.8 kB / 0.6309 GB, free: 11.44 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005807/0.166, allocations: 3.147 MB / 0.634 GB, free: 8.273 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.1767, allocations: 5.06 MB / 0.6389 GB, free: 3.184 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008124/0.1848, allocations: 4.993 MB / 0.6438 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01633/0.2011, allocations: 14.24 MB / 0.6577 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008629/0.2098, allocations: 4.419 MB / 0.662 GB, free: 11.4 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.2207, allocations: 7.686 MB / 0.6695 GB, free: 3.695 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006636/0.2273, allocations: 5.097 MB / 0.6745 GB, free: 14.59 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.229, allocations: 0.9414 MB / 0.6754 GB, free: 13.64 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005685/0.2347, allocations: 2.819 MB / 0.6781 GB, free: 10.82 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.2375, allocations: 3.064 MB / 0.6811 GB, free: 7.746 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003683/0.2412, allocations: 3.051 MB / 0.6841 GB, free: 4.688 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.2566, allocations: 14.86 MB / 0.6986 GB, free: 5.785 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2566, allocations: 0 / 0.6986 GB, free: 5.785 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2566, allocations: 0 / 0.6986 GB, free: 5.785 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003444/0.2569, allocations: 0 / 0.6986 GB, free: 5.785 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.01668/0.2736, allocations: 10.86 MB / 0.7092 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.2737, allocations: 12.03 kB / 0.7092 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007836/0.2745, allocations: 0.8114 MB / 0.71 GB, free: 10 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.2767, allocations: 1.158 MB / 0.7112 GB, free: 8.836 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009143/0.2859, allocations: 6.935 MB / 0.7179 GB, free: 1.82 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.2861, allocations: 352.9 kB / 0.7183 GB, free: 1.473 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.2866, allocations: 447.9 kB / 0.7187 GB, free: 1.035 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.3035, allocations: 14.21 MB / 0.7326 GB, free: 1.016 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.084e-05/0.3036, allocations: 51.5 kB / 0.7326 GB, free: 0.9648 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.304, allocations: 228 kB / 0.7328 GB, free: 0.7422 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003208/0.3043, allocations: 426.9 kB / 0.7333 GB, free: 332 kB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.3194, allocations: 9.898 MB / 0.7429 GB, free: 6.406 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.307/0.6264, allocations: 46.12 MB / 0.788 GB, free: 142.6 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.6383, allocations: 8.131 MB / 0.7959 GB, free: 140.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/0.6419, allocations: 3.05 MB / 0.7989 GB, free: 138.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/0.6425, allocations: 273 kB / 0.7991 GB, free: 138.6 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01032/0.6528, allocations: 6.539 MB / 0.8055 GB, free: 135.1 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003508/0.6563, allocations: 0.7222 MB / 0.8062 GB, free: 135 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=865): time 1.935e-05/0.6564, allocations: 1.406 kB / 0.8062 GB, free: 135 MB / 0.6512 GB Notification: Performance of matching and sorting (n=866): time 0.05666/0.713, allocations: 56.48 MB / 0.8614 GB, free: 92.52 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000327/0.7133, allocations: 1.81 MB / 0.8632 GB, free: 90.29 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007629/0.721, allocations: 6.493 MB / 0.8695 GB, free: 83.93 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001648/0.7226, allocations: 99.2 kB / 0.8696 GB, free: 83.82 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.7248, allocations: 3.263 MB / 0.8728 GB, free: 80.85 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0027/0.7275, allocations: 2.937 MB / 0.8756 GB, free: 78.33 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002561/0.73, allocations: 1.89 MB / 0.8775 GB, free: 76.43 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.977e-05/0.7301, allocations: 301.1 kB / 0.8778 GB, free: 76.13 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00464/0.7347, allocations: 4.157 MB / 0.8818 GB, free: 71.97 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005011/0.7397, allocations: 7.925 MB / 0.8896 GB, free: 62.61 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1544/0.8941, allocations: 51.45 MB / 0.9398 GB, free: 11 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.504e-05/0.8941, allocations: 24 kB / 0.9398 GB, free: 10.98 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.017/0.9111, allocations: 12.61 MB / 0.9522 GB, free: 14.32 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.9112, allocations: 40 kB / 0.9522 GB, free: 14.29 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01234/0.9235, allocations: 9.425 MB / 0.9614 GB, free: 4.816 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/0.9466, allocations: 4.163 MB / 0.9655 GB, free: 0.6758 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006596/0.9532, allocations: 2.545 MB / 0.968 GB, free: 14.13 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009173/0.9624, allocations: 12.23 MB / 0.9799 GB, free: 1.203 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/0.968, allocations: 440.4 kB / 0.9803 GB, free: 0.7773 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008334/0.9688, allocations: 0.5868 MB / 0.9809 GB, free: 200 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.008943/0.9778, allocations: 5.835 MB / 0.9866 GB, free: 10.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00766/0.9854, allocations: 7.894 MB / 0.9943 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4438/1.429, allocations: 51.34 MB / 1.044 GB, free: 252.2 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.368e-05/1.429, allocations: 24.16 kB / 1.044 GB, free: 252.2 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01826/1.448, allocations: 12.51 MB / 1.057 GB, free: 249.3 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/1.448, allocations: 40.86 kB / 1.057 GB, free: 249.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01122/1.459, allocations: 9.321 MB / 1.066 GB, free: 245.8 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02257/1.481, allocations: 4.038 MB / 1.07 GB, free: 245.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006016/1.487, allocations: 2.521 MB / 1.072 GB, free: 245.4 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/1.494, allocations: 11.57 MB / 1.084 GB, free: 235.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/1.498, allocations: 444.8 kB / 1.084 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/1.499, allocations: 0.5789 MB / 1.085 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.001759/1.5, allocations: 0.7408 MB / 1.085 GB, free: 234.3 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.501, allocations: 0.8077 MB / 1.086 GB, free: 234.3 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.01071/1.512, allocations: 11.16 MB / 1.097 GB, free: 228.5 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.302252403460443] Failed to read output from testmodel.py, exit status != 0: 1.6657011536881328 1.672476799 1.414327495 Calling exit ...