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.01039/0.01039, allocations: 1.761 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.001317/0.001317, allocations: 106.5 kB / 24.19 MB, free: 2.688 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.001633/0.001633, allocations: 206.6 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.506/1.506, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.06/1.06, allocations: 130.7 MB / 449.7 MB, free: 6.598 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: 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.03756/0.03756, allocations: 20.79 MB / 0.6357 GB, free: 5.148 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.2198, allocations: 81.91 MB / 0.7157 GB, free: 3.145 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.583/0.8028, allocations: 58.97 MB / 0.7733 GB, free: 11.02 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04124/0.8441, allocations: 25.04 MB / 0.7978 GB, free: 9.191 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007916/0.852, allocations: 140.7 kB / 0.7979 GB, free: 9.129 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009312/0.8613, allocations: 3.024 MB / 0.8009 GB, free: 7.117 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.8762, allocations: 4.333 MB / 0.8051 GB, free: 3.672 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.8898, allocations: 4.427 MB / 0.8094 GB, free: 300 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0226/0.9124, allocations: 12.49 MB / 0.8216 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007809/0.9202, allocations: 3.698 MB / 0.8252 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/0.9312, allocations: 5.034 MB / 0.8301 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.9415, allocations: 5.351 MB / 0.8354 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003223/0.9447, allocations: 0.8477 MB / 0.8362 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00999/0.9547, allocations: 3.475 MB / 0.8396 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004792/0.9595, allocations: 2.685 MB / 0.8422 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01078/0.9703, allocations: 4.237 MB / 0.8464 GB, free: 13.35 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0242/0.9945, allocations: 13.48 MB / 0.8595 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9945, allocations: 0 / 0.8595 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9945, allocations: 0 / 0.8595 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0003585/0.9949, allocations: 0 / 0.8595 GB, free: 15.82 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.02493/1.02, allocations: 9.799 MB / 0.8691 GB, free: 5.977 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.02, allocations: 8.031 kB / 0.8691 GB, free: 5.969 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001645/1.021, allocations: 0.7163 MB / 0.8698 GB, free: 5.242 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/1.025, allocations: 1.013 MB / 0.8708 GB, free: 4.227 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/1.039, allocations: 6.147 MB / 0.8768 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/1.04, allocations: 303.7 kB / 0.8771 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/1.041, allocations: 387.9 kB / 0.8774 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02499/1.066, allocations: 10.77 MB / 0.888 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/1.066, allocations: 43.62 kB / 0.888 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/1.067, allocations: 192 kB / 0.8882 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004718/1.067, allocations: 410.1 kB / 0.8886 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0245/1.091, allocations: 8.878 MB / 0.8972 GB, free: 8.094 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.07876/1.17, allocations: 42.1 MB / 0.9384 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/1.192, allocations: 7.192 MB / 0.9454 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006578/1.198, allocations: 2.83 MB / 0.9482 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.199, allocations: 276.7 kB / 0.9484 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01778/1.217, allocations: 5.888 MB / 0.9542 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004201/1.221, allocations: 0.593 MB / 0.9547 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=765): time 1.909e-05/1.221, allocations: 2.688 kB / 0.9547 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=767): time 0.107/1.328, allocations: 47.83 MB / 1.001 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00098/1.329, allocations: 1.689 MB / 1.003 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.341, allocations: 5.557 MB / 1.009 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001827/1.343, allocations: 93.7 kB / 1.009 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003636/1.346, allocations: 2.851 MB / 1.011 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.00454/1.351, allocations: 2.633 MB / 1.014 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003687/1.354, allocations: 1.688 MB / 1.016 GB, free: 12.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.355, allocations: 301.1 kB / 1.016 GB, free: 12.22 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007912/1.363, allocations: 3.815 MB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/1.374, allocations: 6.287 MB / 1.026 GB, free: 1.094 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.599/1.973, allocations: 46.23 MB / 1.071 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.663e-05/1.973, allocations: 22.5 kB / 1.071 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02838/2.001, allocations: 11.7 MB / 1.082 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.885e-05/2.001, allocations: 34.5 kB / 1.082 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02223/2.023, allocations: 9.007 MB / 1.091 GB, free: 337.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04827/2.072, allocations: 4.345 MB / 1.095 GB, free: 336.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009294/2.081, allocations: 2.271 MB / 1.098 GB, free: 334.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008391/2.089, allocations: 7.918 MB / 1.105 GB, free: 326 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006873/2.096, allocations: 413.6 kB / 1.106 GB, free: 325.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/2.098, allocations: 0.5036 MB / 1.106 GB, free: 325.1 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.01212/2.11, allocations: 5.293 MB / 1.111 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009416/2.12, allocations: 6.238 MB / 1.118 GB, free: 312.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.278/2.398, allocations: 46.03 MB / 1.162 GB, free: 265.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.868e-05/2.398, allocations: 16 kB / 1.163 GB, free: 265.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02752/2.425, allocations: 11.57 MB / 1.174 GB, free: 254.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/2.425, allocations: 38.34 kB / 1.174 GB, free: 254.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02258/2.448, allocations: 8.899 MB / 1.183 GB, free: 245.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0473/2.495, allocations: 4.254 MB / 1.187 GB, free: 241 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007795/2.503, allocations: 2.163 MB / 1.189 GB, free: 238.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/2.51, allocations: 6.769 MB / 1.195 GB, free: 231.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006583/2.517, allocations: 408.5 kB / 1.196 GB, free: 231.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/2.519, allocations: 0.4997 MB / 1.196 GB, free: 230.8 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.00344/2.522, allocations: 0.6669 MB / 1.197 GB, free: 230.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002927/2.525, allocations: 0.7062 MB / 1.198 GB, free: 229.8 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.02095/2.546, allocations: 9.573 MB / 1.207 GB, free: 220.6 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.502506654942408] Failed to read output from testmodel.py, exit status != 0: 2.699953431962058 2.70885245 1.711606853 Calling exit ...