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.01219/0.01219, allocations: 1.754 MB / 20.61 MB, free: 1.004 MB / 14.72 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.001553/0.001553, allocations: 99.64 kB / 24.18 MB, free: 2.438 MB / 14.72 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.001832/0.001832, allocations: 209.1 kB / 27.9 MB, free: 3.742 MB / 19.63 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.447/1.447, allocations: 230.6 MB / 262.1 MB, free: 5.824 MB / 206.1 MB " [Timeout remaining time 178] 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 1.046/1.046, allocations: 130.7 MB / 449.6 MB, free: 6.367 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06765/0.06765, allocations: 20.98 MB / 0.6363 GB, free: 4.191 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.2526, allocations: 81.9 MB / 0.7163 GB, free: 2.203 MB / 0.5294 GB 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.4763/0.7288, allocations: 58.18 MB / 0.7731 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04384/0.7727, allocations: 25.25 MB / 0.7978 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009524/0.7822, allocations: 161.1 kB / 0.798 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.7939, allocations: 3.117 MB / 0.801 GB, free: 8.137 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02134/0.8153, allocations: 4.931 MB / 0.8058 GB, free: 4.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01462/0.8299, allocations: 4.924 MB / 0.8106 GB, free: 496 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02363/0.8535, allocations: 13.89 MB / 0.8242 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009539/0.8631, allocations: 4.393 MB / 0.8285 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.8764, allocations: 5.68 MB / 0.834 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/0.8886, allocations: 5.701 MB / 0.8396 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004252/0.8929, allocations: 0.9375 MB / 0.8405 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.9038, allocations: 2.78 MB / 0.8432 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006115/0.9099, allocations: 2.986 MB / 0.8461 GB, free: 13.19 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.9212, allocations: 3.722 MB / 0.8498 GB, free: 9.449 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03097/0.9522, allocations: 14.8 MB / 0.8642 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.9522, allocations: 4 kB / 0.8642 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9522, allocations: 0 / 0.8642 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005765/0.9527, allocations: 6.656 kB / 0.8642 GB, free: 10.59 MB / 0.6388 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.03399/0.9867, allocations: 10.95 MB / 0.8749 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9868, allocations: 12.03 kB / 0.8749 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005537/0.9923, allocations: 1.153 MB / 0.8761 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/1.01, allocations: 6.951 MB / 0.8829 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/1.01, allocations: 347.5 kB / 0.8832 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/1.012, allocations: 447.9 kB / 0.8836 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02966/1.042, allocations: 14.21 MB / 0.8975 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/1.042, allocations: 51.5 kB / 0.8975 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005907/1.043, allocations: 230.5 kB / 0.8978 GB, free: 6.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004961/1.043, allocations: 422.9 kB / 0.8982 GB, free: 5.926 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02398/1.067, allocations: 9.893 MB / 0.9078 GB, free: 12.04 MB / 0.6857 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.05876/1.126, allocations: 45.53 MB / 0.9523 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/1.147, allocations: 8.134 MB / 0.9602 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006052/1.153, allocations: 3.056 MB / 0.9632 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/1.154, allocations: 269 kB / 0.9635 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01695/1.171, allocations: 6.543 MB / 0.9699 GB, free: 10.79 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003464/1.174, allocations: 0.7044 MB / 0.9706 GB, free: 10.08 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.361e-05/1.174, allocations: 0 / 0.9706 GB, free: 10.08 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1023/1.277, allocations: 56.47 MB / 1.026 GB, free: 1.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001019/1.278, allocations: 1.809 MB / 1.027 GB, free: 15.02 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.288, allocations: 6.331 MB / 1.034 GB, free: 8.699 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001696/1.29, allocations: 97.7 kB / 1.034 GB, free: 8.598 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003172/1.293, allocations: 3.296 MB / 1.037 GB, free: 5.277 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004473/1.298, allocations: 2.976 MB / 1.04 GB, free: 2.277 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003377/1.301, allocations: 1.917 MB / 1.042 GB, free: 356 kB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.301, allocations: 301.1 kB / 1.042 GB, free: 52 kB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007738/1.309, allocations: 4.151 MB / 1.046 GB, free: 11.89 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/1.32, allocations: 7.932 MB / 1.054 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6559/1.976, allocations: 51.44 MB / 1.104 GB, free: 322.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.534e-05/1.976, allocations: 27 kB / 1.104 GB, free: 322.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02143/1.998, allocations: 12.58 MB / 1.116 GB, free: 310.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/1.998, allocations: 40.62 kB / 1.116 GB, free: 310.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01504/2.013, allocations: 9.425 MB / 1.126 GB, free: 301 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04286/2.056, allocations: 4.164 MB / 1.13 GB, free: 296.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008978/2.065, allocations: 2.539 MB / 1.132 GB, free: 294.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00985/2.074, allocations: 12.11 MB / 1.144 GB, free: 281.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009179/2.084, allocations: 446.1 kB / 1.144 GB, free: 281.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002181/2.086, allocations: 0.5816 MB / 1.145 GB, free: 280.6 MB / 0.8263 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.009766/2.096, allocations: 5.832 MB / 1.151 GB, free: 274.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007552/2.103, allocations: 7.886 MB / 1.158 GB, free: 265.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3071/2.41, allocations: 51.35 MB / 1.209 GB, free: 213 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-05/2.41, allocations: 24 kB / 1.209 GB, free: 212.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02226/2.433, allocations: 12.5 MB / 1.221 GB, free: 200.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/2.433, allocations: 40 kB / 1.221 GB, free: 200.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01507/2.448, allocations: 9.32 MB / 1.23 GB, free: 191.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04247/2.49, allocations: 4.04 MB / 1.234 GB, free: 187.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008913/2.499, allocations: 2.519 MB / 1.236 GB, free: 184.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008982/2.508, allocations: 11.45 MB / 1.247 GB, free: 172.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007397/2.515, allocations: 448.4 kB / 1.248 GB, free: 172.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/2.517, allocations: 0.5777 MB / 1.248 GB, free: 171.9 MB / 0.8263 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.002509/2.52, allocations: 0.7524 MB / 1.249 GB, free: 171.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/2.522, allocations: 0.7899 MB / 1.25 GB, free: 170.8 MB / 0.8263 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.01609/2.538, allocations: 11.17 MB / 1.261 GB, free: 160 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.3760957177728415] Failed to read output from testmodel.py, exit status != 0: 2.714969489723444 2.725365142 1.77060847 Calling exit ...