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.008446/0.008446, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0007942/0.0007942, allocations: 86.48 kB / 25.15 MB, free: 6.316 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.0008463/0.0008463, allocations: 163.2 kB / 29.05 MB, free: 3.352 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.986/0.986, allocations: 177.1 MB / 210 MB, free: 3.609 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.6729/0.6729, allocations: 102.5 MB / 369.5 MB, free: 420 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.232e-06/1.232e-06, allocations: 0 / 470 MB, free: 18.92 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.585e-05, allocations: 6.109 kB / 470 MB, free: 18.92 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.1486/0.1487, allocations: 77.93 MB / 0.5351 GB, free: 9.945 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03604/0.1847, allocations: 25.93 MB / 0.5604 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005944/0.1906, allocations: 162.8 kB / 0.5605 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007375/0.198, allocations: 3.151 MB / 0.5636 GB, free: 12.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.2103, allocations: 5.06 MB / 0.5686 GB, free: 7.531 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009469/0.2197, allocations: 4.986 MB / 0.5734 GB, free: 2.535 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01775/0.2375, allocations: 14.24 MB / 0.5873 GB, free: 4.254 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007846/0.2453, allocations: 4.637 MB / 0.5919 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01505/0.2604, allocations: 7.69 MB / 0.5994 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008986/0.2694, allocations: 5.099 MB / 0.6044 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003325/0.2727, allocations: 0.9413 MB / 0.6053 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007818/0.2805, allocations: 2.83 MB / 0.608 GB, free: 14.96 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.004453/0.285, allocations: 3.088 MB / 0.611 GB, free: 11.86 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.00656/0.2915, allocations: 3.051 MB / 0.614 GB, free: 8.805 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01918/0.3107, allocations: 9.581 MB / 0.6234 GB, free: 15.19 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.3107, allocations: 0 / 0.6234 GB, free: 15.19 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3107, allocations: 0 / 0.6234 GB, free: 15.19 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0005535/0.3113, allocations: 0 / 0.6234 GB, free: 15.19 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.02766/0.3389, allocations: 11.55 MB / 0.6347 GB, free: 3.535 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 7.672e-05/0.339, allocations: 12.03 kB / 0.6347 GB, free: 3.523 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007837/0.3469, allocations: 1.506 MB / 0.6361 GB, free: 2.012 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/0.3646, allocations: 6.492 MB / 0.6425 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/0.3651, allocations: 352.9 kB / 0.6428 GB, free: 11.08 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.3667, allocations: 479.9 kB / 0.6433 GB, free: 10.61 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2976/0.6643, allocations: 12.07 MB / 0.6551 GB, free: 80.56 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.6644, allocations: 52.19 kB / 0.6551 GB, free: 80.56 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00058/0.665, allocations: 232 kB / 0.6553 GB, free: 80.56 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003427/0.6653, allocations: 420.7 kB / 0.6557 GB, free: 80.55 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.676, allocations: 5.42 MB / 0.661 GB, free: 80.5 MB / 0.5574 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.02906/0.7051, allocations: 57.67 MB / 0.7174 GB, free: 36.88 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009423/0.7145, allocations: 5.575 MB / 0.7228 GB, free: 35.89 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.717, allocations: 1.525 MB / 0.7243 GB, free: 35.55 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006879/0.7177, allocations: 292.3 kB / 0.7246 GB, free: 35.54 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01093/0.7286, allocations: 4.666 MB / 0.7291 GB, free: 34.86 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00236/0.7309, allocations: 0.7019 MB / 0.7298 GB, free: 34.65 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 2.517e-05/0.731, allocations: 2.656 kB / 0.7298 GB, free: 34.65 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.05363/0.7846, allocations: 47.64 MB / 0.7763 GB, free: 5.789 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/0.7848, allocations: 1.812 MB / 0.7781 GB, free: 3.613 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00521/0.79, allocations: 5.677 MB / 0.7836 GB, free: 0.6367 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.7905, allocations: 102.6 kB / 0.7837 GB, free: 0.5547 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.004186/0.7947, allocations: 3.706 MB / 0.7874 GB, free: 14.67 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002676/0.7974, allocations: 3.018 MB / 0.7903 GB, free: 12.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/0.8, allocations: 2.007 MB / 0.7923 GB, free: 10.94 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8001, allocations: 476.8 kB / 0.7927 GB, free: 10.47 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003741/0.8039, allocations: 1.751 MB / 0.7944 GB, free: 8.953 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006689/0.8106, allocations: 6.71 MB / 0.801 GB, free: 356 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/0.8246, allocations: 9.594 MB / 0.8104 GB, free: 5.59 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.096e-05/0.8247, allocations: 24 kB / 0.8104 GB, free: 5.566 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.0154/0.8401, allocations: 8.076 MB / 0.8183 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.8401, allocations: 40 kB / 0.8183 GB, free: 14 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009973/0.8501, allocations: 4.968 MB / 0.8232 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02606/0.8762, allocations: 4.128 MB / 0.8272 GB, free: 5.086 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005799/0.882, allocations: 2.48 MB / 0.8296 GB, free: 2.758 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007811/0.8898, allocations: 14 MB / 0.8433 GB, free: 4.113 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/0.8942, allocations: 390.4 kB / 0.8437 GB, free: 3.734 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007747/0.895, allocations: 0.5816 MB / 0.8442 GB, free: 3.152 MB / 0.6199 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.004729/0.8997, allocations: 1.955 MB / 0.8461 GB, free: 1.195 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005141/0.9048, allocations: 6.691 MB / 0.8527 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01139/0.9162, allocations: 9.553 MB / 0.862 GB, free: 13.9 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.157e-05/0.9163, allocations: 24 kB / 0.862 GB, free: 13.88 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01207/0.9283, allocations: 8.037 MB / 0.8699 GB, free: 6.375 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.9284, allocations: 36 kB / 0.8699 GB, free: 6.34 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007472/0.9359, allocations: 4.927 MB / 0.8747 GB, free: 1.406 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02226/0.9581, allocations: 4.02 MB / 0.8786 GB, free: 13.58 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007707/0.9658, allocations: 2.454 MB / 0.881 GB, free: 11.27 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2679/1.234, allocations: 13.04 MB / 0.8938 GB, free: 170.1 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/1.239, allocations: 394.3 kB / 0.8941 GB, free: 170.1 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007721/1.239, allocations: 0.5811 MB / 0.8947 GB, free: 170.1 MB / 0.6668 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.00194/1.241, allocations: 0.83 MB / 0.8955 GB, free: 169.8 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/1.243, allocations: 0.9138 MB / 0.8964 GB, free: 169.8 MB / 0.6668 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.253, allocations: 9.492 MB / 0.9057 GB, free: 169.3 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.0555180362425745]