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.01682/0.01682, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 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.001782/0.001782, allocations: 102.6 kB / 24.97 MB, free: 2.039 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.001698/0.001698, allocations: 210.4 kB / 28.68 MB, free: 3.324 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.457/1.457, allocations: 230.6 MB / 262.9 MB, free: 5.812 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.057/1.057, allocations: 130.7 MB / 450.4 MB, free: 6.449 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="cs",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="cs",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: 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.06166/0.06166, allocations: 20.6 MB / 0.6362 GB, free: 5.082 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.2059, allocations: 81.91 MB / 0.7162 GB, free: 3.082 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.5171/0.723, allocations: 55.57 MB / 0.7705 GB, free: 14.27 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03713/0.7601, allocations: 23.98 MB / 0.7939 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007134/0.7673, allocations: 138.7 kB / 0.7941 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008626/0.7759, allocations: 2.896 MB / 0.7969 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01444/0.7903, allocations: 4.351 MB / 0.8011 GB, free: 8.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.8029, allocations: 4.428 MB / 0.8055 GB, free: 4.785 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02186/0.8248, allocations: 12.46 MB / 0.8176 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/0.8357, allocations: 3.693 MB / 0.8212 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01551/0.8512, allocations: 5.058 MB / 0.8262 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.8647, allocations: 5.333 MB / 0.8314 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0037/0.8684, allocations: 0.8477 MB / 0.8322 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008779/0.8772, allocations: 2.661 MB / 0.8348 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005375/0.8826, allocations: 2.687 MB / 0.8374 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008719/0.8913, allocations: 3.302 MB / 0.8407 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02539/0.9167, allocations: 13.36 MB / 0.8537 GB, free: 5.957 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.9167, allocations: 0 / 0.8537 GB, free: 5.957 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.407e-06/0.9167, allocations: 0 / 0.8537 GB, free: 5.957 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004575/0.9171, allocations: 0 / 0.8537 GB, free: 5.957 MB / 0.6232 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.02971/0.9468, allocations: 9.787 MB / 0.8633 GB, free: 12.12 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.9469, allocations: 8.031 kB / 0.8633 GB, free: 12.11 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001744/0.9471, allocations: 120 kB / 0.8634 GB, free: 11.99 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00277/0.9498, allocations: 0.7204 MB / 0.8641 GB, free: 11.26 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.955, allocations: 1.016 MB / 0.8651 GB, free: 10.24 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01659/0.9716, allocations: 6.145 MB / 0.8711 GB, free: 4.031 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005235/0.9721, allocations: 303.8 kB / 0.8714 GB, free: 3.734 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002212/0.9743, allocations: 394.5 kB / 0.8717 GB, free: 3.352 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03271/1.007, allocations: 12.62 MB / 0.8841 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000215/1.007, allocations: 39.62 kB / 0.8841 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/1.009, allocations: 196 kB / 0.8843 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006338/1.01, allocations: 402.2 kB / 0.8847 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/1.036, allocations: 8.879 MB / 0.8934 GB, free: 11.71 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.06544/1.101, allocations: 39.63 MB / 0.9321 GB, free: 2.93 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/1.124, allocations: 7.164 MB / 0.9391 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007557/1.132, allocations: 2.828 MB / 0.9418 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/1.133, allocations: 248.9 kB / 0.9421 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01843/1.151, allocations: 5.894 MB / 0.9478 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003508/1.155, allocations: 0.5878 MB / 0.9484 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=765): time 2.31e-05/1.155, allocations: 0 / 0.9484 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=767): time 0.1055/1.26, allocations: 47.85 MB / 0.9951 GB, free: 1.652 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001003/1.261, allocations: 1.679 MB / 0.9967 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/1.272, allocations: 5.556 MB / 1.002 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001329/1.273, allocations: 93.69 kB / 1.002 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003157/1.276, allocations: 2.844 MB / 1.005 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003751/1.28, allocations: 2.633 MB / 1.008 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004465/1.284, allocations: 1.695 MB / 1.009 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.284, allocations: 301.1 kB / 1.01 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008266/1.293, allocations: 3.807 MB / 1.013 GB, free: 14.57 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01188/1.304, allocations: 7.149 MB / 1.02 GB, free: 6.137 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6843/1.989, allocations: 46.24 MB / 1.065 GB, free: 344.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.624e-05/1.989, allocations: 21.67 kB / 1.065 GB, free: 344.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02748/2.016, allocations: 11.71 MB / 1.077 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/2.016, allocations: 34.66 kB / 1.077 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02031/2.037, allocations: 9.01 MB / 1.086 GB, free: 337.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04948/2.086, allocations: 4.339 MB / 1.09 GB, free: 337.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009138/2.095, allocations: 2.269 MB / 1.092 GB, free: 337.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/2.103, allocations: 7.881 MB / 1.1 GB, free: 330.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006465/2.11, allocations: 413 kB / 1.1 GB, free: 329.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/2.111, allocations: 0.506 MB / 1.101 GB, free: 329.4 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.01106/2.122, allocations: 5.298 MB / 1.106 GB, free: 324.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009085/2.132, allocations: 7.089 MB / 1.113 GB, free: 315.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2816/2.413, allocations: 46.05 MB / 1.158 GB, free: 269.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.683e-05/2.413, allocations: 20.56 kB / 1.158 GB, free: 269.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.03006/2.443, allocations: 11.57 MB / 1.169 GB, free: 258 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/2.443, allocations: 32 kB / 1.169 GB, free: 258 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02175/2.465, allocations: 8.9 MB / 1.178 GB, free: 249.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04734/2.513, allocations: 4.26 MB / 1.182 GB, free: 244.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007906/2.52, allocations: 2.164 MB / 1.184 GB, free: 242.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007001/2.527, allocations: 6.724 MB / 1.191 GB, free: 235.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006901/2.534, allocations: 409.2 kB / 1.191 GB, free: 235.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/2.536, allocations: 0.4997 MB / 1.192 GB, free: 234.7 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.003762/2.54, allocations: 0.6731 MB / 1.192 GB, free: 234.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003209/2.543, allocations: 0.7126 MB / 1.193 GB, free: 233.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 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.02002/2.563, allocations: 9.559 MB / 1.202 GB, free: 224.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.325870829983614] Failed to read output from testmodel.py, exit status != 0: 2.7006623110501096 2.71425049 1.792574665 Calling exit ...