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.01405/0.01405, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0009375/0.0009375, allocations: 89.12 kB / 25.62 MB, free: 6.527 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.001002/0.001002, allocations: 163.8 kB / 29.46 MB, free: 3.035 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.8964/0.8964, allocations: 177.1 MB / 210.3 MB, free: 1.758 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.7115/0.7115, allocations: 102.5 MB / 369.8 MB, free: 0.9492 MB / 330.8 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.924e-06/1.924e-06, allocations: 0 / 469.9 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.644e-05, allocations: 7.516 kB / 469.9 MB, free: 12.98 MB / 442.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.3172/0.3172, allocations: 77.76 MB / 0.5348 GB, free: 67.6 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02797/0.3452, allocations: 25.88 MB / 0.5601 GB, free: 49.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.3489, allocations: 162 kB / 0.5603 GB, free: 49.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004737/0.3536, allocations: 3.151 MB / 0.5633 GB, free: 48.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007407/0.361, allocations: 5.054 MB / 0.5683 GB, free: 45.39 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006862/0.3679, allocations: 4.975 MB / 0.5731 GB, free: 42.38 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.3786, allocations: 14.24 MB / 0.587 GB, free: 33.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/0.3824, allocations: 4.647 MB / 0.5916 GB, free: 29.83 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006044/0.3884, allocations: 7.693 MB / 0.5991 GB, free: 22.12 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/0.3924, allocations: 5.107 MB / 0.6041 GB, free: 17.01 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.3936, allocations: 0.9375 MB / 0.605 GB, free: 16.07 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.3973, allocations: 2.819 MB / 0.6077 GB, free: 13.25 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.3986, allocations: 3.08 MB / 0.6108 GB, free: 10.16 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.4008, allocations: 3.059 MB / 0.6137 GB, free: 7.094 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007526/0.4083, allocations: 9.571 MB / 0.6231 GB, free: 13.49 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4083, allocations: 0 / 0.6231 GB, free: 13.49 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4083, allocations: 3.938 kB / 0.6231 GB, free: 13.49 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002214/0.4085, allocations: 3.938 kB / 0.6231 GB, free: 13.48 MB / 0.4949 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.01123/0.4198, allocations: 11.55 MB / 0.6344 GB, free: 1.871 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4198, allocations: 10.69 kB / 0.6344 GB, free: 1.863 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.4219, allocations: 1.502 MB / 0.6358 GB, free: 368 kB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006413/0.4283, allocations: 6.474 MB / 0.6422 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.4285, allocations: 351.5 kB / 0.6425 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005077/0.429, allocations: 480.6 kB / 0.643 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.4423, allocations: 12.07 MB / 0.6548 GB, free: 10.67 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.908e-05/0.4424, allocations: 56.44 kB / 0.6548 GB, free: 10.62 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/0.4428, allocations: 228 kB / 0.655 GB, free: 10.39 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003067/0.4431, allocations: 422.9 kB / 0.6554 GB, free: 9.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.4538, allocations: 5.423 MB / 0.6607 GB, free: 4.578 MB / 0.5262 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.03551/0.4894, allocations: 57.67 MB / 0.717 GB, free: 9.184 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.5, allocations: 5.588 MB / 0.7225 GB, free: 3.336 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.5024, allocations: 1.526 MB / 0.724 GB, free: 1.699 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/0.503, allocations: 297 kB / 0.7243 GB, free: 1.41 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008448/0.5114, allocations: 4.657 MB / 0.7288 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001997/0.5134, allocations: 0.7109 MB / 0.7295 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=865): time 9.448e-06/0.5135, allocations: 0 / 0.7295 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=866): time 0.2719/0.7854, allocations: 47.63 MB / 0.776 GB, free: 167.5 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000295/0.7856, allocations: 1.806 MB / 0.7778 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/0.7916, allocations: 5.683 MB / 0.7833 GB, free: 164.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0007948/0.7924, allocations: 108.8 kB / 0.7834 GB, free: 164.6 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.7941, allocations: 3.488 MB / 0.7869 GB, free: 162.5 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/0.7959, allocations: 3.014 MB / 0.7898 GB, free: 160.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002094/0.798, allocations: 2.012 MB / 0.7918 GB, free: 159.7 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.798, allocations: 476.8 kB / 0.7922 GB, free: 159.3 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003099/0.8011, allocations: 1.757 MB / 0.7939 GB, free: 159 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/0.8053, allocations: 6.7 MB / 0.8005 GB, free: 152.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.8156, allocations: 9.595 MB / 0.8098 GB, free: 146.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.083e-05/0.8156, allocations: 21.77 kB / 0.8099 GB, free: 146.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01232/0.8279, allocations: 8.082 MB / 0.8178 GB, free: 142.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.828, allocations: 41.45 kB / 0.8178 GB, free: 142.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007471/0.8354, allocations: 4.974 MB / 0.8227 GB, free: 138.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02466/0.8601, allocations: 4.119 MB / 0.8267 GB, free: 135.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005628/0.8657, allocations: 2.478 MB / 0.8291 GB, free: 133.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005114/0.8708, allocations: 14 MB / 0.8428 GB, free: 119.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004988/0.8758, allocations: 394.8 kB / 0.8431 GB, free: 118.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/0.8765, allocations: 0.5876 MB / 0.8437 GB, free: 118.3 MB / 0.6043 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.004826/0.8813, allocations: 1.958 MB / 0.8456 GB, free: 116.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003987/0.8853, allocations: 6.691 MB / 0.8522 GB, free: 108.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00937/0.8947, allocations: 9.54 MB / 0.8615 GB, free: 97.91 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.901e-05/0.8947, allocations: 24 kB / 0.8615 GB, free: 97.89 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01122/0.9059, allocations: 8.033 MB / 0.8693 GB, free: 89.95 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.9059, allocations: 43.47 kB / 0.8694 GB, free: 89.91 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006817/0.9128, allocations: 4.921 MB / 0.8742 GB, free: 84.94 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02381/0.9366, allocations: 4.011 MB / 0.8781 GB, free: 81.1 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005302/0.9419, allocations: 2.459 MB / 0.8805 GB, free: 78.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.9465, allocations: 13.04 MB / 0.8932 GB, free: 64.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/0.9507, allocations: 389.6 kB / 0.8936 GB, free: 64.52 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/0.9513, allocations: 0.5848 MB / 0.8942 GB, free: 63.94 MB / 0.6043 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.00178/0.9531, allocations: 0.8299 MB / 0.895 GB, free: 63.16 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/0.9546, allocations: 0.9203 MB / 0.8959 GB, free: 62.23 MB / 0.6043 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.00918/0.9638, allocations: 9.502 MB / 0.9052 GB, free: 53.41 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.634061079006642]