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.008941/0.008941, allocations: 1.439 MB / 21.29 MB, free: 3.258 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.001171/0.001171, allocations: 89.81 kB / 24.91 MB, free: 7.266 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.001583/0.001583, allocations: 163 kB / 28.62 MB, free: 4.453 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.9044/0.9044, allocations: 177.1 MB / 209.4 MB, free: 2.977 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.7593/0.7593, allocations: 102.4 MB / 368.7 MB, free: 1.426 MB / 330.8 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 0.5.2 (/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.1.|hex.wall.U.2.|hex.wall.U.3.",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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 1.875 kB / 0.5374 GB, free: 39.77 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.212e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.77 MB / 490.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.1191/0.1191, allocations: 71.81 MB / 0.6075 GB, free: 4.117 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03263/0.1517, allocations: 24.98 MB / 0.6319 GB, free: 11.05 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005777/0.1575, allocations: 162.8 kB / 0.6321 GB, free: 10.89 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.006133/0.1636, allocations: 3.147 MB / 0.6352 GB, free: 7.73 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.1766, allocations: 5.056 MB / 0.6401 GB, free: 2.645 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009624/0.1863, allocations: 4.997 MB / 0.645 GB, free: 13.64 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01651/0.2028, allocations: 14.24 MB / 0.6589 GB, free: 15.35 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008078/0.2109, allocations: 4.423 MB / 0.6632 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01264/0.2235, allocations: 7.69 MB / 0.6707 GB, free: 3.148 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007667/0.2312, allocations: 5.097 MB / 0.6757 GB, free: 14.04 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.003386/0.2345, allocations: 0.9414 MB / 0.6766 GB, free: 13.09 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009047/0.2436, allocations: 2.811 MB / 0.6794 GB, free: 10.28 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.00374/0.2473, allocations: 3.068 MB / 0.6824 GB, free: 7.199 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.006269/0.2536, allocations: 3.051 MB / 0.6853 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01724/0.2708, allocations: 14.85 MB / 0.6998 GB, free: 5.246 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2709, allocations: 0 / 0.6998 GB, free: 5.246 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2709, allocations: 0 / 0.6998 GB, free: 5.246 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002927/0.2711, allocations: 0 / 0.6998 GB, free: 5.246 MB / 0.5887 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.01568/0.2868, allocations: 10.87 MB / 0.7105 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2869, allocations: 8.031 kB / 0.7105 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.2891, allocations: 1.15 MB / 0.7116 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008925/0.298, allocations: 6.953 MB / 0.7184 GB, free: 2.086 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.2982, allocations: 348.9 kB / 0.7187 GB, free: 1.742 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005164/0.2987, allocations: 439.9 kB / 0.7191 GB, free: 1.312 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/0.3146, allocations: 14.22 MB / 0.733 GB, free: 1.285 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-05/0.3147, allocations: 55.48 kB / 0.7331 GB, free: 1.23 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004192/0.3152, allocations: 232 kB / 0.7333 GB, free: 1.004 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/0.3154, allocations: 426.9 kB / 0.7337 GB, free: 0.5859 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.3297, allocations: 9.887 MB / 0.7433 GB, free: 6.684 MB / 0.6355 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.3088/0.6385, allocations: 45.4 MB / 0.7877 GB, free: 142.4 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.6508, allocations: 8.116 MB / 0.7956 GB, free: 140 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004015/0.6549, allocations: 3.055 MB / 0.7986 GB, free: 138.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.6554, allocations: 274.8 kB / 0.7989 GB, free: 138.6 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009333/0.6648, allocations: 6.543 MB / 0.8052 GB, free: 135.3 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002498/0.6673, allocations: 0.7022 MB / 0.8059 GB, free: 135.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=865): time 1.27e-05/0.6673, allocations: 0.7656 kB / 0.8059 GB, free: 135.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=866): time 0.05645/0.7237, allocations: 56.47 MB / 0.8611 GB, free: 93.29 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/0.724, allocations: 1.812 MB / 0.8628 GB, free: 91.06 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00559/0.7295, allocations: 6.322 MB / 0.869 GB, free: 84.87 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007566/0.7303, allocations: 105.7 kB / 0.8691 GB, free: 84.76 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.7317, allocations: 3.271 MB / 0.8723 GB, free: 81.79 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001584/0.7333, allocations: 2.939 MB / 0.8752 GB, free: 79.27 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/0.735, allocations: 1.898 MB / 0.877 GB, free: 77.36 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.936e-05/0.735, allocations: 307.2 kB / 0.8773 GB, free: 77.06 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/0.7392, allocations: 4.151 MB / 0.8814 GB, free: 72.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/0.7442, allocations: 7.924 MB / 0.8891 GB, free: 63.54 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1578/0.902, allocations: 51.45 MB / 0.9394 GB, free: 11.95 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.046e-05/0.902, allocations: 20 kB / 0.9394 GB, free: 11.93 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01646/0.9185, allocations: 12.6 MB / 0.9517 GB, free: 15.28 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.9186, allocations: 40 kB / 0.9517 GB, free: 15.24 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01222/0.9308, allocations: 9.425 MB / 0.9609 GB, free: 5.77 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0243/0.9551, allocations: 4.169 MB / 0.965 GB, free: 1.621 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007391/0.9625, allocations: 2.538 MB / 0.9675 GB, free: 15.08 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008962/0.9714, allocations: 12.1 MB / 0.9793 GB, free: 2.363 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/0.9775, allocations: 447.8 kB / 0.9797 GB, free: 1.934 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008055/0.9783, allocations: 0.5816 MB / 0.9803 GB, free: 1.352 MB / 0.6824 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.008485/0.9868, allocations: 5.83 MB / 0.986 GB, free: 11.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00652/0.9933, allocations: 7.894 MB / 0.9937 GB, free: 2.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4352/1.428, allocations: 51.34 MB / 1.044 GB, free: 252.4 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.733e-05/1.429, allocations: 27.75 kB / 1.044 GB, free: 252.4 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01809/1.447, allocations: 12.49 MB / 1.056 GB, free: 249.6 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/1.447, allocations: 44.5 kB / 1.056 GB, free: 249.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01166/1.458, allocations: 9.314 MB / 1.065 GB, free: 246.2 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02351/1.482, allocations: 4.046 MB / 1.069 GB, free: 246 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006952/1.489, allocations: 2.512 MB / 1.072 GB, free: 245.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/1.496, allocations: 11.43 MB / 1.083 GB, free: 236.1 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005475/1.501, allocations: 454.8 kB / 1.083 GB, free: 235.8 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006881/1.502, allocations: 0.5765 MB / 1.084 GB, free: 235.7 MB / 0.7449 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.00221/1.504, allocations: 0.753 MB / 1.085 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.506, allocations: 0.7948 MB / 1.085 GB, free: 235.1 MB / 0.7449 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.01154/1.517, allocations: 11.15 MB / 1.096 GB, free: 229.3 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.399111938662827] Failed to read output from testmodel.py, exit status != 0: 1.6679073367267847 1.678694508 1.405900394 Calling exit ...