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.01262/0.01262, allocations: 1.447 MB / 20.8 MB, free: 3.617 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.008947/0.008947, allocations: 78.31 kB / 24.44 MB, free: 7.543 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.001806/0.001806, allocations: 160.8 kB / 28.2 MB, free: 4.66 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.497/1.497, allocations: 177.1 MB / 209 MB, free: 2.809 MB / 186.7 MB " [Timeout remaining time 178] 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 1.094/1.094, allocations: 102.5 MB / 368.3 MB, free: 1.32 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 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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.681e-06, allocations: 4 kB / 468.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.662e-05, allocations: 2.312 kB / 468.3 MB, free: 13.51 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.4683/0.4684, allocations: 72.02 MB / 0.5277 GB, free: 70.29 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04061/0.509, allocations: 25.01 MB / 0.5521 GB, free: 54 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01008/0.5191, allocations: 163.2 kB / 0.5523 GB, free: 53.93 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.5302, allocations: 3.136 MB / 0.5553 GB, free: 52.46 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02058/0.5508, allocations: 5.057 MB / 0.5603 GB, free: 49.42 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01486/0.5656, allocations: 4.964 MB / 0.5651 GB, free: 46.75 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02503/0.5906, allocations: 14.25 MB / 0.579 GB, free: 38.69 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.6014, allocations: 4.64 MB / 0.5836 GB, free: 35.19 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0212/0.6226, allocations: 7.729 MB / 0.5911 GB, free: 28.55 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.6335, allocations: 5.16 MB / 0.5962 GB, free: 23.39 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004176/0.6377, allocations: 0.9531 MB / 0.5971 GB, free: 22.43 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09609/0.7338, allocations: 18.27 MB / 0.6149 GB, free: 6.141 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005426/0.7392, allocations: 3.094 MB / 0.6179 GB, free: 3.039 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009388/0.7486, allocations: 3.082 MB / 0.621 GB, free: 15.95 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03297/0.7815, allocations: 14.98 MB / 0.6356 GB, free: 0.9258 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7815, allocations: 3.938 kB / 0.6356 GB, free: 0.9219 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7815, allocations: 6.625 kB / 0.6356 GB, free: 0.918 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005315/0.7821, allocations: 0 / 0.6356 GB, free: 0.918 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.03192/0.814, allocations: 10.87 MB / 0.6462 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.814, allocations: 8.031 kB / 0.6462 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/0.8216, allocations: 1.505 MB / 0.6477 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02032/0.842, allocations: 7.261 MB / 0.6548 GB, free: 13.16 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000848/0.8428, allocations: 352.8 kB / 0.6551 GB, free: 12.81 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003088/0.8459, allocations: 479.9 kB / 0.6556 GB, free: 12.34 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03771/0.8836, allocations: 14.3 MB / 0.6695 GB, free: 12.24 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002645/0.8839, allocations: 51.5 kB / 0.6696 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001974/0.8858, allocations: 233.4 kB / 0.6698 GB, free: 11.97 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00073/0.8866, allocations: 422.9 kB / 0.6702 GB, free: 11.55 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0312/0.9178, allocations: 9.998 MB / 0.68 GB, free: 1.566 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.08184/0.9996, allocations: 45.81 MB / 0.7247 GB, free: 2.438 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02569/1.025, allocations: 8.19 MB / 0.7327 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008539/1.034, allocations: 3.084 MB / 0.7357 GB, free: 6.918 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.035, allocations: 297.1 kB / 0.736 GB, free: 6.629 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2925/1.328, allocations: 6.585 MB / 0.7424 GB, free: 190.7 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005021/1.333, allocations: 0.7339 MB / 0.7432 GB, free: 190.7 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=865): time 2.742e-05/1.333, allocations: 0 / 0.7432 GB, free: 190.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=866): time 0.1281/1.461, allocations: 57.31 MB / 0.7991 GB, free: 157.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004609/1.461, allocations: 1.816 MB / 0.8009 GB, free: 155.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/1.473, allocations: 6.328 MB / 0.8071 GB, free: 153.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001973/1.475, allocations: 97.64 kB / 0.8072 GB, free: 153.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003042/1.478, allocations: 3.278 MB / 0.8104 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004972/1.483, allocations: 2.944 MB / 0.8133 GB, free: 148.4 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004245/1.487, allocations: 1.902 MB / 0.8151 GB, free: 146.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/1.487, allocations: 305.1 kB / 0.8154 GB, free: 146.6 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007559/1.495, allocations: 4.184 MB / 0.8195 GB, free: 143 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/1.506, allocations: 7.959 MB / 0.8273 GB, free: 134.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3272/1.833, allocations: 51.7 MB / 0.8777 GB, free: 83.75 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/1.833, allocations: 25.2 kB / 0.8778 GB, free: 83.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03026/1.863, allocations: 12.95 MB / 0.8904 GB, free: 70.73 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/1.863, allocations: 43.94 kB / 0.8905 GB, free: 70.68 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01969/1.883, allocations: 9.502 MB / 0.8997 GB, free: 61.13 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05092/1.934, allocations: 4.386 MB / 0.904 GB, free: 56.75 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/1.944, allocations: 2.577 MB / 0.9065 GB, free: 54.18 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.955, allocations: 12.2 MB / 0.9185 GB, free: 41.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007823/1.963, allocations: 443.6 kB / 0.9189 GB, free: 40.93 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/1.965, allocations: 0.5855 MB / 0.9195 GB, free: 40.34 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.01347/1.979, allocations: 5.868 MB / 0.9252 GB, free: 34.47 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01057/1.989, allocations: 7.926 MB / 0.9329 GB, free: 25.07 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6008/2.59, allocations: 51.44 MB / 0.9832 GB, free: 188.6 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001281/2.59, allocations: 22.97 kB / 0.9832 GB, free: 188.6 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03802/2.628, allocations: 12.88 MB / 0.9958 GB, free: 183.9 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/2.629, allocations: 44.7 kB / 0.9958 GB, free: 183.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02469/2.653, allocations: 9.409 MB / 1.005 GB, free: 180.3 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04816/2.701, allocations: 4.281 MB / 1.009 GB, free: 180.1 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/2.712, allocations: 2.564 MB / 1.012 GB, free: 179.9 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/2.723, allocations: 12.18 MB / 1.024 GB, free: 168.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008637/2.732, allocations: 448.8 kB / 1.024 GB, free: 167.8 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/2.735, allocations: 0.5822 MB / 1.025 GB, free: 167.2 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.004287/2.739, allocations: 0.7387 MB / 1.025 GB, free: 166.6 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005161/2.744, allocations: 0.9211 MB / 1.026 GB, free: 166.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 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.02247/2.766, allocations: 11.18 MB / 1.037 GB, free: 155.7 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.445950567023829]