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.01477/0.01477, allocations: 1.791 MB / 21.89 MB, free: 2.633 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.001027/0.001027, allocations: 84.52 kB / 25.62 MB, free: 6.922 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.001295/0.001295, allocations: 172.8 kB / 29.46 MB, free: 3.141 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 1.081/1.081, allocations: 177.2 MB / 210.3 MB, free: 3.598 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.6593/0.6593, allocations: 102.4 MB / 369.8 MB, free: 320 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 2.305e-06/2.305e-06, allocations: 0 / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.669e-05, allocations: 6.312 kB / 469.9 MB, free: 18.97 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.1448/0.1448, allocations: 77.76 MB / 0.5348 GB, free: 10.44 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03908/0.1839, allocations: 25.9 MB / 0.5601 GB, free: 480 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006952/0.1908, allocations: 162.9 kB / 0.5603 GB, free: 316 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007977/0.1988, allocations: 3.139 MB / 0.5633 GB, free: 13.16 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.2119, allocations: 5.072 MB / 0.5683 GB, free: 8.055 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.2225, allocations: 4.97 MB / 0.5731 GB, free: 3.074 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01747/0.24, allocations: 14.24 MB / 0.587 GB, free: 4.793 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008445/0.2484, allocations: 4.637 MB / 0.5916 GB, free: 96 kB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01844/0.2669, allocations: 7.698 MB / 0.5991 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008869/0.2757, allocations: 5.109 MB / 0.6041 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003039/0.2788, allocations: 0.9375 MB / 0.605 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007319/0.2861, allocations: 2.819 MB / 0.6077 GB, free: 15.5 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.004494/0.2906, allocations: 3.084 MB / 0.6107 GB, free: 12.4 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.006766/0.2973, allocations: 3.055 MB / 0.6137 GB, free: 9.34 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.3144, allocations: 9.573 MB / 0.6231 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3144, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3144, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004084/0.3148, allocations: 0 / 0.6231 GB, free: 15.73 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.01938/0.3342, allocations: 11.55 MB / 0.6344 GB, free: 4.078 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3343, allocations: 12.03 kB / 0.6344 GB, free: 4.066 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.3376, allocations: 1.506 MB / 0.6358 GB, free: 2.555 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.3495, allocations: 6.48 MB / 0.6422 GB, free: 11.98 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/0.3499, allocations: 344.9 kB / 0.6425 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.3514, allocations: 483.9 kB / 0.643 GB, free: 11.17 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2404/0.5918, allocations: 12.07 MB / 0.6547 GB, free: 144.3 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/0.592, allocations: 47.41 kB / 0.6548 GB, free: 144.3 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009997/0.593, allocations: 225.8 kB / 0.655 GB, free: 144.3 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003826/0.5934, allocations: 430.8 kB / 0.6554 GB, free: 144.3 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.6077, allocations: 5.417 MB / 0.6607 GB, free: 144 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.04115/0.6489, allocations: 57.67 MB / 0.717 GB, free: 94.13 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.6611, allocations: 5.572 MB / 0.7225 GB, free: 91.45 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003544/0.6647, allocations: 1.535 MB / 0.724 GB, free: 90.7 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/0.6655, allocations: 289 kB / 0.7242 GB, free: 90.61 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01222/0.6777, allocations: 4.655 MB / 0.7288 GB, free: 88.15 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003688/0.6814, allocations: 0.7073 MB / 0.7295 GB, free: 87.82 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=865): time 2.853e-05/0.6814, allocations: 0 / 0.7295 GB, free: 87.82 MB / 0.5574 GB Notification: Performance of matching and sorting (n=866): time 0.07972/0.7612, allocations: 47.67 MB / 0.776 GB, free: 50.73 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002723/0.7614, allocations: 1.813 MB / 0.7778 GB, free: 48.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007353/0.7688, allocations: 5.677 MB / 0.7833 GB, free: 42.94 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001378/0.7702, allocations: 97.7 kB / 0.7834 GB, free: 42.84 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.7724, allocations: 3.495 MB / 0.7868 GB, free: 39.56 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003165/0.7755, allocations: 3.012 MB / 0.7898 GB, free: 36.59 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003258/0.7788, allocations: 2.01 MB / 0.7918 GB, free: 34.57 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.7788, allocations: 480.7 kB / 0.7922 GB, free: 34.1 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/0.7822, allocations: 1.75 MB / 0.7939 GB, free: 32.33 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005119/0.7873, allocations: 6.701 MB / 0.8005 GB, free: 23.69 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/0.7999, allocations: 9.595 MB / 0.8098 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.369e-05/0.8, allocations: 23.94 kB / 0.8099 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.0169/0.8169, allocations: 8.067 MB / 0.8177 GB, free: 4.508 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.817, allocations: 40 kB / 0.8178 GB, free: 4.469 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01022/0.8272, allocations: 4.971 MB / 0.8226 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0281/0.8553, allocations: 4.129 MB / 0.8267 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008522/0.8638, allocations: 2.487 MB / 0.8291 GB, free: 9.016 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.874, allocations: 13.99 MB / 0.8427 GB, free: 10.29 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00613/0.8801, allocations: 386.6 kB / 0.8431 GB, free: 9.918 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/0.882, allocations: 0.5843 MB / 0.8437 GB, free: 9.336 MB / 0.5887 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.00706/0.889, allocations: 1.955 MB / 0.8456 GB, free: 7.379 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008479/0.8975, allocations: 6.691 MB / 0.8521 GB, free: 14.75 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0175/0.915, allocations: 9.56 MB / 0.8615 GB, free: 3.68 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.544e-05/0.9151, allocations: 20 kB / 0.8615 GB, free: 3.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02091/0.936, allocations: 8.035 MB / 0.8693 GB, free: 11.63 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.9361, allocations: 47.89 kB / 0.8694 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01188/0.948, allocations: 4.917 MB / 0.8742 GB, free: 6.625 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02534/0.9733, allocations: 4.02 MB / 0.8781 GB, free: 2.773 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006503/0.9798, allocations: 2.457 MB / 0.8805 GB, free: 328 kB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2495/1.229, allocations: 13.03 MB / 0.8932 GB, free: 175.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006366/1.236, allocations: 388.2 kB / 0.8936 GB, free: 175.3 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00193/1.238, allocations: 0.5845 MB / 0.8942 GB, free: 175.3 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: 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.003518/1.241, allocations: 0.8345 MB / 0.895 GB, free: 175.1 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003227/1.244, allocations: 0.9226 MB / 0.8959 GB, free: 175.1 MB / 0.6199 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.02249/1.267, allocations: 9.484 MB / 0.9052 GB, free: 174.2 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.256922672968358]