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.01312/0.01312, allocations: 1.35 MB / 21.03 MB, free: 0.7539 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.001591/0.001591, allocations: 76.3 kB / 24.58 MB, free: 2.148 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.002089/0.002089, allocations: 170 kB / 28.26 MB, free: 3.406 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.414/1.414, allocations: 177.2 MB / 209 MB, free: 7.531 MB / 190.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 0.9822/0.9822, allocations: 102.5 MB / 368.4 MB, free: 4.148 MB / 334.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.06671/0.06671, allocations: 20.97 MB / 0.5569 GB, free: 4.906 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.2431, allocations: 81.88 MB / 0.6369 GB, free: 2.891 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.1774/0.4205, allocations: 48.2 MB / 0.6839 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.366/0.7865, allocations: 23.98 MB / 0.7074 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004981/0.7915, allocations: 139.2 kB / 0.7075 GB, free: 12.65 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.006761/0.7983, allocations: 2.865 MB / 0.7103 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.8099, allocations: 4.343 MB / 0.7145 GB, free: 9.047 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009894/0.8198, allocations: 4.413 MB / 0.7189 GB, free: 6.672 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0179/0.8377, allocations: 12.47 MB / 0.731 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006382/0.8441, allocations: 3.899 MB / 0.7348 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008895/0.853, allocations: 5.051 MB / 0.7398 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009223/0.8622, allocations: 5.092 MB / 0.7447 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.8637, allocations: 0.8534 MB / 0.7456 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006321/0.87, allocations: 2.604 MB / 0.7481 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.8726, allocations: 2.681 MB / 0.7507 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004165/0.8768, allocations: 3.3 MB / 0.754 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.8936, allocations: 13.35 MB / 0.767 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8936, allocations: 3.938 kB / 0.767 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8936, allocations: 0 / 0.767 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001876/0.8938, allocations: 0 / 0.767 GB, free: 4.609 MB / 0.6075 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.01991/0.9137, allocations: 9.79 MB / 0.7766 GB, free: 10.77 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9138, allocations: 8.031 kB / 0.7766 GB, free: 10.76 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.9169, allocations: 1.012 MB / 0.7775 GB, free: 9.75 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.9296, allocations: 6.144 MB / 0.7835 GB, free: 3.535 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.9299, allocations: 306.4 kB / 0.7838 GB, free: 3.238 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008238/0.9307, allocations: 394.5 kB / 0.7842 GB, free: 2.855 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02703/0.9577, allocations: 12.61 MB / 0.7965 GB, free: 4.719 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001748/0.9579, allocations: 46.22 kB / 0.7966 GB, free: 4.676 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001233/0.9591, allocations: 200 kB / 0.7968 GB, free: 4.48 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005654/0.9597, allocations: 398.2 kB / 0.7971 GB, free: 4.09 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.9848, allocations: 8.847 MB / 0.8058 GB, free: 11.24 MB / 0.6544 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.05543/1.04, allocations: 39 MB / 0.8439 GB, free: 3.129 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02073/1.061, allocations: 7.154 MB / 0.8509 GB, free: 11.81 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006462/1.067, allocations: 2.828 MB / 0.8536 GB, free: 8.914 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.069, allocations: 254.1 kB / 0.8539 GB, free: 8.664 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01659/1.085, allocations: 5.883 MB / 0.8596 GB, free: 2.629 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003832/1.089, allocations: 0.584 MB / 0.8602 GB, free: 2.043 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=765): time 3.263e-05/1.089, allocations: 0 / 0.8602 GB, free: 2.043 MB / 0.7013 GB Notification: Performance of matching and sorting (n=767): time 0.09185/1.181, allocations: 47.84 MB / 0.9069 GB, free: 1.898 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000915/1.182, allocations: 1.679 MB / 0.9085 GB, free: 15.82 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008861/1.191, allocations: 5.522 MB / 0.9139 GB, free: 10.29 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/1.192, allocations: 93.7 kB / 0.914 GB, free: 10.19 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.002625/1.195, allocations: 2.858 MB / 0.9168 GB, free: 7.312 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.003239/1.198, allocations: 2.633 MB / 0.9194 GB, free: 4.656 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002958/1.201, allocations: 1.688 MB / 0.921 GB, free: 2.957 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.201, allocations: 313 kB / 0.9213 GB, free: 2.648 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007267/1.208, allocations: 3.809 MB / 0.925 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.218, allocations: 7.144 MB / 0.932 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3136/1.532, allocations: 46.27 MB / 0.9772 GB, free: 7.566 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-05/1.532, allocations: 20 kB / 0.9772 GB, free: 7.547 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.0269/1.559, allocations: 11.68 MB / 0.9886 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/1.559, allocations: 36 kB / 0.9887 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02012/1.579, allocations: 9.021 MB / 0.9975 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.309/1.888, allocations: 4.33 MB / 1.002 GB, free: 366.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/1.898, allocations: 2.273 MB / 1.004 GB, free: 366.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008193/1.906, allocations: 7.841 MB / 1.012 GB, free: 360.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005966/1.912, allocations: 407.9 kB / 1.012 GB, free: 360.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.914, allocations: 0.5037 MB / 1.012 GB, free: 360.8 MB / 0.8419 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.008988/1.923, allocations: 5.301 MB / 1.018 GB, free: 359.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007495/1.93, allocations: 7.095 MB / 1.025 GB, free: 353.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2855/2.216, allocations: 46.04 MB / 1.07 GB, free: 318.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.349e-05/2.216, allocations: 27.92 kB / 1.07 GB, free: 318.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02261/2.238, allocations: 11.54 MB / 1.081 GB, free: 307 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/2.238, allocations: 42.75 kB / 1.081 GB, free: 307 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01673/2.255, allocations: 8.9 MB / 1.09 GB, free: 298 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04804/2.303, allocations: 4.263 MB / 1.094 GB, free: 293.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007715/2.311, allocations: 2.168 MB / 1.096 GB, free: 291.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/2.317, allocations: 6.655 MB / 1.102 GB, free: 284.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/2.323, allocations: 407.4 kB / 1.103 GB, free: 284.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007831/2.324, allocations: 0.5036 MB / 1.103 GB, free: 283.8 MB / 0.8419 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.002397/2.326, allocations: 0.6677 MB / 1.104 GB, free: 283.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/2.328, allocations: 0.6946 MB / 1.105 GB, free: 282.9 MB / 0.8419 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.01331/2.341, allocations: 9.599 MB / 1.114 GB, free: 273.8 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.903083094977774] Failed to read output from testmodel.py, exit status != 0: 2.4629103429615498 2.472216027 1.5762871950000001 Calling exit ...