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.01025/0.01025, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0008419/0.0008419, allocations: 84.2 kB / 25.4 MB, free: 7 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.00143/0.00143, allocations: 161.3 kB / 29.33 MB, free: 3.137 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.9385/0.9385, allocations: 177.2 MB / 210.3 MB, free: 3.465 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.6163/0.6163, allocations: 102.4 MB / 369.9 MB, free: 252 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.242e-06/1.242e-06, allocations: 0 / 470.4 MB, free: 18.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.225e-05, allocations: 3.844 kB / 470.5 MB, free: 18.87 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.1168/0.1169, allocations: 77.18 MB / 0.5348 GB, free: 10.42 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03253/0.1494, allocations: 25.81 MB / 0.56 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005148/0.1545, allocations: 162.8 kB / 0.5602 GB, free: 392 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006404/0.1609, allocations: 3.151 MB / 0.5632 GB, free: 13.21 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.171, allocations: 5.079 MB / 0.5682 GB, free: 8.105 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008009/0.179, allocations: 4.993 MB / 0.5731 GB, free: 3.102 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01539/0.1944, allocations: 14.23 MB / 0.587 GB, free: 4.828 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006289/0.2007, allocations: 4.644 MB / 0.5915 GB, free: 124 kB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3819/0.5826, allocations: 53.05 MB / 0.6433 GB, free: 71.66 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007755/0.5903, allocations: 5.025 MB / 0.6482 GB, free: 71.66 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003139/0.5935, allocations: 0.8936 MB / 0.6491 GB, free: 71.66 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00738/0.6009, allocations: 2.769 MB / 0.6518 GB, free: 71.66 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005187/0.606, allocations: 2.958 MB / 0.6547 GB, free: 71.66 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007392/0.6134, allocations: 2.987 MB / 0.6576 GB, free: 71.66 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.6301, allocations: 9.475 MB / 0.6668 GB, free: 70.91 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.6301, allocations: 0 / 0.6668 GB, free: 70.91 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6301, allocations: 0 / 0.6668 GB, free: 70.91 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004888/0.6306, allocations: 0 / 0.6668 GB, free: 70.91 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.01855/0.6492, allocations: 11.43 MB / 0.678 GB, free: 66.74 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6492, allocations: 9.562 kB / 0.678 GB, free: 66.74 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.6521, allocations: 1.401 MB / 0.6794 GB, free: 66.19 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009561/0.6616, allocations: 5.372 MB / 0.6846 GB, free: 64.94 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.662, allocations: 352.7 kB / 0.685 GB, free: 64.92 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.6633, allocations: 483.4 kB / 0.6854 GB, free: 64.92 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.6796, allocations: 11.68 MB / 0.6968 GB, free: 56.07 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.6797, allocations: 52.25 kB / 0.6969 GB, free: 56.07 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006322/0.6804, allocations: 232.4 kB / 0.6971 GB, free: 56.07 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.6807, allocations: 426.6 kB / 0.6975 GB, free: 56.02 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.6912, allocations: 4.867 MB / 0.7023 GB, free: 54.61 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.03507/0.7262, allocations: 56.63 MB / 0.7576 GB, free: 3.5 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009595/0.7358, allocations: 5.218 MB / 0.7627 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/0.7383, allocations: 1.318 MB / 0.764 GB, free: 0.5039 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006888/0.739, allocations: 446.5 kB / 0.7644 GB, free: 412 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008454/0.7474, allocations: 4.444 MB / 0.7687 GB, free: 14.31 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003283/0.7507, allocations: 0.7344 MB / 0.7694 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 2.047e-05/0.7507, allocations: 5.797 kB / 0.7694 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.04137/0.7921, allocations: 14.54 MB / 0.7836 GB, free: 1.312 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009228/0.793, allocations: 2.196 MB / 0.7858 GB, free: 14.61 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006249/0.7993, allocations: 5.543 MB / 0.7912 GB, free: 10 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/0.8005, allocations: 100.4 kB / 0.7913 GB, free: 9.902 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002793/0.8033, allocations: 3.531 MB / 0.7947 GB, free: 6.602 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003238/0.8066, allocations: 3.049 MB / 0.7977 GB, free: 3.738 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002622/0.8092, allocations: 2.077 MB / 0.7998 GB, free: 1.84 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8093, allocations: 476.8 kB / 0.8002 GB, free: 1.371 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/0.8117, allocations: 1.407 MB / 0.8016 GB, free: 15.95 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/0.8166, allocations: 6.919 MB / 0.8083 GB, free: 7.203 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.8274, allocations: 8.724 MB / 0.8169 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-05/0.8275, allocations: 27.94 kB / 0.8169 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01253/0.84, allocations: 7.349 MB / 0.8241 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.8401, allocations: 43.98 kB / 0.8241 GB, free: 6.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006803/0.8469, allocations: 4.4 MB / 0.8284 GB, free: 2.254 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/0.87, allocations: 4.19 MB / 0.8325 GB, free: 14.28 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006979/0.877, allocations: 2.493 MB / 0.8349 GB, free: 11.94 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.885, allocations: 13.85 MB / 0.8484 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005728/0.8907, allocations: 373.5 kB / 0.8488 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/0.8927, allocations: 0.5139 MB / 0.8493 GB, free: 12.69 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.004787/0.8975, allocations: 1.618 MB / 0.8509 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004816/0.9023, allocations: 6.906 MB / 0.8576 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01031/0.9126, allocations: 8.691 MB / 0.8661 GB, free: 8.695 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001034/0.9127, allocations: 20 kB / 0.8661 GB, free: 8.676 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01213/0.9248, allocations: 7.336 MB / 0.8733 GB, free: 1.855 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.9249, allocations: 40 kB / 0.8733 GB, free: 1.816 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2371/1.162, allocations: 4.36 MB / 0.8776 GB, free: 170.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02164/1.184, allocations: 4.108 MB / 0.8816 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005729/1.189, allocations: 2.474 MB / 0.884 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005555/1.195, allocations: 13.82 MB / 0.8975 GB, free: 157.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005376/1.2, allocations: 382.8 kB / 0.8979 GB, free: 157.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.201, allocations: 0.5015 MB / 0.8984 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.00188/1.203, allocations: 0.8438 MB / 0.8992 GB, free: 157.7 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/1.205, allocations: 0.9204 MB / 0.9001 GB, free: 157.7 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.01153/1.217, allocations: 9.25 MB / 0.9091 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: 3.8512044716626406]