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.007947/0.007947, allocations: 1.798 MB / 21.36 MB, free: 3.188 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.0007657/0.0007657, allocations: 91.22 kB / 25.15 MB, free: 7.465 MB / 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.0008123/0.0008123, allocations: 166.9 kB / 29.06 MB, free: 3.652 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.97/0.97, allocations: 177.1 MB / 210 MB, free: 3.598 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.6376/0.6376, allocations: 102.5 MB / 369.5 MB, free: 400 kB / 330.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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 470 MB, free: 18.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.503e-05, allocations: 13.62 kB / 470 MB, free: 18.92 MB / 410.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.1237/0.1237, allocations: 77.92 MB / 0.5351 GB, free: 9.934 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03435/0.1581, allocations: 25.93 MB / 0.5604 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005708/0.1638, allocations: 158.8 kB / 0.5605 GB, free: 15.78 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006326/0.1701, allocations: 3.155 MB / 0.5636 GB, free: 12.61 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.1823, allocations: 5.075 MB / 0.5686 GB, free: 7.5 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.1924, allocations: 4.982 MB / 0.5735 GB, free: 2.508 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01718/0.2096, allocations: 14.24 MB / 0.5874 GB, free: 4.23 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007413/0.217, allocations: 4.637 MB / 0.5919 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3717/0.5887, allocations: 53.07 MB / 0.6437 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00935/0.598, allocations: 5.042 MB / 0.6486 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002706/0.6007, allocations: 0.8951 MB / 0.6495 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006514/0.6072, allocations: 2.767 MB / 0.6522 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.6094, allocations: 2.967 MB / 0.6551 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004726/0.6142, allocations: 2.973 MB / 0.658 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.6261, allocations: 9.482 MB / 0.6673 GB, free: 69.98 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6261, allocations: 2.781 kB / 0.6673 GB, free: 69.98 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6261, allocations: 0 / 0.6673 GB, free: 69.98 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001893/0.6263, allocations: 0 / 0.6673 GB, free: 69.98 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.01299/0.6393, allocations: 11.31 MB / 0.6783 GB, free: 65.8 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6394, allocations: 9.812 kB / 0.6783 GB, free: 65.8 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.6417, allocations: 1.408 MB / 0.6797 GB, free: 65.26 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007378/0.6491, allocations: 5.516 MB / 0.6851 GB, free: 64.01 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.6494, allocations: 352 kB / 0.6854 GB, free: 63.99 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000735/0.6501, allocations: 483.8 kB / 0.6859 GB, free: 63.99 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.6678, allocations: 12.14 MB / 0.6977 GB, free: 54.72 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.6679, allocations: 50.28 kB / 0.6978 GB, free: 54.72 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/0.6685, allocations: 224.9 kB / 0.698 GB, free: 54.58 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/0.6689, allocations: 424.7 kB / 0.6984 GB, free: 54.48 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.6823, allocations: 5.488 MB / 0.7038 GB, free: 52.71 MB / 0.5418 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.03078/0.7131, allocations: 57.87 MB / 0.7603 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00957/0.7227, allocations: 5.631 MB / 0.7658 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.7247, allocations: 1.547 MB / 0.7673 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/0.7252, allocations: 302.7 kB / 0.7676 GB, free: 12.02 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007471/0.7327, allocations: 4.691 MB / 0.7722 GB, free: 9.562 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002733/0.7354, allocations: 0.7383 MB / 0.7729 GB, free: 9.047 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 1.162e-05/0.7354, allocations: 0 / 0.7729 GB, free: 9.047 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.05667/0.7921, allocations: 47.83 MB / 0.8196 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000797/0.7929, allocations: 2.195 MB / 0.8217 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005649/0.7986, allocations: 5.628 MB / 0.8272 GB, free: 1.535 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001154/0.7997, allocations: 105.1 kB / 0.8273 GB, free: 1.43 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.8019, allocations: 3.514 MB / 0.8308 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.002438/0.8044, allocations: 3.011 MB / 0.8337 GB, free: 10.97 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002205/0.8066, allocations: 2.028 MB / 0.8357 GB, free: 8.926 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8067, allocations: 480.7 kB / 0.8361 GB, free: 8.453 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.81, allocations: 1.772 MB / 0.8379 GB, free: 6.668 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0052/0.8152, allocations: 7.239 MB / 0.8449 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.8257, allocations: 9.638 MB / 0.8544 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-05/0.8257, allocations: 24 kB / 0.8544 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01207/0.8378, allocations: 8.133 MB / 0.8623 GB, free: 10.96 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.8378, allocations: 40 kB / 0.8624 GB, free: 10.92 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007491/0.8453, allocations: 5.018 MB / 0.8673 GB, free: 5.895 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02349/0.8688, allocations: 4.204 MB / 0.8714 GB, free: 1.895 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2864/1.155, allocations: 2.519 MB / 0.8738 GB, free: 176.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/1.161, allocations: 14.01 MB / 0.8875 GB, free: 163.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005645/1.167, allocations: 404 kB / 0.8879 GB, free: 163.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009903/1.168, allocations: 0.5884 MB / 0.8885 GB, free: 163.4 MB / 0.6512 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.005217/1.173, allocations: 1.975 MB / 0.8904 GB, free: 163.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004704/1.178, allocations: 7.213 MB / 0.8974 GB, free: 156.6 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0104/1.188, allocations: 9.612 MB / 0.9068 GB, free: 151.9 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.06e-05/1.188, allocations: 24.16 kB / 0.9068 GB, free: 151.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01461/1.203, allocations: 8.085 MB / 0.9147 GB, free: 151.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/1.203, allocations: 41.28 kB / 0.9148 GB, free: 151.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009927/1.213, allocations: 4.971 MB / 0.9196 GB, free: 151.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02357/1.236, allocations: 4.121 MB / 0.9237 GB, free: 151.4 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/1.243, allocations: 2.498 MB / 0.9261 GB, free: 151.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/1.248, allocations: 13.99 MB / 0.9398 GB, free: 138.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/1.253, allocations: 406.6 kB / 0.9402 GB, free: 138.5 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007003/1.254, allocations: 0.5822 MB / 0.9407 GB, free: 138.5 MB / 0.6512 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.002238/1.256, allocations: 0.8456 MB / 0.9415 GB, free: 138.2 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.257, allocations: 0.9177 MB / 0.9424 GB, free: 138.2 MB / 0.6512 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 1324 equation(s) and 1264 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.268, allocations: 9.515 MB / 0.9517 GB, free: 137.5 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.07654664106667]