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.00909/0.00909, 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.0007894/0.0007894, allocations: 83.7 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.0008543/0.0008543, allocations: 160 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.9886/0.9886, allocations: 177.1 MB / 210.3 MB, free: 3.438 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.6901/0.6901, allocations: 102.5 MB / 369.9 MB, free: 232 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.373e-06/1.373e-06, allocations: 3.938 kB / 470.5 MB, free: 18.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.404e-05, allocations: 2.312 kB / 470.5 MB, free: 18.77 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.1356/0.1356, allocations: 77.18 MB / 0.5348 GB, free: 10.38 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03714/0.1728, allocations: 25.81 MB / 0.56 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006738/0.1795, allocations: 158.9 kB / 0.5602 GB, free: 356 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00752/0.187, allocations: 3.151 MB / 0.5632 GB, free: 13.18 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.1995, allocations: 5.079 MB / 0.5682 GB, free: 8.07 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.2096, allocations: 4.982 MB / 0.5731 GB, free: 3.078 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01857/0.2282, allocations: 14.23 MB / 0.587 GB, free: 4.805 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007483/0.2356, allocations: 4.637 MB / 0.5915 GB, free: 108 kB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3794/0.615, allocations: 53.05 MB / 0.6433 GB, free: 71.52 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009305/0.6243, allocations: 5.031 MB / 0.6482 GB, free: 71.52 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003762/0.6281, allocations: 0.8924 MB / 0.6491 GB, free: 71.52 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00873/0.6368, allocations: 2.769 MB / 0.6518 GB, free: 71.52 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005461/0.6423, allocations: 2.955 MB / 0.6547 GB, free: 71.52 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.6523, allocations: 2.985 MB / 0.6576 GB, free: 71.52 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.6706, allocations: 9.485 MB / 0.6669 GB, free: 70.78 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6706, allocations: 0 / 0.6669 GB, free: 70.78 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6706, allocations: 0 / 0.6669 GB, free: 70.78 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0005122/0.6711, allocations: 0 / 0.6669 GB, free: 70.78 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.02265/0.6938, allocations: 11.43 MB / 0.678 GB, free: 66.61 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6938, allocations: 12.28 kB / 0.678 GB, free: 66.61 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.6982, allocations: 1.407 MB / 0.6794 GB, free: 66.06 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.7091, allocations: 5.371 MB / 0.6847 GB, free: 64.8 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/0.7095, allocations: 352.5 kB / 0.685 GB, free: 64.79 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/0.7114, allocations: 482 kB / 0.6854 GB, free: 64.79 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.7306, allocations: 11.68 MB / 0.6969 GB, free: 55.95 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.7308, allocations: 49.06 kB / 0.6969 GB, free: 55.95 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008441/0.7316, allocations: 230.8 kB / 0.6971 GB, free: 55.94 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003788/0.732, allocations: 425.8 kB / 0.6975 GB, free: 55.89 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.7443, allocations: 4.859 MB / 0.7023 GB, free: 54.48 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.04438/0.7887, allocations: 56.64 MB / 0.7576 GB, free: 3.344 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.7989, allocations: 5.221 MB / 0.7627 GB, free: 0.9492 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/0.8016, allocations: 1.32 MB / 0.764 GB, free: 352 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/0.8023, allocations: 455 kB / 0.7644 GB, free: 240 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01413/0.8165, allocations: 4.438 MB / 0.7687 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00348/0.82, allocations: 0.7383 MB / 0.7695 GB, free: 13.63 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 2.095e-05/0.82, allocations: 0 / 0.7695 GB, free: 13.63 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.04141/0.8614, allocations: 14.54 MB / 0.7837 GB, free: 1.164 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009934/0.8624, allocations: 2.193 MB / 0.7858 GB, free: 14.46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/0.8695, allocations: 5.538 MB / 0.7912 GB, free: 9.859 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001534/0.871, allocations: 105.5 kB / 0.7913 GB, free: 9.754 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/0.874, allocations: 3.536 MB / 0.7948 GB, free: 6.449 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003752/0.8778, allocations: 3.037 MB / 0.7977 GB, free: 3.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003132/0.8809, allocations: 2.079 MB / 0.7998 GB, free: 1.691 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.881, allocations: 479.4 kB / 0.8002 GB, free: 1.223 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.8834, allocations: 1.407 MB / 0.8016 GB, free: 15.8 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/0.8891, allocations: 6.916 MB / 0.8083 GB, free: 7.055 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/0.9012, allocations: 8.734 MB / 0.8169 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/0.9013, allocations: 27.94 kB / 0.8169 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01441/0.9157, allocations: 7.347 MB / 0.8241 GB, free: 6.547 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.9158, allocations: 42.62 kB / 0.8241 GB, free: 6.508 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006914/0.9227, allocations: 4.399 MB / 0.8284 GB, free: 2.105 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02315/0.9459, allocations: 4.191 MB / 0.8325 GB, free: 14.12 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00638/0.9523, allocations: 2.492 MB / 0.8349 GB, free: 11.79 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008874/0.9611, allocations: 13.84 MB / 0.8485 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/0.967, allocations: 370.9 kB / 0.8488 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/0.9685, allocations: 0.5152 MB / 0.8493 GB, free: 12.54 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.005076/0.9736, allocations: 1.619 MB / 0.8509 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005394/0.979, allocations: 6.908 MB / 0.8576 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01059/0.9896, allocations: 8.7 MB / 0.8661 GB, free: 8.539 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001093/0.9897, allocations: 24 kB / 0.8662 GB, free: 8.516 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01421/1.004, allocations: 7.322 MB / 0.8733 GB, free: 1.734 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/1.004, allocations: 40 kB / 0.8733 GB, free: 1.695 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2993/1.303, allocations: 4.366 MB / 0.8776 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06511/1.368, allocations: 4.107 MB / 0.8816 GB, free: 170.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00977/1.378, allocations: 2.475 MB / 0.884 GB, free: 170.5 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/1.384, allocations: 13.82 MB / 0.8975 GB, free: 157.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/1.391, allocations: 384.5 kB / 0.8979 GB, free: 157.8 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/1.392, allocations: 0.5009 MB / 0.8984 GB, free: 157.8 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.002539/1.395, allocations: 0.841 MB / 0.8992 GB, free: 157.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/1.397, allocations: 0.9249 MB / 0.9001 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.01386/1.411, allocations: 9.26 MB / 0.9092 GB, free: 157 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.267962904181331]