Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.0102/0.0102, allocations: 1.341 MB / 21.02 MB, free: 0.6055 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.001263/0.001263, allocations: 88.05 kB / 24.58 MB, free: 1.875 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.001549/0.001549, allocations: 166 kB / 28.25 MB, free: 3.141 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.399/1.399, allocations: 177.2 MB / 209 MB, free: 7.625 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 1.007/1.007, allocations: 102.5 MB / 368.4 MB, free: 4.137 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_CU_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.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.06831/0.06831, allocations: 20.95 MB / 0.5569 GB, free: 4.895 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.2172, allocations: 81.89 MB / 0.6369 GB, free: 2.867 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_CU_simple): time 0.1486/0.3658, allocations: 50.75 MB / 0.6864 GB, free: 124 kB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3352/0.701, allocations: 25.25 MB / 0.7111 GB, free: 9.629 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006092/0.7071, allocations: 157.7 kB / 0.7113 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00848/0.7156, allocations: 3.133 MB / 0.7143 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01379/0.7294, allocations: 4.916 MB / 0.7191 GB, free: 5.297 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01167/0.7411, allocations: 4.929 MB / 0.7239 GB, free: 2.133 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0203/0.7614, allocations: 13.89 MB / 0.7375 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008667/0.77, allocations: 4.396 MB / 0.7418 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/0.7819, allocations: 5.674 MB / 0.7473 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.7932, allocations: 5.703 MB / 0.7529 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003121/0.7963, allocations: 0.9397 MB / 0.7538 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008904/0.8052, allocations: 2.783 MB / 0.7565 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004886/0.8101, allocations: 2.996 MB / 0.7595 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00828/0.8184, allocations: 3.708 MB / 0.7631 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02203/0.8404, allocations: 14.8 MB / 0.7775 GB, free: 9.555 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8404, allocations: 4 kB / 0.7775 GB, free: 9.551 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8404, allocations: 0 / 0.7775 GB, free: 9.551 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003128/0.8407, allocations: 0.5625 kB / 0.7775 GB, free: 9.551 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.02088/0.8616, allocations: 10.96 MB / 0.7882 GB, free: 14.53 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.8617, allocations: 8.031 kB / 0.7882 GB, free: 14.52 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/0.865, allocations: 1.157 MB / 0.7894 GB, free: 13.36 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.8775, allocations: 6.948 MB / 0.7962 GB, free: 6.363 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.8779, allocations: 340.9 kB / 0.7965 GB, free: 6.027 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007631/0.8786, allocations: 453.2 kB / 0.7969 GB, free: 5.59 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0262/0.9048, allocations: 14.22 MB / 0.8108 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.9049, allocations: 51.5 kB / 0.8109 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005947/0.9055, allocations: 231.9 kB / 0.8111 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004872/0.906, allocations: 422.9 kB / 0.8115 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02609/0.9321, allocations: 9.893 MB / 0.8211 GB, free: 11 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.06031/0.9924, allocations: 45.54 MB / 0.8656 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0232/1.016, allocations: 8.137 MB / 0.8736 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006683/1.022, allocations: 3.049 MB / 0.8765 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009906/1.023, allocations: 270.4 kB / 0.8768 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01748/1.041, allocations: 6.539 MB / 0.8832 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002929/1.044, allocations: 0.7005 MB / 0.8839 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=865): time 1.715e-05/1.044, allocations: 0 / 0.8839 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=866): time 0.1074/1.151, allocations: 56.47 MB / 0.939 GB, free: 220 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001121/1.152, allocations: 1.813 MB / 0.9408 GB, free: 13.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.162, allocations: 6.33 MB / 0.947 GB, free: 7.668 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/1.164, allocations: 97.7 kB / 0.9471 GB, free: 7.566 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00319/1.167, allocations: 3.303 MB / 0.9503 GB, free: 4.242 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003559/1.17, allocations: 2.974 MB / 0.9532 GB, free: 1.242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003128/1.174, allocations: 1.914 MB / 0.9551 GB, free: 15.32 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.174, allocations: 305.1 kB / 0.9553 GB, free: 15.02 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007987/1.182, allocations: 4.157 MB / 0.9594 GB, free: 10.85 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/1.193, allocations: 7.922 MB / 0.9671 GB, free: 1.457 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6175/1.811, allocations: 51.46 MB / 1.017 GB, free: 355.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.083e-05/1.811, allocations: 23.59 kB / 1.017 GB, free: 355.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02491/1.836, allocations: 12.58 MB / 1.03 GB, free: 351.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.345e-05/1.836, allocations: 40.31 kB / 1.03 GB, free: 351.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01561/1.851, allocations: 9.426 MB / 1.039 GB, free: 346.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04821/1.9, allocations: 4.16 MB / 1.043 GB, free: 343.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009203/1.909, allocations: 2.543 MB / 1.045 GB, free: 341.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.919, allocations: 12.12 MB / 1.057 GB, free: 328.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006574/1.926, allocations: 443 kB / 1.058 GB, free: 328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.927, allocations: 0.5816 MB / 1.058 GB, free: 327.4 MB / 0.8419 GB Warning: Assuming fixed start value for the following 4 variables: 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.0107/1.938, allocations: 5.841 MB / 1.064 GB, free: 321.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008545/1.946, allocations: 7.882 MB / 1.072 GB, free: 312.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.343/2.289, allocations: 51.35 MB / 1.122 GB, free: 259.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.485e-05/2.29, allocations: 24 kB / 1.122 GB, free: 259.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02406/2.314, allocations: 12.49 MB / 1.134 GB, free: 247.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/2.314, allocations: 40 kB / 1.134 GB, free: 247.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0162/2.33, allocations: 9.324 MB / 1.143 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04831/2.378, allocations: 4.047 MB / 1.147 GB, free: 234.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009181/2.387, allocations: 2.519 MB / 1.15 GB, free: 231.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00973/2.397, allocations: 11.44 MB / 1.161 GB, free: 219.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006585/2.404, allocations: 455.1 kB / 1.161 GB, free: 219.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/2.405, allocations: 0.5738 MB / 1.162 GB, free: 218.6 MB / 0.8419 GB Warning: Assuming fixed start value for the following 4 variables: 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: 370 * 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 (1214): * Single equations (assignments): 1206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of prepare postOptimizeDAE: time 0.002893/2.408, allocations: 0.7474 MB / 1.163 GB, free: 217.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002545/2.411, allocations: 0.7941 MB / 1.163 GB, free: 217.5 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/2.428, allocations: 11.16 MB / 1.174 GB, free: 206.7 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 5.9864295879378915] Failed to read output from testmodel.py, exit status != 0: 2.5653833029791713 2.574538665 1.731685534 Calling exit ...