Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_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.005862/0.005862, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0006716/0.0006716, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0008327/0.0008327, allocations: 160.5 kB / 27.85 MB, free: 5.098 MB / 18.57 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 0.8442/0.8442, allocations: 177.2 MB / 208.6 MB, free: 2.957 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7363/0.7363, allocations: 102.4 MB / 367.9 MB, free: 1.441 MB / 330.8 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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5367 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.475e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.8 MB / 490.8 MB 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_BU_simple): time 0.1196/0.1196, allocations: 71.09 MB / 0.6061 GB, free: 4.848 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03555/0.1552, allocations: 26.1 MB / 0.6316 GB, free: 10.66 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006322/0.1615, allocations: 146.9 kB / 0.6317 GB, free: 10.52 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007913/0.1694, allocations: 2.965 MB / 0.6346 GB, free: 7.535 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.1822, allocations: 5.154 MB / 0.6397 GB, free: 2.352 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.1937, allocations: 5.141 MB / 0.6447 GB, free: 13.2 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01771/0.2114, allocations: 14.32 MB / 0.6587 GB, free: 14.83 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00773/0.2191, allocations: 4.403 MB / 0.663 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01686/0.236, allocations: 7.644 MB / 0.6704 GB, free: 2.703 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008985/0.245, allocations: 5.058 MB / 0.6754 GB, free: 13.64 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.003531/0.2485, allocations: 0.9727 MB / 0.6763 GB, free: 12.66 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009002/0.2575, allocations: 3.228 MB / 0.6795 GB, free: 9.43 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.005003/0.2625, allocations: 3.162 MB / 0.6826 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.007428/0.2699, allocations: 3.168 MB / 0.6856 GB, free: 3.082 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02285/0.2928, allocations: 15.91 MB / 0.7012 GB, free: 3.125 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.2928, allocations: 0 / 0.7012 GB, free: 3.125 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2928, allocations: 0 / 0.7012 GB, free: 3.125 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0007124/0.2935, allocations: 0 / 0.7012 GB, free: 3.125 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.02967/0.3232, allocations: 11.16 MB / 0.7121 GB, free: 7.867 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3232, allocations: 12.03 kB / 0.7121 GB, free: 7.855 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/0.327, allocations: 1.131 MB / 0.7132 GB, free: 6.719 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.3423, allocations: 7.652 MB / 0.7207 GB, free: 14.98 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.3427, allocations: 451.6 kB / 0.7211 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.3446, allocations: 439.9 kB / 0.7215 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.3663, allocations: 13.6 MB / 0.7348 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.462e-05/0.3664, allocations: 43.56 kB / 0.7348 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005941/0.367, allocations: 228 kB / 0.7351 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003246/0.3673, allocations: 423 kB / 0.7355 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/0.3865, allocations: 9.7 MB / 0.7449 GB, free: 4.441 MB / 0.6355 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.3275/0.714, allocations: 42.47 MB / 0.7864 GB, free: 144.4 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.7295, allocations: 7.964 MB / 0.7942 GB, free: 142 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004997/0.7345, allocations: 3.082 MB / 0.7972 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.7356, allocations: 398.2 kB / 0.7976 GB, free: 140.5 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01127/0.7469, allocations: 6.326 MB / 0.8038 GB, free: 137.7 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002936/0.7498, allocations: 0.5506 MB / 0.8043 GB, free: 137.6 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=833): time 2.343e-05/0.7498, allocations: 0 / 0.8043 GB, free: 137.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=834): time 0.06224/0.8121, allocations: 52.78 MB / 0.8558 GB, free: 99.69 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/0.8123, allocations: 1.758 MB / 0.8575 GB, free: 97.53 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008205/0.8205, allocations: 6.809 MB / 0.8642 GB, free: 90.84 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001613/0.8221, allocations: 101.7 kB / 0.8643 GB, free: 90.74 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.8236, allocations: 3.192 MB / 0.8674 GB, free: 87.83 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002665/0.8262, allocations: 2.826 MB / 0.8702 GB, free: 85.41 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.8281, allocations: 1.798 MB / 0.8719 GB, free: 83.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.8281, allocations: 307.7 kB / 0.8722 GB, free: 83.3 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004332/0.8325, allocations: 4.043 MB / 0.8762 GB, free: 79.25 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005317/0.8378, allocations: 7.597 MB / 0.8836 GB, free: 70.3 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.162/0.9998, allocations: 52.05 MB / 0.9344 GB, free: 18.24 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.871e-05/0.9998, allocations: 20 kB / 0.9344 GB, free: 18.22 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01888/1.019, allocations: 12.33 MB / 0.9465 GB, free: 5.848 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/1.019, allocations: 39.94 kB / 0.9465 GB, free: 5.809 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01338/1.032, allocations: 9.474 MB / 0.9558 GB, free: 12.29 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02129/1.053, allocations: 3.902 MB / 0.9596 GB, free: 8.406 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006535/1.06, allocations: 2.398 MB / 0.9619 GB, free: 6.004 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009098/1.069, allocations: 13.18 MB / 0.9748 GB, free: 8.098 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006502/1.076, allocations: 0.5073 MB / 0.9753 GB, free: 7.594 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/1.078, allocations: 0.5465 MB / 0.9758 GB, free: 7.047 MB / 0.6824 GB Warning: Assuming fixed start value for the following 6 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 hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" 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.009819/1.087, allocations: 5.7 MB / 0.9814 GB, free: 1.344 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007483/1.095, allocations: 7.536 MB / 0.9887 GB, free: 8.441 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.161/1.256, allocations: 49.79 MB / 1.037 GB, free: 5.656 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.219e-05/1.256, allocations: 20 kB / 1.037 GB, free: 5.637 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.3497/1.606, allocations: 11.94 MB / 1.049 GB, free: 251.6 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/1.606, allocations: 37.62 kB / 1.049 GB, free: 251.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0164/1.622, allocations: 9.052 MB / 1.058 GB, free: 249 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/1.624, allocations: 0.6662 MB / 1.059 GB, free: 248.8 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/1.63, allocations: 2.391 MB / 1.061 GB, free: 248.6 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/1.639, allocations: 14.08 MB / 1.075 GB, free: 236.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006862/1.645, allocations: 0.5131 MB / 1.075 GB, free: 236.2 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002032/1.648, allocations: 0.5408 MB / 1.076 GB, free: 236.1 MB / 0.7449 GB Warning: Assuming fixed start value for the following 6 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 hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" 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: 330 * Number of states: 0 () * Number of discrete variables: 8 ($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,valve_shell1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1154): * Single equations (assignments): 1145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {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): 3 systems {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002794/1.65, allocations: 0.7171 MB / 1.076 GB, free: 235.6 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002435/1.653, allocations: 0.7659 MB / 1.077 GB, free: 235.6 MB / 0.7449 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 1268 equation(s) and 1214 variable(s). Error: ($cse509, $cse510, $cse511, $cse512, $cse513, $cse514, $cse515, $cse516, $cse517, $cse518, $cse519, $cse520) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 3 variables (hex.shell.Q_flow[2], hex.shell.heattransfer.Q_flow_tot, hex.shell.summary.outline.Q_flow[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/1.67, allocations: 10.69 MB / 1.088 GB, free: 232 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.419754274189472] Failed to read output from testmodel.py, exit status != 0: 1.8328360002487898 1.841505609 1.546738344 Calling exit ...