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.01018/0.01018, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001203/0.001203, allocations: 99.77 kB / 24.18 MB, free: 2.438 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.001456/0.001456, allocations: 209.1 kB / 27.9 MB, free: 3.742 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.45/1.45, allocations: 230.6 MB / 262.1 MB, free: 5.824 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.013/1.013, allocations: 130.8 MB / 449.7 MB, free: 6.395 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: 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_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_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.06296/0.06296, allocations: 20.99 MB / 0.6364 GB, free: 4.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.2398, allocations: 81.91 MB / 0.7164 GB, free: 2.164 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.5213/0.7611, allocations: 55.61 MB / 0.7707 GB, free: 14.05 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0383/0.7994, allocations: 24 MB / 0.7941 GB, free: 13.33 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008873/0.8083, allocations: 137.8 kB / 0.7942 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.819, allocations: 2.871 MB / 0.797 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01699/0.836, allocations: 4.342 MB / 0.8013 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01393/0.8499, allocations: 4.4 MB / 0.8056 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02248/0.8724, allocations: 12.47 MB / 0.8177 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009384/0.8818, allocations: 3.889 MB / 0.8215 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01242/0.8942, allocations: 5.058 MB / 0.8265 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.9058, allocations: 5.092 MB / 0.8315 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004261/0.9101, allocations: 0.8477 MB / 0.8323 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01/0.9201, allocations: 2.603 MB / 0.8348 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005646/0.9257, allocations: 2.687 MB / 0.8375 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009451/0.9352, allocations: 3.296 MB / 0.8407 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02749/0.9627, allocations: 13.35 MB / 0.8537 GB, free: 5.352 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.9627, allocations: 0 / 0.8537 GB, free: 5.352 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9627, allocations: 0 / 0.8537 GB, free: 5.352 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005058/0.9632, allocations: 0 / 0.8537 GB, free: 5.352 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.03303/0.9962, allocations: 9.795 MB / 0.8633 GB, free: 11.5 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.9963, allocations: 8.031 kB / 0.8633 GB, free: 11.5 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/1.002, allocations: 1.017 MB / 0.8643 GB, free: 10.48 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/1.019, allocations: 6.142 MB / 0.8703 GB, free: 4.27 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005251/1.019, allocations: 300.5 kB / 0.8706 GB, free: 3.977 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002163/1.021, allocations: 395.9 kB / 0.8709 GB, free: 3.59 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03341/1.055, allocations: 12.61 MB / 0.8832 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/1.055, allocations: 50.19 kB / 0.8833 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/1.057, allocations: 192 kB / 0.8835 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006916/1.058, allocations: 398.2 kB / 0.8839 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02784/1.086, allocations: 8.863 MB / 0.8925 GB, free: 11.97 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.06898/1.155, allocations: 38.98 MB / 0.9306 GB, free: 3.863 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.176, allocations: 7.168 MB / 0.9376 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007338/1.184, allocations: 2.82 MB / 0.9403 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/1.185, allocations: 252.8 kB / 0.9406 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01848/1.204, allocations: 5.887 MB / 0.9463 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003914/1.207, allocations: 0.5801 MB / 0.9469 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=765): time 2.16e-05/1.207, allocations: 0 / 0.9469 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=767): time 0.1035/1.311, allocations: 47.83 MB / 0.9936 GB, free: 2.613 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009206/1.312, allocations: 1.679 MB / 0.9952 GB, free: 0.5391 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009309/1.321, allocations: 5.532 MB / 1.001 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001607/1.323, allocations: 89.7 kB / 1.001 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.326, allocations: 2.851 MB / 1.004 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003819/1.329, allocations: 2.637 MB / 1.006 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002955/1.332, allocations: 1.688 MB / 1.008 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.333, allocations: 305.1 kB / 1.008 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007121/1.34, allocations: 3.819 MB / 1.012 GB, free: 15.55 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.35, allocations: 7.141 MB / 1.019 GB, free: 7.117 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6341/1.984, allocations: 46.25 MB / 1.064 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.358e-05/1.984, allocations: 26.5 kB / 1.064 GB, free: 344.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02785/2.012, allocations: 11.69 MB / 1.075 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/2.012, allocations: 37.39 kB / 1.075 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02001/2.032, allocations: 9.01 MB / 1.084 GB, free: 337.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04347/2.075, allocations: 4.345 MB / 1.088 GB, free: 337.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009185/2.084, allocations: 2.263 MB / 1.091 GB, free: 337.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007756/2.092, allocations: 7.841 MB / 1.098 GB, free: 330.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00715/2.099, allocations: 410.5 kB / 1.099 GB, free: 330.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/2.101, allocations: 0.5011 MB / 1.099 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.01241/2.114, allocations: 5.301 MB / 1.104 GB, free: 325.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00939/2.123, allocations: 7.095 MB / 1.111 GB, free: 316.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2674/2.391, allocations: 46.03 MB / 1.156 GB, free: 270.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.464e-05/2.391, allocations: 23.05 kB / 1.156 GB, free: 270.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02409/2.415, allocations: 11.57 MB / 1.168 GB, free: 259 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/2.415, allocations: 40.14 kB / 1.168 GB, free: 259 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0178/2.433, allocations: 8.894 MB / 1.176 GB, free: 250 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04256/2.475, allocations: 4.258 MB / 1.18 GB, free: 245.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007303/2.482, allocations: 2.168 MB / 1.183 GB, free: 243.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/2.489, allocations: 6.665 MB / 1.189 GB, free: 236.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005847/2.495, allocations: 405.1 kB / 1.189 GB, free: 236.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/2.496, allocations: 0.4997 MB / 1.19 GB, free: 235.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.001897/2.498, allocations: 0.6647 MB / 1.191 GB, free: 235.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/2.499, allocations: 0.6895 MB / 1.191 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.01367/2.513, allocations: 9.597 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.194761980324984] Failed to read output from testmodel.py, exit status != 0: 2.64788362570107 2.657329691 1.6920855190000001 Calling exit ...