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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01289/0.01289, allocations: 1.454 MB / 20.81 MB, free: 3.617 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.009198/0.009198, allocations: 73.47 kB / 24.44 MB, free: 7.535 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.001809/0.001809, allocations: 162.1 kB / 28.19 MB, free: 4.672 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 1.446/1.446, allocations: 177.2 MB / 209 MB, free: 2.805 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.121/1.121, allocations: 102.5 MB / 368.3 MB, free: 1.273 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 SMArtInt with version 0.5.2 (/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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 468.3 MB, free: 13.46 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.532e-05/5.798e-05, allocations: 10.25 kB / 468.3 MB, free: 13.45 MB / 442.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.4764/0.4765, allocations: 72.02 MB / 0.5277 GB, free: 70.18 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04511/0.5216, allocations: 25.01 MB / 0.5521 GB, free: 53.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01035/0.5319, allocations: 162.6 kB / 0.5522 GB, free: 53.83 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01164/0.5436, allocations: 3.138 MB / 0.5553 GB, free: 52.37 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01989/0.5634, allocations: 5.058 MB / 0.5603 GB, free: 49.33 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01513/0.5786, allocations: 4.961 MB / 0.5651 GB, free: 46.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.025/0.6036, allocations: 14.24 MB / 0.579 GB, free: 38.61 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.614, allocations: 4.647 MB / 0.5835 GB, free: 35.11 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02108/0.635, allocations: 7.729 MB / 0.5911 GB, free: 28.48 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.646, allocations: 5.157 MB / 0.5961 GB, free: 23.31 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0041/0.6501, allocations: 0.9531 MB / 0.5971 GB, free: 22.36 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09568/0.7458, allocations: 18.28 MB / 0.6149 GB, free: 6.09 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005229/0.751, allocations: 3.096 MB / 0.6179 GB, free: 2.984 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008571/0.7596, allocations: 3.078 MB / 0.6209 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03051/0.7901, allocations: 14.98 MB / 0.6356 GB, free: 0.875 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7901, allocations: 0 / 0.6356 GB, free: 0.875 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7901, allocations: 3.938 kB / 0.6356 GB, free: 0.8711 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005124/0.7906, allocations: 3.938 kB / 0.6356 GB, free: 0.8672 MB / 0.4949 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.02916/0.8198, allocations: 10.87 MB / 0.6462 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8198, allocations: 12.03 kB / 0.6462 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.8249, allocations: 1.501 MB / 0.6477 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01721/0.8421, allocations: 7.266 MB / 0.6548 GB, free: 13.1 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/0.8426, allocations: 345.6 kB / 0.6551 GB, free: 12.76 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/0.8442, allocations: 487.9 kB / 0.6556 GB, free: 12.28 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03774/0.8819, allocations: 14.3 MB / 0.6695 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002112/0.8822, allocations: 51.5 kB / 0.6696 GB, free: 12.14 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.8836, allocations: 224 kB / 0.6698 GB, free: 11.92 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006177/0.8842, allocations: 427.7 kB / 0.6702 GB, free: 11.5 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/0.9158, allocations: 9.994 MB / 0.68 GB, free: 1.516 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.07786/0.9937, allocations: 45.82 MB / 0.7247 GB, free: 2.387 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02581/1.019, allocations: 8.185 MB / 0.7327 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008822/1.028, allocations: 3.087 MB / 0.7357 GB, free: 6.875 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/1.03, allocations: 298.4 kB / 0.736 GB, free: 6.582 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2727/1.303, allocations: 6.585 MB / 0.7424 GB, free: 190.6 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004805/1.307, allocations: 0.7327 MB / 0.7431 GB, free: 190.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=865): time 4.36e-05/1.307, allocations: 0 / 0.7431 GB, free: 190.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=866): time 0.1069/1.414, allocations: 57.32 MB / 0.7991 GB, free: 157.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000344/1.415, allocations: 1.807 MB / 0.8009 GB, free: 155.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009389/1.424, allocations: 6.329 MB / 0.8071 GB, free: 153.4 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001645/1.426, allocations: 104.3 kB / 0.8072 GB, free: 153.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002289/1.428, allocations: 3.272 MB / 0.8104 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003544/1.431, allocations: 2.945 MB / 0.8132 GB, free: 148.4 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003337/1.435, allocations: 1.895 MB / 0.8151 GB, free: 146.8 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/1.435, allocations: 305.1 kB / 0.8154 GB, free: 146.5 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006576/1.441, allocations: 4.183 MB / 0.8195 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008393/1.45, allocations: 7.961 MB / 0.8272 GB, free: 134.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3271/1.777, allocations: 51.7 MB / 0.8777 GB, free: 83.69 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.195e-05/1.777, allocations: 24.55 kB / 0.8777 GB, free: 83.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02759/1.805, allocations: 12.96 MB / 0.8904 GB, free: 70.66 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/1.805, allocations: 40 kB / 0.8904 GB, free: 70.62 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01993/1.825, allocations: 9.502 MB / 0.8997 GB, free: 61.07 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04771/1.872, allocations: 4.386 MB / 0.904 GB, free: 56.69 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/1.883, allocations: 2.583 MB / 0.9065 GB, free: 54.11 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.894, allocations: 12.21 MB / 0.9184 GB, free: 41.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008172/1.902, allocations: 446.2 kB / 0.9189 GB, free: 40.86 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/1.905, allocations: 0.5777 MB / 0.9194 GB, free: 40.28 MB / 0.6043 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.01321/1.918, allocations: 5.872 MB / 0.9252 GB, free: 34.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01039/1.928, allocations: 7.913 MB / 0.9329 GB, free: 25.01 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.62/2.548, allocations: 51.44 MB / 0.9831 GB, free: 188.5 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001432/2.548, allocations: 22.84 kB / 0.9832 GB, free: 188.5 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.04307/2.591, allocations: 12.88 MB / 0.9957 GB, free: 183.8 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/2.592, allocations: 43.22 kB / 0.9958 GB, free: 183.8 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02616/2.618, allocations: 9.408 MB / 1.005 GB, free: 180.3 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04747/2.665, allocations: 4.294 MB / 1.009 GB, free: 180 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/2.676, allocations: 2.552 MB / 1.012 GB, free: 179.8 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/2.688, allocations: 12.18 MB / 1.024 GB, free: 168.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009117/2.697, allocations: 453.2 kB / 1.024 GB, free: 167.8 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002837/2.7, allocations: 0.5785 MB / 1.025 GB, free: 167.2 MB / 0.6199 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.004895/2.705, allocations: 0.7454 MB / 1.025 GB, free: 166.5 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005947/2.711, allocations: 0.9175 MB / 1.026 GB, free: 166.1 MB / 0.6199 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.02644/2.737, allocations: 11.19 MB / 1.037 GB, free: 155.7 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.336437299964018]