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.01733/0.01733, allocations: 1.802 MB / 21.16 MB, free: 3.094 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.001695/0.001695, allocations: 79.77 kB / 24.88 MB, free: 6.387 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.001872/0.001872, allocations: 165.2 kB / 28.74 MB, free: 3.383 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.525/1.525, allocations: 177.2 MB / 209.6 MB, free: 2.375 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.171/1.171, allocations: 102.5 MB / 369.1 MB, free: 0.8945 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.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 2.285e-06/2.285e-06, allocations: 0 / 469.2 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.663e-05, allocations: 2.312 kB / 469.2 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.4702/0.4702, allocations: 75.48 MB / 0.5319 GB, free: 68.12 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04249/0.5127, allocations: 25.79 MB / 0.5571 GB, free: 50.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009546/0.5222, allocations: 164.4 kB / 0.5572 GB, free: 50.84 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.5331, allocations: 3.147 MB / 0.5603 GB, free: 49.36 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01808/0.5512, allocations: 5.057 MB / 0.5652 GB, free: 46.32 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01524/0.5664, allocations: 4.972 MB / 0.5701 GB, free: 43.64 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02434/0.5908, allocations: 14.24 MB / 0.584 GB, free: 35.33 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.6009, allocations: 4.648 MB / 0.5885 GB, free: 31.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01908/0.62, allocations: 7.685 MB / 0.596 GB, free: 24.11 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.6302, allocations: 5.117 MB / 0.601 GB, free: 18.98 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003963/0.6342, allocations: 0.9413 MB / 0.6019 GB, free: 18.04 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.6453, allocations: 2.818 MB / 0.6047 GB, free: 15.22 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005258/0.6506, allocations: 3.08 MB / 0.6077 GB, free: 12.13 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01033/0.6609, allocations: 3.055 MB / 0.6107 GB, free: 9.07 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02767/0.6886, allocations: 14.91 MB / 0.6252 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.6886, allocations: 0 / 0.6252 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6886, allocations: 0 / 0.6252 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005683/0.6891, allocations: 0 / 0.6252 GB, free: 10.12 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.03639/0.7255, allocations: 13.33 MB / 0.6383 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.7256, allocations: 12.03 kB / 0.6383 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005756/0.7313, allocations: 1.501 MB / 0.6397 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01978/0.7511, allocations: 6.576 MB / 0.6462 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006936/0.7518, allocations: 348.9 kB / 0.6465 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/0.7548, allocations: 486.6 kB / 0.647 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03883/0.7937, allocations: 14.76 MB / 0.6614 GB, free: 2.738 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000285/0.794, allocations: 51.5 kB / 0.6614 GB, free: 2.688 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002027/0.796, allocations: 228 kB / 0.6616 GB, free: 2.465 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007446/0.7967, allocations: 426.9 kB / 0.662 GB, free: 2.047 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03011/0.8268, allocations: 8.32 MB / 0.6702 GB, free: 9.73 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.09656/0.9234, allocations: 68.76 MB / 0.7373 GB, free: 2.598 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3641/1.288, allocations: 7.425 MB / 0.7446 GB, free: 185 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007096/1.295, allocations: 2.462 MB / 0.747 GB, free: 184.6 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/1.296, allocations: 294.5 kB / 0.7473 GB, free: 184.6 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02036/1.317, allocations: 6.752 MB / 0.7539 GB, free: 184 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005349/1.322, allocations: 0.7015 MB / 0.7545 GB, free: 184 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=865): time 5.141e-05/1.322, allocations: 2.344 kB / 0.7545 GB, free: 184 MB / 0.6043 GB Notification: Performance of matching and sorting (n=866): time 0.121/1.443, allocations: 54.56 MB / 0.8078 GB, free: 148.5 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000461/1.444, allocations: 1.812 MB / 0.8096 GB, free: 146.3 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01364/1.457, allocations: 7.838 MB / 0.8173 GB, free: 139.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002689/1.46, allocations: 105.7 kB / 0.8174 GB, free: 139.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/1.464, allocations: 3.865 MB / 0.8211 GB, free: 136.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005446/1.469, allocations: 3.271 MB / 0.8243 GB, free: 133.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003691/1.473, allocations: 2.37 MB / 0.8266 GB, free: 131.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/1.473, allocations: 477.7 kB / 0.8271 GB, free: 130.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005519/1.479, allocations: 3.524 MB / 0.8305 GB, free: 127.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008043/1.487, allocations: 8.859 MB / 0.8392 GB, free: 117.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01949/1.506, allocations: 15.28 MB / 0.8541 GB, free: 100.6 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.668e-05/1.506, allocations: 24 kB / 0.8541 GB, free: 100.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02146/1.528, allocations: 11.69 MB / 0.8655 GB, free: 88.92 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/1.528, allocations: 40 kB / 0.8656 GB, free: 88.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01372/1.541, allocations: 8.081 MB / 0.8735 GB, free: 80.76 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04748/1.589, allocations: 4.232 MB / 0.8776 GB, free: 76.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009795/1.599, allocations: 2.474 MB / 0.88 GB, free: 74.23 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009885/1.609, allocations: 14.96 MB / 0.8946 GB, free: 58.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008443/1.617, allocations: 390.4 kB / 0.895 GB, free: 58.17 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002039/1.619, allocations: 0.5816 MB / 0.8956 GB, free: 57.59 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.009968/1.629, allocations: 4.63 MB / 0.9001 GB, free: 52.96 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008132/1.637, allocations: 8.814 MB / 0.9087 GB, free: 42.21 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01997/1.657, allocations: 15.18 MB / 0.9235 GB, free: 25.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.836e-05/1.657, allocations: 24 kB / 0.9235 GB, free: 25.52 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.0285/1.686, allocations: 11.62 MB / 0.9349 GB, free: 13.91 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/1.686, allocations: 40 kB / 0.9349 GB, free: 13.87 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02412/1.71, allocations: 7.987 MB / 0.9427 GB, free: 5.844 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04721/1.757, allocations: 4.104 MB / 0.9467 GB, free: 1.902 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009946/1.767, allocations: 2.454 MB / 0.9491 GB, free: 15.45 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/1.784, allocations: 13.98 MB / 0.9628 GB, free: 0.7734 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008749/1.792, allocations: 396.5 kB / 0.9632 GB, free: 396 kB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/1.795, allocations: 0.5738 MB / 0.9637 GB, free: 15.81 MB / 0.6355 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.005005/1.8, allocations: 0.8316 MB / 0.9645 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005924/1.806, allocations: 0.9164 MB / 0.9654 GB, free: 14.06 MB / 0.6355 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.3456/2.152, allocations: 10.84 MB / 0.976 GB, free: 196.9 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.939096719957888]