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.0139/0.0139, allocations: 1.76 MB / 20.59 MB, free: 1.285 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.001418/0.001418, allocations: 108.6 kB / 24.19 MB, free: 2.691 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.0015/0.0015, allocations: 205.2 kB / 27.92 MB, free: 4.027 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.477/1.477, allocations: 230.6 MB / 262.1 MB, free: 6.012 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.077/1.077, allocations: 130.7 MB / 449.6 MB, free: 6.566 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.04545/0.04545, allocations: 20.78 MB / 0.6362 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.2139, allocations: 81.91 MB / 0.7162 GB, free: 2.648 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.54/0.7539, allocations: 62.03 MB / 0.7768 GB, free: 8.668 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0496/0.8035, allocations: 26.32 MB / 0.8025 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01094/0.8144, allocations: 158.1 kB / 0.8026 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.8262, allocations: 3.284 MB / 0.8058 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01972/0.8459, allocations: 4.915 MB / 0.8106 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0149/0.8608, allocations: 4.946 MB / 0.8155 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02615/0.8869, allocations: 13.92 MB / 0.8291 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008706/0.8956, allocations: 4.156 MB / 0.8331 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/0.9089, allocations: 5.657 MB / 0.8387 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/0.9214, allocations: 6.006 MB / 0.8445 GB, free: 15.34 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004275/0.9257, allocations: 0.9336 MB / 0.8454 GB, free: 14.4 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.9377, allocations: 3.677 MB / 0.849 GB, free: 10.73 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006596/0.9443, allocations: 2.983 MB / 0.8519 GB, free: 7.742 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01334/0.9576, allocations: 4.787 MB / 0.8566 GB, free: 2.934 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03166/0.9893, allocations: 14.92 MB / 0.8712 GB, free: 3.961 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9893, allocations: 0 / 0.8712 GB, free: 3.961 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9893, allocations: 2.656 kB / 0.8712 GB, free: 3.961 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004951/0.9898, allocations: 4 kB / 0.8712 GB, free: 3.957 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.03008/1.02, allocations: 10.97 MB / 0.8819 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.02, allocations: 8.031 kB / 0.8819 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/1.025, allocations: 1.149 MB / 0.883 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.04, allocations: 6.942 MB / 0.8898 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/1.041, allocations: 344.9 kB / 0.8901 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/1.042, allocations: 443.9 kB / 0.8906 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/1.073, allocations: 12.17 MB / 0.9024 GB, free: 2.645 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/1.073, allocations: 58.17 kB / 0.9025 GB, free: 2.59 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0014/1.075, allocations: 224 kB / 0.9027 GB, free: 2.371 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005972/1.075, allocations: 429.5 kB / 0.9031 GB, free: 1.953 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02671/1.102, allocations: 9.924 MB / 0.9128 GB, free: 8.039 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.06765/1.17, allocations: 49.03 MB / 0.9607 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/1.193, allocations: 8.151 MB / 0.9687 GB, free: 13.3 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006835/1.199, allocations: 3.052 MB / 0.9716 GB, free: 10.17 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/1.201, allocations: 310.6 kB / 0.9719 GB, free: 9.871 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01858/1.219, allocations: 6.549 MB / 0.9783 GB, free: 3.176 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00399/1.223, allocations: 0.7121 MB / 0.979 GB, free: 2.461 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.009e-05/1.223, allocations: 0 / 0.979 GB, free: 2.461 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1108/1.334, allocations: 56.47 MB / 1.034 GB, free: 9.629 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009918/1.335, allocations: 1.823 MB / 1.036 GB, free: 7.383 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.345, allocations: 6.353 MB / 1.042 GB, free: 1.047 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001605/1.347, allocations: 101.7 kB / 1.042 GB, free: 0.9414 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.35, allocations: 3.291 MB / 1.045 GB, free: 13.63 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004172/1.354, allocations: 2.974 MB / 1.048 GB, free: 10.63 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003389/1.358, allocations: 1.91 MB / 1.05 GB, free: 8.707 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.358, allocations: 301.1 kB / 1.051 GB, free: 8.41 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007656/1.366, allocations: 4.157 MB / 1.055 GB, free: 4.246 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3315/1.697, allocations: 7.011 MB / 1.061 GB, free: 346 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3134/2.01, allocations: 51.44 MB / 1.112 GB, free: 320.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.583e-05/2.01, allocations: 24 kB / 1.112 GB, free: 320.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02363/2.034, allocations: 12.59 MB / 1.124 GB, free: 308 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/2.034, allocations: 40 kB / 1.124 GB, free: 307.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01562/2.05, allocations: 9.421 MB / 1.133 GB, free: 298.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04498/2.095, allocations: 4.159 MB / 1.137 GB, free: 294.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009587/2.104, allocations: 2.549 MB / 1.14 GB, free: 291.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/2.115, allocations: 12.3 MB / 1.152 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007859/2.123, allocations: 446.8 kB / 1.152 GB, free: 278.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/2.124, allocations: 0.5855 MB / 1.153 GB, free: 277.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01188/2.136, allocations: 5.837 MB / 1.158 GB, free: 272 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00916/2.145, allocations: 6.982 MB / 1.165 GB, free: 263.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3117/2.457, allocations: 51.33 MB / 1.215 GB, free: 211.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.214e-05/2.457, allocations: 28 kB / 1.215 GB, free: 211.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02584/2.483, allocations: 12.5 MB / 1.228 GB, free: 199.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/2.483, allocations: 40 kB / 1.228 GB, free: 199.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01711/2.5, allocations: 9.313 MB / 1.237 GB, free: 189.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04661/2.547, allocations: 4.059 MB / 1.241 GB, free: 185.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009251/2.556, allocations: 2.508 MB / 1.243 GB, free: 183.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009926/2.566, allocations: 11.63 MB / 1.255 GB, free: 171 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009155/2.575, allocations: 448.4 kB / 1.255 GB, free: 170.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00258/2.578, allocations: 0.5738 MB / 1.256 GB, free: 169.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.004364/2.582, allocations: 0.7464 MB / 1.256 GB, free: 169.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003428/2.586, allocations: 0.813 MB / 1.257 GB, free: 168.7 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.02122/2.607, allocations: 11.14 MB / 1.268 GB, free: 158 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.488002764992416] Failed to read output from testmodel.py, exit status != 0: 2.7632701338734478 2.773170748 1.78127744 Calling exit ...