Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.01367/0.01367, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001327/0.001327, allocations: 103.9 kB / 24.94 MB, free: 2.176 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.001582/0.001582, allocations: 209.1 kB / 28.67 MB, free: 3.461 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.458/1.458, allocations: 230.6 MB / 262.8 MB, free: 6.023 MB / 206.1 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.059/1.059, allocations: 130.7 MB / 450.4 MB, free: 6.586 MB / 350.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.03386/0.03386, allocations: 20.77 MB / 0.637 GB, free: 4.613 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.2038, allocations: 81.9 MB / 0.717 GB, free: 2.621 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_CH_simple): time 0.5721/0.7759, allocations: 58.98 MB / 0.7745 GB, free: 10.9 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04508/0.821, allocations: 25.04 MB / 0.799 GB, free: 9.066 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009084/0.8301, allocations: 142.2 kB / 0.7991 GB, free: 9 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.841, allocations: 3.023 MB / 0.8021 GB, free: 6.902 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01764/0.8587, allocations: 4.34 MB / 0.8063 GB, free: 3.453 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.8728, allocations: 4.423 MB / 0.8106 GB, free: 80 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02434/0.8971, allocations: 12.5 MB / 0.8229 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008601/0.9057, allocations: 3.69 MB / 0.8265 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.9178, allocations: 5.042 MB / 0.8314 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01161/0.9294, allocations: 5.337 MB / 0.8366 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003564/0.933, allocations: 0.8477 MB / 0.8374 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/0.9435, allocations: 3.481 MB / 0.8408 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005131/0.9487, allocations: 2.685 MB / 0.8434 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009221/0.9579, allocations: 4.237 MB / 0.8476 GB, free: 12.9 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.027/0.9849, allocations: 13.48 MB / 0.8607 GB, free: 15.37 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9849, allocations: 0 / 0.8607 GB, free: 15.37 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9849, allocations: 2.656 kB / 0.8607 GB, free: 15.37 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005764/0.9855, allocations: 0 / 0.8607 GB, free: 15.37 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: 1530 * Number of variables: 1530 Notification: Performance of Generate backend data structure: time 0.02833/1.014, allocations: 9.787 MB / 0.8703 GB, free: 5.531 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.014, allocations: 12.03 kB / 0.8703 GB, free: 5.52 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/1.018, allocations: 1.017 MB / 0.8713 GB, free: 4.5 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.034, allocations: 6.128 MB / 0.8773 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/1.034, allocations: 307.7 kB / 0.8776 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/1.036, allocations: 394.6 kB / 0.878 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/1.065, allocations: 10.77 MB / 0.8885 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002127/1.066, allocations: 43.62 kB / 0.8885 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/1.067, allocations: 196 kB / 0.8887 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006281/1.068, allocations: 394.2 kB / 0.8891 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02606/1.094, allocations: 8.894 MB / 0.8978 GB, free: 8.363 MB / 0.67 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.06464/1.158, allocations: 42.11 MB / 0.9389 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.021/1.179, allocations: 7.185 MB / 0.9459 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006871/1.186, allocations: 2.824 MB / 0.9487 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.188, allocations: 280.7 kB / 0.9489 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01747/1.205, allocations: 5.887 MB / 0.9547 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003315/1.208, allocations: 0.5955 MB / 0.9553 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=765): time 1.752e-05/1.208, allocations: 0 / 0.9553 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=767): time 0.1216/1.33, allocations: 47.84 MB / 1.002 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009759/1.331, allocations: 1.68 MB / 1.004 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009178/1.34, allocations: 5.561 MB / 1.009 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001512/1.342, allocations: 89.7 kB / 1.009 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002837/1.344, allocations: 2.848 MB / 1.012 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003688/1.348, allocations: 2.629 MB / 1.014 GB, free: 14.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003007/1.351, allocations: 1.69 MB / 1.016 GB, free: 12.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.351, allocations: 305.1 kB / 1.016 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00716/1.358, allocations: 3.805 MB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/1.369, allocations: 6.293 MB / 1.026 GB, free: 1.375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7179/2.087, allocations: 46.24 MB / 1.071 GB, free: 344.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.249e-05/2.087, allocations: 19.84 kB / 1.071 GB, free: 344.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02827/2.115, allocations: 11.7 MB / 1.083 GB, free: 340.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/2.115, allocations: 43.23 kB / 1.083 GB, free: 340.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02013/2.135, allocations: 9.014 MB / 1.092 GB, free: 337.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04864/2.184, allocations: 4.337 MB / 1.096 GB, free: 336.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009016/2.193, allocations: 2.27 MB / 1.098 GB, free: 334.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007825/2.201, allocations: 7.917 MB / 1.106 GB, free: 326.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006471/2.207, allocations: 415.9 kB / 1.106 GB, free: 325.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/2.209, allocations: 0.5036 MB / 1.107 GB, free: 325.2 MB / 0.8263 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" 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.01402/2.223, allocations: 5.296 MB / 1.112 GB, free: 320 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009443/2.232, allocations: 6.23 MB / 1.118 GB, free: 312.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2822/2.515, allocations: 46.04 MB / 1.163 GB, free: 265.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.555e-05/2.515, allocations: 20 kB / 1.163 GB, free: 265.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02911/2.544, allocations: 11.55 MB / 1.174 GB, free: 254.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/2.544, allocations: 40.12 kB / 1.174 GB, free: 254.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02197/2.566, allocations: 8.897 MB / 1.183 GB, free: 245.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0458/2.612, allocations: 4.265 MB / 1.187 GB, free: 241.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00816/2.62, allocations: 2.164 MB / 1.189 GB, free: 239 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/2.627, allocations: 6.764 MB / 1.196 GB, free: 231.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007338/2.635, allocations: 417.2 kB / 1.196 GB, free: 231.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/2.637, allocations: 0.5035 MB / 1.197 GB, free: 231 MB / 0.8263 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" 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: 313 * 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 (1063): * Single equations (assignments): 1056 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 2 * 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): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,17)} Notification: Performance of prepare postOptimizeDAE: time 0.00357/2.64, allocations: 0.6586 MB / 1.197 GB, free: 230.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003779/2.644, allocations: 0.7093 MB / 1.198 GB, free: 230 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 1165 equation(s) and 1114 variable(s). Error: ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442, $cse443) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse280, $cse281, $cse282, $cse283, hex.shell.liq.transp.Pr, hex.shell.liq.transp.lambda, hex.shell.liq.transp.eta, hex.shell.liq.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/2.664, allocations: 9.564 MB / 1.207 GB, free: 220.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.539682711008936] Failed to read output from testmodel.py, exit status != 0: 2.8361298909876496 2.8469343719999998 1.859285065 Calling exit ...