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.008422/0.008422, allocations: 1.781 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.0008172/0.0008172, allocations: 78.86 kB / 26.19 MB, free: 6.078 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.0008522/0.0008522, allocations: 165.4 kB / 30.12 MB, free: 2.184 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.91/0.91, allocations: 177.2 MB / 211.1 MB, free: 3.43 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.6383/0.6383, allocations: 102.5 MB / 370.7 MB, free: 164 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.833e-06/1.833e-06, allocations: 0 / 471.3 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.752e-05, allocations: 3.016 kB / 471.3 MB, free: 18.8 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.1243/0.1243, allocations: 77.16 MB / 0.5356 GB, free: 10.36 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03265/0.157, allocations: 25.81 MB / 0.5608 GB, free: 492 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/0.1617, allocations: 158.8 kB / 0.5609 GB, free: 332 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005495/0.1672, allocations: 3.147 MB / 0.564 GB, free: 13.16 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.1795, allocations: 5.087 MB / 0.569 GB, free: 8.043 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009685/0.1891, allocations: 4.986 MB / 0.5738 GB, free: 3.047 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0168/0.2059, allocations: 14.23 MB / 0.5877 GB, free: 4.777 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006242/0.2122, allocations: 4.637 MB / 0.5923 GB, free: 80 kB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3472/0.5594, allocations: 53.06 MB / 0.6441 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00747/0.5669, allocations: 5.033 MB / 0.649 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.5691, allocations: 0.8947 MB / 0.6499 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/0.5739, allocations: 2.758 MB / 0.6526 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.5759, allocations: 2.962 MB / 0.6554 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003692/0.5796, allocations: 2.982 MB / 0.6584 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.5902, allocations: 9.479 MB / 0.6676 GB, free: 70.85 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5902, allocations: 0 / 0.6676 GB, free: 70.85 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5902, allocations: 2.188 kB / 0.6676 GB, free: 70.85 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001329/0.5903, allocations: 2.656 kB / 0.6676 GB, free: 70.85 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.01435/0.6047, allocations: 11.43 MB / 0.6788 GB, free: 66.68 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6047, allocations: 10.31 kB / 0.6788 GB, free: 66.68 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.6073, allocations: 1.399 MB / 0.6802 GB, free: 66.13 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007312/0.6146, allocations: 5.373 MB / 0.6854 GB, free: 64.88 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.6149, allocations: 347.6 kB / 0.6857 GB, free: 64.87 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007403/0.6156, allocations: 487.6 kB / 0.6862 GB, free: 64.86 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.6309, allocations: 11.68 MB / 0.6976 GB, free: 56.04 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.631, allocations: 51.44 kB / 0.6977 GB, free: 56.04 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000514/0.6315, allocations: 225.2 kB / 0.6979 GB, free: 56.04 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003496/0.6318, allocations: 434.3 kB / 0.6983 GB, free: 55.98 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.6429, allocations: 4.854 MB / 0.703 GB, free: 54.57 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.02491/0.6678, allocations: 56.65 MB / 0.7583 GB, free: 3.453 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007917/0.6757, allocations: 5.217 MB / 0.7634 GB, free: 1.059 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.6772, allocations: 1.314 MB / 0.7647 GB, free: 468 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.6777, allocations: 300.7 kB / 0.765 GB, free: 368 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006842/0.6845, allocations: 4.433 MB / 0.7693 GB, free: 14.27 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002444/0.687, allocations: 0.7407 MB / 0.7701 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 9.899e-06/0.687, allocations: 2.625 kB / 0.7701 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.03506/0.7221, allocations: 14.5 MB / 0.7842 GB, free: 1.297 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006126/0.7227, allocations: 2.196 MB / 0.7864 GB, free: 14.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005377/0.7281, allocations: 5.542 MB / 0.7918 GB, free: 9.992 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.7284, allocations: 97.7 kB / 0.7919 GB, free: 9.891 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.7306, allocations: 3.537 MB / 0.7953 GB, free: 6.586 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001861/0.7324, allocations: 3.046 MB / 0.7983 GB, free: 3.723 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/0.7349, allocations: 2.072 MB / 0.8003 GB, free: 1.828 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.735, allocations: 476.8 kB / 0.8008 GB, free: 1.359 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.7372, allocations: 1.41 MB / 0.8022 GB, free: 15.94 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004855/0.742, allocations: 6.926 MB / 0.8089 GB, free: 7.191 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009347/0.7514, allocations: 8.72 MB / 0.8174 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.667e-05/0.7514, allocations: 29.14 kB / 0.8175 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01077/0.7622, allocations: 7.347 MB / 0.8246 GB, free: 6.688 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.7622, allocations: 40.98 kB / 0.8247 GB, free: 6.648 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006366/0.7686, allocations: 4.402 MB / 0.829 GB, free: 2.246 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03066/0.7993, allocations: 4.177 MB / 0.8331 GB, free: 14.28 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008624/0.8079, allocations: 2.495 MB / 0.8355 GB, free: 11.94 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008646/0.8165, allocations: 13.85 MB / 0.849 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/0.8221, allocations: 374.9 kB / 0.8494 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009761/0.8231, allocations: 0.5074 MB / 0.8499 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.004521/0.8276, allocations: 1.622 MB / 0.8515 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005734/0.8334, allocations: 6.904 MB / 0.8582 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008616/0.842, allocations: 8.685 MB / 0.8667 GB, free: 8.703 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.116e-05/0.842, allocations: 24 kB / 0.8667 GB, free: 8.68 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01099/0.853, allocations: 7.319 MB / 0.8738 GB, free: 1.891 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.8531, allocations: 41.31 kB / 0.8739 GB, free: 1.852 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2421/1.095, allocations: 4.367 MB / 0.8782 GB, free: 170.8 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02379/1.119, allocations: 4.103 MB / 0.8822 GB, free: 170.8 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006398/1.125, allocations: 2.474 MB / 0.8846 GB, free: 170.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/1.131, allocations: 13.81 MB / 0.8981 GB, free: 158.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.137, allocations: 383 kB / 0.8984 GB, free: 158.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.138, allocations: 0.5001 MB / 0.8989 GB, free: 158.1 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.002399/1.141, allocations: 0.8463 MB / 0.8997 GB, free: 157.8 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/1.143, allocations: 0.9204 MB / 0.9006 GB, free: 157.8 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.01207/1.155, allocations: 9.258 MB / 0.9097 GB, free: 157.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8782828161492944]