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.0107/0.0107, allocations: 1.751 MB / 21.35 MB, free: 356 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.001301/0.001301, allocations: 103.8 kB / 24.93 MB, free: 2.031 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.001579/0.001579, allocations: 211.7 kB / 28.65 MB, free: 3.297 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.533/1.533, allocations: 230.6 MB / 262.8 MB, free: 5.844 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.141/1.141, allocations: 130.7 MB / 450.4 MB, free: 6.41 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: 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.06779/0.06779, allocations: 20.98 MB / 0.6371 GB, free: 4.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.2497, allocations: 81.91 MB / 0.717 GB, free: 2.176 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.6173/0.867, allocations: 55.61 MB / 0.7713 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04749/0.9145, allocations: 24 MB / 0.7948 GB, free: 13.32 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01111/0.9256, allocations: 138.2 kB / 0.7949 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.9362, allocations: 2.871 MB / 0.7977 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02223/0.9585, allocations: 4.34 MB / 0.802 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01728/0.9757, allocations: 4.407 MB / 0.8063 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02707/1.003, allocations: 12.47 MB / 0.8184 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008668/1.011, allocations: 3.9 MB / 0.8223 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01314/1.025, allocations: 5.06 MB / 0.8272 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01245/1.037, allocations: 5.089 MB / 0.8322 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004205/1.041, allocations: 0.8438 MB / 0.833 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/1.052, allocations: 2.613 MB / 0.8355 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005718/1.057, allocations: 2.678 MB / 0.8382 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009199/1.067, allocations: 3.308 MB / 0.8414 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02583/1.092, allocations: 13.34 MB / 0.8544 GB, free: 5.387 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.092, allocations: 0 / 0.8544 GB, free: 5.387 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.915e-06/1.092, allocations: 2.625 kB / 0.8544 GB, free: 5.387 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004689/1.093, allocations: 0 / 0.8544 GB, free: 5.387 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.02847/1.121, allocations: 9.785 MB / 0.864 GB, free: 11.55 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.121, allocations: 10.72 kB / 0.864 GB, free: 11.54 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/1.125, allocations: 1.014 MB / 0.865 GB, free: 10.52 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.14, allocations: 6.152 MB / 0.871 GB, free: 4.305 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/1.141, allocations: 307.7 kB / 0.8713 GB, free: 4.004 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/1.142, allocations: 387.5 kB / 0.8716 GB, free: 3.629 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03021/1.172, allocations: 12.61 MB / 0.884 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/1.173, allocations: 43.56 kB / 0.884 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/1.174, allocations: 200 kB / 0.8842 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005905/1.175, allocations: 400.9 kB / 0.8846 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02624/1.201, allocations: 8.847 MB / 0.8932 GB, free: 12.02 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.06511/1.266, allocations: 38.99 MB / 0.9313 GB, free: 3.906 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02266/1.289, allocations: 7.165 MB / 0.9383 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00874/1.298, allocations: 2.828 MB / 0.941 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/1.299, allocations: 250.1 kB / 0.9413 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02094/1.32, allocations: 5.896 MB / 0.947 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003885/1.324, allocations: 0.5697 MB / 0.9476 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=765): time 2.054e-05/1.324, allocations: 2.656 kB / 0.9476 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=767): time 0.107/1.431, allocations: 47.83 MB / 0.9943 GB, free: 2.656 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001331/1.432, allocations: 1.679 MB / 0.996 GB, free: 0.582 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.443, allocations: 5.526 MB / 1.001 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001819/1.445, allocations: 93.7 kB / 1.001 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003572/1.449, allocations: 2.847 MB / 1.004 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.005398/1.454, allocations: 2.637 MB / 1.007 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003548/1.458, allocations: 1.691 MB / 1.008 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.458, allocations: 307.8 kB / 1.009 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008085/1.466, allocations: 3.809 MB / 1.012 GB, free: 15.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/1.479, allocations: 7.153 MB / 1.019 GB, free: 7.148 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7019/2.181, allocations: 46.25 MB / 1.065 GB, free: 344.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.338e-05/2.181, allocations: 19.84 kB / 1.065 GB, free: 344.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02803/2.209, allocations: 11.69 MB / 1.076 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/2.209, allocations: 37.64 kB / 1.076 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01844/2.227, allocations: 9.015 MB / 1.085 GB, free: 337.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04384/2.271, allocations: 4.334 MB / 1.089 GB, free: 337.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00927/2.28, allocations: 2.265 MB / 1.091 GB, free: 337.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007372/2.288, allocations: 7.845 MB / 1.099 GB, free: 330.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006891/2.295, allocations: 414.1 kB / 1.099 GB, free: 330.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001769/2.296, allocations: 0.5051 MB / 1.1 GB, free: 330 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.01021/2.307, allocations: 5.292 MB / 1.105 GB, free: 325.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00791/2.314, allocations: 7.089 MB / 1.112 GB, free: 316.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2702/2.585, allocations: 46.05 MB / 1.157 GB, free: 270.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001023/2.585, allocations: 20 kB / 1.157 GB, free: 270.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02867/2.613, allocations: 11.56 MB / 1.168 GB, free: 259 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/2.614, allocations: 36 kB / 1.168 GB, free: 258.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02117/2.635, allocations: 8.903 MB / 1.177 GB, free: 250 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04357/2.678, allocations: 4.26 MB / 1.181 GB, free: 245.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008249/2.687, allocations: 2.163 MB / 1.183 GB, free: 243.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/2.694, allocations: 6.661 MB / 1.19 GB, free: 236.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007414/2.701, allocations: 408.5 kB / 1.19 GB, free: 236.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/2.703, allocations: 0.4997 MB / 1.191 GB, free: 235.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.003849/2.707, allocations: 0.6599 MB / 1.191 GB, free: 235.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003201/2.71, allocations: 0.7005 MB / 1.192 GB, free: 234.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.02008/2.73, allocations: 9.586 MB / 1.201 GB, free: 225.6 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.814055250957608] Failed to read output from testmodel.py, exit status != 0: 2.9267190149985254 2.940439537 1.844690857 Calling exit ...