Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.005995/0.005995, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07873/0.07873, allocations: 18.24 MB / 42.19 MB, free: 5.184 MB / 33.03 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.001455/0.001455, allocations: 92.81 kB / 53.07 MB, free: 6.508 MB / 44.04 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.001447/0.001447, allocations: 161.4 kB / 64.04 MB, free: 10.2 MB / 58.72 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.8877/0.8877, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.7 MB " [Timeout remaining time 179] 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.5121/0.5121, allocations: 102.5 MB / 418.6 MB, free: 5.203 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6029 GB, free: 276 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.721e-05, allocations: 6.281 kB / 0.6029 GB, free: 268 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.01737/0.01739, allocations: 24.43 MB / 0.6268 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03059/0.04798, allocations: 26.09 MB / 0.6523 GB, free: 13.56 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004449/0.05242, allocations: 150.9 kB / 0.6524 GB, free: 13.41 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.005952/0.05838, allocations: 2.972 MB / 0.6553 GB, free: 10.42 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.009185/0.06756, allocations: 5.164 MB / 0.6604 GB, free: 5.234 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.008142/0.0757, allocations: 5.128 MB / 0.6654 GB, free: 116 kB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2487/0.3244, allocations: 14.31 MB / 0.6793 GB, free: 18.89 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006546/0.3309, allocations: 4.408 MB / 0.6836 GB, free: 18.46 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01503/0.3459, allocations: 7.642 MB / 0.6911 GB, free: 17.84 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009585/0.3555, allocations: 5.047 MB / 0.696 GB, free: 17.07 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003403/0.3589, allocations: 0.9762 MB / 0.697 GB, free: 17.07 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008482/0.3674, allocations: 3.224 MB / 0.7001 GB, free: 16.61 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005056/0.3725, allocations: 3.162 MB / 0.7032 GB, free: 14.96 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007787/0.3803, allocations: 3.172 MB / 0.7063 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.3978, allocations: 15.92 MB / 0.7219 GB, free: 4.898 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3978, allocations: 0 / 0.7219 GB, free: 4.898 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3978, allocations: 4.375 kB / 0.7219 GB, free: 4.898 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004378/0.3983, allocations: 0 / 0.7219 GB, free: 4.898 MB / 0.5418 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.02337/0.4216, allocations: 11.15 MB / 0.7328 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4217, allocations: 13.61 kB / 0.7328 GB, free: 13.26 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001164/0.4229, allocations: 0.7899 MB / 0.7335 GB, free: 12.69 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.4255, allocations: 1.123 MB / 0.7346 GB, free: 12.06 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.4398, allocations: 7.666 MB / 0.7421 GB, free: 5.66 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004376/0.4403, allocations: 461.6 kB / 0.7426 GB, free: 5.191 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.4417, allocations: 435.8 kB / 0.743 GB, free: 4.773 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.4635, allocations: 13.59 MB / 0.7563 GB, free: 5.699 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.779e-05/0.4636, allocations: 46.44 kB / 0.7563 GB, free: 5.68 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005881/0.4642, allocations: 219.9 kB / 0.7565 GB, free: 5.473 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/0.4645, allocations: 426.2 kB / 0.7569 GB, free: 5.059 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.4843, allocations: 9.698 MB / 0.7664 GB, free: 11.59 MB / 0.5887 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.05453/0.5389, allocations: 43.2 MB / 0.8086 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.5544, allocations: 7.971 MB / 0.8164 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004765/0.5591, allocations: 3.078 MB / 0.8194 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.5602, allocations: 393.8 kB / 0.8197 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0132/0.5734, allocations: 6.33 MB / 0.8259 GB, free: 13.57 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002964/0.5764, allocations: 0.5653 MB / 0.8265 GB, free: 13 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=833): time 1.212e-05/0.5764, allocations: 4 kB / 0.8265 GB, free: 13 MB / 0.6512 GB Notification: Performance of matching and sorting (n=834): time 0.08672/0.6631, allocations: 52.79 MB / 0.878 GB, free: 7.883 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005031/0.6636, allocations: 1.753 MB / 0.8797 GB, free: 5.723 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009747/0.6733, allocations: 6.959 MB / 0.8865 GB, free: 14.78 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/0.6746, allocations: 101.7 kB / 0.8866 GB, free: 14.68 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.6767, allocations: 3.163 MB / 0.8897 GB, free: 11.52 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00325/0.6799, allocations: 2.833 MB / 0.8925 GB, free: 8.727 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002942/0.6829, allocations: 1.791 MB / 0.8942 GB, free: 6.922 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.6829, allocations: 305.1 kB / 0.8945 GB, free: 6.621 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005629/0.6885, allocations: 4.041 MB / 0.8985 GB, free: 2.562 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008104/0.6967, allocations: 7.601 MB / 0.9059 GB, free: 9.629 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4265/1.123, allocations: 52.03 MB / 0.9567 GB, free: 255.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.193e-05/1.123, allocations: 22.72 kB / 0.9567 GB, free: 255.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02007/1.143, allocations: 12.34 MB / 0.9688 GB, free: 250.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/1.143, allocations: 40.12 kB / 0.9688 GB, free: 250.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01515/1.159, allocations: 9.473 MB / 0.9781 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02299/1.182, allocations: 3.896 MB / 0.9819 GB, free: 246.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006422/1.188, allocations: 2.395 MB / 0.9842 GB, free: 246.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/1.195, allocations: 13.33 MB / 0.9972 GB, free: 234.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005492/1.201, allocations: 0.5055 MB / 0.9977 GB, free: 234.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.202, allocations: 0.5497 MB / 0.9983 GB, free: 234.4 MB / 0.7605 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.008904/1.211, allocations: 5.715 MB / 1.004 GB, free: 231.9 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00619/1.217, allocations: 7.535 MB / 1.011 GB, free: 225.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1574/1.375, allocations: 49.78 MB / 1.06 GB, free: 179.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.052e-05/1.375, allocations: 24 kB / 1.06 GB, free: 179.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.0179/1.392, allocations: 11.95 MB / 1.072 GB, free: 167.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/1.392, allocations: 36 kB / 1.072 GB, free: 167.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01125/1.404, allocations: 9.063 MB / 1.08 GB, free: 158.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/1.405, allocations: 0.6665 MB / 1.081 GB, free: 158 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/1.41, allocations: 2.395 MB / 1.083 GB, free: 155.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006831/1.417, allocations: 14.23 MB / 1.097 GB, free: 140.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/1.422, allocations: 0.5161 MB / 1.098 GB, free: 140 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000997/1.423, allocations: 0.5426 MB / 1.098 GB, free: 139.5 MB / 0.7605 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.002192/1.425, allocations: 0.7266 MB / 1.099 GB, free: 138.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001969/1.427, allocations: 0.7899 MB / 1.1 GB, free: 138.4 MB / 0.7605 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.01234/1.44, allocations: 10.69 MB / 1.11 GB, free: 128 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.203261846676469]