Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01242/0.01242, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001321/0.001321, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.002011/0.002011, allocations: 207.8 kB / 25.45 MB, free: 2.797 MB / 14.72 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.511/1.511, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.103/1.103, allocations: 130.5 MB / 446.3 MB, free: 14.59 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_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_dev_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_dev_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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4359/0.4359, allocations: 46.16 MB / 0.6557 GB, free: 30.71 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.656, allocations: 89.05 MB / 0.7426 GB, free: 2.348 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.03093/0.6869, allocations: 25.96 MB / 0.768 GB, free: 8.289 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04529/0.7322, allocations: 24.75 MB / 0.7921 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01061/0.7428, allocations: 139 kB / 0.7923 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008895/0.7517, allocations: 2.947 MB / 0.7952 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.7661, allocations: 4.24 MB / 0.7993 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01222/0.7783, allocations: 4.33 MB / 0.8035 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02067/0.799, allocations: 12.46 MB / 0.8157 GB, free: 7.281 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007948/0.8069, allocations: 3.85 MB / 0.8195 GB, free: 3.359 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.818, allocations: 5.034 MB / 0.8244 GB, free: 14.31 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.8284, allocations: 5.323 MB / 0.8296 GB, free: 8.965 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003414/0.8318, allocations: 0.8477 MB / 0.8304 GB, free: 8.117 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009022/0.8408, allocations: 3.256 MB / 0.8336 GB, free: 4.859 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004902/0.8457, allocations: 2.683 MB / 0.8362 GB, free: 2.168 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.008766/0.8545, allocations: 4.233 MB / 0.8403 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02356/0.878, allocations: 13.41 MB / 0.8534 GB, free: 472 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.878, allocations: 0 / 0.8534 GB, free: 472 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.225e-06/0.878, allocations: 0 / 0.8534 GB, free: 472 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004137/0.8784, allocations: 0 / 0.8534 GB, free: 472 kB / 0.6544 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.02441/0.9029, allocations: 8.761 MB / 0.862 GB, free: 7.594 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.9029, allocations: 8.031 kB / 0.862 GB, free: 7.586 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/0.907, allocations: 1.018 MB / 0.863 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/0.9207, allocations: 6.306 MB / 0.8691 GB, free: 196 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4241/1.345, allocations: 310.2 kB / 0.8694 GB, free: 111.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/1.347, allocations: 385.4 kB / 0.8698 GB, free: 111.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/1.369, allocations: 10.77 MB / 0.8803 GB, free: 106.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.175e-05/1.369, allocations: 41.44 kB / 0.8804 GB, free: 106.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/1.37, allocations: 197.2 kB / 0.8805 GB, free: 106.7 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003942/1.37, allocations: 405.7 kB / 0.8809 GB, free: 106.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.393, allocations: 8.884 MB / 0.8896 GB, free: 104 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.05401/1.447, allocations: 42.49 MB / 0.9311 GB, free: 68.35 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/1.468, allocations: 7.487 MB / 0.9384 GB, free: 63.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/1.474, allocations: 2.826 MB / 0.9412 GB, free: 62.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.475, allocations: 0.6436 MB / 0.9418 GB, free: 61.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01578/1.491, allocations: 5.894 MB / 0.9475 GB, free: 58.33 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003573/1.494, allocations: 0.5934 MB / 0.9481 GB, free: 58.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=765): time 1.97e-05/1.494, allocations: 0 / 0.9481 GB, free: 58.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=767): time 0.08041/1.575, allocations: 48.23 MB / 0.9952 GB, free: 15.56 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000326/1.575, allocations: 1.68 MB / 0.9969 GB, free: 13.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007377/1.583, allocations: 5.554 MB / 1.002 GB, free: 7.988 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001583/1.584, allocations: 93.7 kB / 1.002 GB, free: 7.891 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/1.586, allocations: 2.84 MB / 1.005 GB, free: 5.297 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/1.589, allocations: 2.64 MB / 1.008 GB, free: 3.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002386/1.591, allocations: 1.686 MB / 1.009 GB, free: 1.324 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/1.591, allocations: 305.1 kB / 1.01 GB, free: 1.023 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006728/1.598, allocations: 3.819 MB / 1.013 GB, free: 13.2 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009598/1.607, allocations: 6.282 MB / 1.02 GB, free: 5.934 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2975/1.905, allocations: 46.24 MB / 1.065 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.529e-05/1.905, allocations: 20 kB / 1.065 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.03031/1.935, allocations: 11.71 MB / 1.076 GB, free: 11.93 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 9.524e-05/1.935, allocations: 32 kB / 1.076 GB, free: 11.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02874/1.964, allocations: 9.005 MB / 1.085 GB, free: 2.836 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05015/2.014, allocations: 4.349 MB / 1.089 GB, free: 14.5 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009999/2.024, allocations: 2.267 MB / 1.091 GB, free: 12.24 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/2.035, allocations: 8.124 MB / 1.099 GB, free: 3.723 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006712/2.041, allocations: 399.6 kB / 1.1 GB, free: 3.332 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.043, allocations: 0.5075 MB / 1.1 GB, free: 2.824 MB / 0.7638 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.01208/2.055, allocations: 5.292 MB / 1.105 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01081/2.066, allocations: 6.232 MB / 1.111 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2912/2.357, allocations: 46.03 MB / 1.156 GB, free: 7.188 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.705e-05/2.357, allocations: 23.94 kB / 1.156 GB, free: 7.164 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.03003/2.387, allocations: 11.57 MB / 1.168 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/2.388, allocations: 32 kB / 1.168 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02219/2.41, allocations: 8.896 MB / 1.176 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04591/2.456, allocations: 4.263 MB / 1.181 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009076/2.465, allocations: 2.164 MB / 1.183 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009945/2.475, allocations: 7.069 MB / 1.19 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007821/2.482, allocations: 409.8 kB / 1.19 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/2.485, allocations: 0.4997 MB / 1.191 GB, free: 3.738 MB / 0.8575 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.003602/2.488, allocations: 0.6714 MB / 1.191 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003095/2.491, allocations: 0.7061 MB / 1.192 GB, free: 2.348 MB / 0.8575 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.5141/3.006, allocations: 9.562 MB / 1.201 GB, free: 285.3 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.715269481996074] Failed to read output from testmodel.py, exit status != 0: 3.016120278974995 3.033587871 2.148199735 Calling exit ...