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.0106/0.0106, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001416/0.001416, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.002324/0.002324, allocations: 217.3 kB / 24.75 MB, free: 3.695 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.568/1.568, allocations: 230.6 MB / 258.6 MB, free: 13.11 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.186/1.186, allocations: 130.6 MB / 445.6 MB, free: 15.04 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: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me",version="2.0",platforms={"static"}) [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.434/0.434, allocations: 46.16 MB / 0.6545 GB, free: 30.32 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.618, allocations: 89.04 MB / 0.7415 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.0342/0.6522, allocations: 25.98 MB / 0.7668 GB, free: 8.668 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04829/0.7005, allocations: 24.74 MB / 0.791 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00655/0.707, allocations: 143 kB / 0.7911 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008748/0.7158, allocations: 2.943 MB / 0.794 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.7291, allocations: 4.24 MB / 0.7981 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01281/0.7419, allocations: 4.326 MB / 0.8024 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02297/0.7649, allocations: 12.47 MB / 0.8145 GB, free: 7.664 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009136/0.774, allocations: 3.843 MB / 0.8183 GB, free: 3.75 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.7854, allocations: 5.046 MB / 0.8232 GB, free: 14.69 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.7955, allocations: 5.311 MB / 0.8284 GB, free: 9.355 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003549/0.7991, allocations: 0.8477 MB / 0.8292 GB, free: 8.508 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009108/0.8082, allocations: 3.26 MB / 0.8324 GB, free: 5.246 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.005349/0.8135, allocations: 2.683 MB / 0.835 GB, free: 2.555 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.009732/0.8232, allocations: 4.237 MB / 0.8392 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02601/0.8493, allocations: 13.4 MB / 0.8523 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.8493, allocations: 3.984 kB / 0.8523 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8493, allocations: 0 / 0.8523 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004654/0.8497, allocations: 0 / 0.8523 GB, free: 0.8438 MB / 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.02858/0.8783, allocations: 8.749 MB / 0.8608 GB, free: 7.988 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.8784, allocations: 12.03 kB / 0.8608 GB, free: 7.977 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003216/0.8816, allocations: 0.7124 MB / 0.8615 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/0.8877, allocations: 1.018 MB / 0.8625 GB, free: 6.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4837/1.371, allocations: 6.318 MB / 0.8687 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/1.372, allocations: 301.2 kB / 0.869 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/1.374, allocations: 387.6 kB / 0.8693 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/1.405, allocations: 10.77 MB / 0.8799 GB, free: 105.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000246/1.406, allocations: 41.5 kB / 0.8799 GB, free: 105.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00214/1.408, allocations: 197.9 kB / 0.8801 GB, free: 105.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006834/1.409, allocations: 400.9 kB / 0.8805 GB, free: 105.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/1.44, allocations: 8.886 MB / 0.8891 GB, free: 102.4 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.06546/1.505, allocations: 42.49 MB / 0.9306 GB, free: 67.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.527, allocations: 7.479 MB / 0.9379 GB, free: 62.89 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007626/1.534, allocations: 2.826 MB / 0.9407 GB, free: 61.23 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/1.536, allocations: 0.6456 MB / 0.9413 GB, free: 60.68 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.018/1.554, allocations: 5.893 MB / 0.9471 GB, free: 57.24 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004245/1.558, allocations: 0.6028 MB / 0.9477 GB, free: 56.96 MB / 0.67 GB Notification: Performance of pre-optimization done (n=765): time 3.011e-05/1.558, allocations: 0 / 0.9477 GB, free: 56.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=767): time 0.09815/1.657, allocations: 48.22 MB / 0.9948 GB, free: 14.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003835/1.657, allocations: 1.676 MB / 0.9964 GB, free: 12.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008411/1.665, allocations: 5.557 MB / 1.002 GB, free: 6.703 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001852/1.667, allocations: 93.69 kB / 1.002 GB, free: 6.605 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/1.669, allocations: 2.845 MB / 1.005 GB, free: 4.008 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003511/1.673, allocations: 2.632 MB / 1.007 GB, free: 1.734 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004007/1.677, allocations: 1.69 MB / 1.009 GB, free: 36 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.677, allocations: 311.7 kB / 1.009 GB, free: 15.73 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008898/1.686, allocations: 3.81 MB / 1.013 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01311/1.699, allocations: 6.288 MB / 1.019 GB, free: 4.641 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3227/2.022, allocations: 46.24 MB / 1.064 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/2.022, allocations: 16 kB / 1.064 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.04199/2.064, allocations: 11.71 MB / 1.076 GB, free: 10.63 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/2.064, allocations: 36 kB / 1.076 GB, free: 10.59 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02741/2.091, allocations: 9.008 MB / 1.085 GB, free: 1.527 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04996/2.141, allocations: 4.341 MB / 1.089 GB, free: 13.2 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/2.152, allocations: 2.267 MB / 1.091 GB, free: 10.94 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/2.163, allocations: 8.125 MB / 1.099 GB, free: 2.422 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007133/2.171, allocations: 403.6 kB / 1.099 GB, free: 2.027 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/2.173, allocations: 0.4997 MB / 1.1 GB, free: 1.527 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.0147/2.188, allocations: 5.302 MB / 1.105 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01286/2.2, allocations: 6.224 MB / 1.111 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3209/2.521, allocations: 46.04 MB / 1.156 GB, free: 5.898 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001033/2.521, allocations: 24 kB / 1.156 GB, free: 5.875 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.03778/2.559, allocations: 11.56 MB / 1.167 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/2.559, allocations: 36 kB / 1.167 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02772/2.587, allocations: 8.899 MB / 1.176 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04997/2.637, allocations: 4.258 MB / 1.18 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0095/2.647, allocations: 2.164 MB / 1.182 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/2.657, allocations: 7.073 MB / 1.189 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007777/2.665, allocations: 412.4 kB / 1.19 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002383/2.668, allocations: 0.4997 MB / 1.19 GB, free: 2.449 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.004217/2.672, allocations: 0.6693 MB / 1.191 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003778/2.676, allocations: 0.71 MB / 1.191 GB, free: 1.055 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.4439/3.119, allocations: 9.56 MB / 1.201 GB, free: 286 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.9436275089974515] Failed to read output from testmodel.py, exit status != 0: 3.128995663995738 3.141465404 2.287327905 Calling exit ...