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.008104/0.008104, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0008065/0.0008065, allocations: 87.53 kB / 25.15 MB, free: 6.93 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.0009006/0.0009006, allocations: 170.5 kB / 29.07 MB, free: 3.516 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.9303/0.9303, allocations: 177.2 MB / 210 MB, free: 3.531 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.6345/0.6345, allocations: 102.4 MB / 369.5 MB, free: 344 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.353e-06/1.353e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.359e-05, allocations: 4.422 kB / 470 MB, free: 18.95 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.1196/0.1196, allocations: 77.93 MB / 0.5351 GB, free: 9.914 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03046/0.1501, allocations: 25.94 MB / 0.5604 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004426/0.1545, allocations: 162.9 kB / 0.5606 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005052/0.1596, allocations: 3.14 MB / 0.5636 GB, free: 12.59 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008873/0.1684, allocations: 5.079 MB / 0.5686 GB, free: 7.48 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007318/0.1758, allocations: 4.99 MB / 0.5734 GB, free: 2.48 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.1888, allocations: 14.23 MB / 0.5873 GB, free: 4.207 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005658/0.1945, allocations: 4.64 MB / 0.5919 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3444/0.5389, allocations: 53.06 MB / 0.6437 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007858/0.5468, allocations: 5.039 MB / 0.6486 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.5491, allocations: 0.8977 MB / 0.6495 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005462/0.5546, allocations: 2.766 MB / 0.6522 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.5566, allocations: 2.96 MB / 0.6551 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.00501/0.5616, allocations: 2.983 MB / 0.658 GB, free: 70.72 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.5741, allocations: 9.481 MB / 0.6673 GB, free: 69.98 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5742, allocations: 0 / 0.6673 GB, free: 69.98 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5742, allocations: 0 / 0.6673 GB, free: 69.98 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002185/0.5744, 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.01413/0.5885, allocations: 11.31 MB / 0.6783 GB, free: 65.8 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5886, allocations: 11.97 kB / 0.6783 GB, free: 65.8 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.5909, allocations: 1.408 MB / 0.6797 GB, free: 65.26 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006458/0.5973, allocations: 5.511 MB / 0.6851 GB, free: 64.01 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.5976, allocations: 357.2 kB / 0.6854 GB, free: 63.99 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006269/0.5982, allocations: 483.3 kB / 0.6859 GB, free: 63.99 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.6118, allocations: 12.13 MB / 0.6977 GB, free: 54.77 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.6119, allocations: 55.31 kB / 0.6978 GB, free: 54.77 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/0.6123, allocations: 224.4 kB / 0.698 GB, free: 54.64 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003037/0.6126, allocations: 426.5 kB / 0.6984 GB, free: 54.53 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009782/0.6224, allocations: 5.49 MB / 0.7038 GB, free: 52.76 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.02839/0.6508, allocations: 57.87 MB / 0.7603 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.6609, allocations: 5.621 MB / 0.7658 GB, free: 12.9 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/0.6631, allocations: 1.555 MB / 0.7673 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/0.6637, allocations: 291.3 kB / 0.7676 GB, free: 12.07 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00786/0.6715, allocations: 4.696 MB / 0.7721 GB, free: 9.613 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002792/0.6743, allocations: 0.739 MB / 0.7729 GB, free: 9.098 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 1.203e-05/0.6743, allocations: 0 / 0.7729 GB, free: 9.098 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.05423/0.7286, allocations: 47.84 MB / 0.8196 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006435/0.7292, allocations: 2.197 MB / 0.8217 GB, free: 7.117 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005673/0.7349, allocations: 5.628 MB / 0.8272 GB, free: 1.496 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0009125/0.7358, allocations: 101.7 kB / 0.8273 GB, free: 1.391 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.738, allocations: 3.511 MB / 0.8307 GB, free: 13.88 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.002209/0.7402, allocations: 3.015 MB / 0.8337 GB, free: 10.92 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/0.7424, allocations: 2.032 MB / 0.8357 GB, free: 8.871 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7425, allocations: 480.7 kB / 0.8361 GB, free: 8.398 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.7453, allocations: 1.766 MB / 0.8379 GB, free: 6.617 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/0.7505, allocations: 7.241 MB / 0.8449 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.7611, allocations: 9.639 MB / 0.8543 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/0.7611, allocations: 24 kB / 0.8544 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.0121/0.7733, allocations: 8.127 MB / 0.8623 GB, free: 10.91 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.7733, allocations: 40 kB / 0.8623 GB, free: 10.87 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00759/0.7809, allocations: 5.023 MB / 0.8672 GB, free: 5.84 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02458/0.8055, allocations: 4.201 MB / 0.8713 GB, free: 1.844 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2317/1.037, allocations: 2.516 MB / 0.8738 GB, free: 176.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/1.043, allocations: 14.01 MB / 0.8875 GB, free: 163.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005057/1.048, allocations: 401.7 kB / 0.8879 GB, free: 163.3 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007131/1.048, allocations: 0.5869 MB / 0.8884 GB, free: 163.3 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.004438/1.053, allocations: 1.979 MB / 0.8904 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004247/1.057, allocations: 7.219 MB / 0.8974 GB, free: 156.5 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009755/1.067, allocations: 9.601 MB / 0.9068 GB, free: 151.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.109e-05/1.067, allocations: 23.78 kB / 0.9068 GB, free: 151.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01204/1.079, allocations: 8.085 MB / 0.9147 GB, free: 151.6 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/1.079, allocations: 42.5 kB / 0.9148 GB, free: 151.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007935/1.087, allocations: 4.978 MB / 0.9196 GB, free: 151.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02323/1.11, allocations: 4.118 MB / 0.9236 GB, free: 151.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00464/1.115, allocations: 2.5 MB / 0.9261 GB, free: 151.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004795/1.12, allocations: 13.99 MB / 0.9398 GB, free: 138.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/1.123, allocations: 411.5 kB / 0.9401 GB, free: 138.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/1.124, allocations: 0.5797 MB / 0.9407 GB, free: 138.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: 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.00169/1.125, allocations: 0.8397 MB / 0.9415 GB, free: 138.1 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.127, allocations: 0.9222 MB / 0.9424 GB, free: 138.1 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.009508/1.136, allocations: 9.509 MB / 0.9517 GB, free: 137.4 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.739906624890864]