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.008368/0.008368, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0007976/0.0007976, allocations: 82.73 kB / 26.19 MB, free: 6.07 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.001253/0.001253, allocations: 171 kB / 30.12 MB, free: 2.176 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.019/1.019, allocations: 177.2 MB / 211.1 MB, free: 3.453 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6468/0.6468, allocations: 102.4 MB / 370.6 MB, free: 200 kB / 330.7 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 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_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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 471.2 MB, free: 18.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.516e-05, allocations: 2.312 kB / 471.3 MB, free: 18.79 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.14/0.14, allocations: 77.17 MB / 0.5356 GB, free: 10.41 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03439/0.1744, allocations: 25.82 MB / 0.5608 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005658/0.1801, allocations: 154.9 kB / 0.5609 GB, free: 380 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00699/0.187, allocations: 3.144 MB / 0.564 GB, free: 13.21 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.1991, allocations: 5.079 MB / 0.569 GB, free: 8.098 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009801/0.2089, allocations: 4.99 MB / 0.5738 GB, free: 3.098 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01686/0.2257, allocations: 14.22 MB / 0.5877 GB, free: 4.836 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007294/0.233, allocations: 4.64 MB / 0.5922 GB, free: 136 kB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4017/0.6347, allocations: 53.05 MB / 0.6441 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008983/0.6437, allocations: 5.029 MB / 0.649 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003496/0.6472, allocations: 0.8939 MB / 0.6498 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007853/0.655, allocations: 2.765 MB / 0.6525 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005195/0.6602, allocations: 2.967 MB / 0.6554 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.008074/0.6683, allocations: 2.978 MB / 0.6583 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/0.6871, allocations: 9.485 MB / 0.6676 GB, free: 70.86 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.6871, allocations: 0 / 0.6676 GB, free: 70.86 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6872, allocations: 2.953 kB / 0.6676 GB, free: 70.86 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0005165/0.6877, allocations: 0 / 0.6676 GB, free: 70.86 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.02306/0.7107, allocations: 11.43 MB / 0.6788 GB, free: 66.68 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7108, allocations: 9.656 kB / 0.6788 GB, free: 66.68 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.7154, allocations: 1.402 MB / 0.6801 GB, free: 66.14 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.7267, allocations: 5.364 MB / 0.6854 GB, free: 64.89 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004452/0.7271, allocations: 353 kB / 0.6857 GB, free: 64.87 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/0.7287, allocations: 486.8 kB / 0.6862 GB, free: 64.87 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.7472, allocations: 11.68 MB / 0.6976 GB, free: 55.99 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.7473, allocations: 49.91 kB / 0.6976 GB, free: 55.99 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007363/0.7481, allocations: 225.9 kB / 0.6979 GB, free: 55.99 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004027/0.7485, allocations: 426.8 kB / 0.6983 GB, free: 55.93 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.7594, allocations: 4.866 MB / 0.703 GB, free: 54.53 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.03826/0.7976, allocations: 56.64 MB / 0.7583 GB, free: 3.418 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009983/0.8076, allocations: 5.212 MB / 0.7634 GB, free: 1.027 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.8099, allocations: 1.329 MB / 0.7647 GB, free: 428 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.8104, allocations: 294.8 kB / 0.765 GB, free: 332 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007879/0.8183, allocations: 4.438 MB / 0.7693 GB, free: 14.23 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003002/0.8213, allocations: 0.7358 MB / 0.77 GB, free: 13.72 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 1.638e-05/0.8213, allocations: 0 / 0.77 GB, free: 13.72 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.04037/0.8617, allocations: 14.51 MB / 0.7842 GB, free: 1.281 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009042/0.8626, allocations: 2.189 MB / 0.7863 GB, free: 14.58 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007192/0.8698, allocations: 5.534 MB / 0.7918 GB, free: 9.984 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001493/0.8713, allocations: 108.4 kB / 0.7919 GB, free: 9.875 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002552/0.8738, allocations: 3.532 MB / 0.7953 GB, free: 6.578 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003223/0.877, allocations: 3.041 MB / 0.7983 GB, free: 3.715 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002706/0.8797, allocations: 2.078 MB / 0.8003 GB, free: 1.816 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.8798, allocations: 476.8 kB / 0.8008 GB, free: 1.348 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.8822, allocations: 1.412 MB / 0.8021 GB, free: 15.92 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.8871, allocations: 6.917 MB / 0.8089 GB, free: 7.18 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.8977, allocations: 8.734 MB / 0.8174 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.574e-05/0.8978, allocations: 30.59 kB / 0.8175 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01229/0.9101, allocations: 7.336 MB / 0.8246 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.9101, allocations: 40 kB / 0.8247 GB, free: 6.641 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006678/0.9168, allocations: 4.408 MB / 0.829 GB, free: 2.234 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02517/0.942, allocations: 4.184 MB / 0.833 GB, free: 14.26 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/0.9486, allocations: 2.497 MB / 0.8355 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007763/0.9564, allocations: 13.84 MB / 0.849 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005253/0.9617, allocations: 373.4 kB / 0.8493 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/0.963, allocations: 0.5124 MB / 0.8499 GB, free: 12.68 MB / 0.6355 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.00475/0.9678, allocations: 1.622 MB / 0.8514 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005451/0.9732, allocations: 6.911 MB / 0.8582 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01064/0.9839, allocations: 8.686 MB / 0.8667 GB, free: 8.684 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001014/0.984, allocations: 26.69 kB / 0.8667 GB, free: 8.66 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.0146/0.9986, allocations: 7.317 MB / 0.8738 GB, free: 1.887 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/0.9986, allocations: 43.98 kB / 0.8739 GB, free: 1.844 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2851/1.284, allocations: 4.357 MB / 0.8781 GB, free: 170.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02518/1.309, allocations: 4.106 MB / 0.8821 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006121/1.315, allocations: 2.475 MB / 0.8846 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/1.32, allocations: 13.82 MB / 0.8981 GB, free: 157.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005511/1.326, allocations: 383.1 kB / 0.8984 GB, free: 157.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.327, allocations: 0.5036 MB / 0.8989 GB, free: 157.9 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.002203/1.329, allocations: 0.845 MB / 0.8997 GB, free: 157.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/1.332, allocations: 0.9177 MB / 0.9006 GB, free: 157.6 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.01126/1.343, allocations: 9.253 MB / 0.9097 GB, free: 157.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.118198522832245]