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 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.009989/0.009989, allocations: 1.768 MB / 20.61 MB, free: 3.875 MB / 13.93 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.09454/0.09454, allocations: 25.6 MB / 49.71 MB, free: 2.848 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.001256/0.001256, allocations: 110.1 kB / 60.65 MB, free: 2.914 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.001047/0.001047, allocations: 222.6 kB / 71.73 MB, free: 6.457 MB / 44.04 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.9278/0.9278, allocations: 230.6 MB / 313.3 MB, free: 11.76 MB / 234.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.7353/0.7353, allocations: 130.7 MB / 0.4963 GB, free: 2.199 MB / 362.8 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_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me_cs",version="2.0",platforms={"static"}) [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: 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: 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: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 151.6 kB / 0.6901 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1567, allocations: 89.27 MB / 0.7772 GB, free: 2.969 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.01961/0.1763, allocations: 22.62 MB / 0.7993 GB, free: 12.26 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03282/0.2092, allocations: 24 MB / 0.8228 GB, free: 4.195 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004271/0.2134, allocations: 139 kB / 0.8229 GB, free: 4.059 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.2181, allocations: 2.857 MB / 0.8257 GB, free: 1.188 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.007182/0.2253, allocations: 4.334 MB / 0.8299 GB, free: 12.83 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.007839/0.2332, allocations: 4.429 MB / 0.8342 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.2457, allocations: 12.47 MB / 0.8464 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004804/0.2505, allocations: 3.889 MB / 0.8502 GB, free: 7.945 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007024/0.2575, allocations: 5.05 MB / 0.8551 GB, free: 2.879 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0063/0.2638, allocations: 5.088 MB / 0.8601 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002012/0.2658, allocations: 0.8477 MB / 0.8609 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.2705, allocations: 2.603 MB / 0.8635 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.2721, allocations: 2.679 MB / 0.8661 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.2751, allocations: 3.304 MB / 0.8693 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.2861, allocations: 13.35 MB / 0.8824 GB, free: 6.91 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2861, allocations: 0 / 0.8824 GB, free: 6.91 MB / 0.6512 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2861, allocations: 4 kB / 0.8824 GB, free: 6.906 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.000157/0.2862, allocations: 0 / 0.8824 GB, free: 6.906 MB / 0.6512 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.01223/0.2985, allocations: 9.784 MB / 0.8919 GB, free: 13.03 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.2985, allocations: 16.02 kB / 0.8919 GB, free: 13.02 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006875/0.2992, allocations: 0.7201 MB / 0.8926 GB, free: 12.29 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.301, allocations: 1.014 MB / 0.8936 GB, free: 11.27 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007299/0.3083, allocations: 6.148 MB / 0.8996 GB, free: 5.027 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3085, allocations: 303.8 kB / 0.8999 GB, free: 4.73 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/0.3089, allocations: 387.9 kB / 0.9003 GB, free: 4.352 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3394/0.6483, allocations: 12.6 MB / 0.9126 GB, free: 106.3 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.883e-05/0.6484, allocations: 45.81 kB / 0.9126 GB, free: 106.2 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.6488, allocations: 195.5 kB / 0.9128 GB, free: 106.1 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003679/0.6491, allocations: 405.6 kB / 0.9132 GB, free: 106.1 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/0.6653, allocations: 8.852 MB / 0.9219 GB, free: 103.2 MB / 0.6668 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.02869/0.694, allocations: 39.63 MB / 0.9606 GB, free: 71.04 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.7042, allocations: 7.162 MB / 0.9676 GB, free: 66.34 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.707, allocations: 2.814 MB / 0.9703 GB, free: 63.45 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.7075, allocations: 261.1 kB / 0.9706 GB, free: 63.19 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007704/0.7152, allocations: 5.892 MB / 0.9763 GB, free: 57.14 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001612/0.7168, allocations: 0.5865 MB / 0.9769 GB, free: 56.71 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=765): time 6.632e-06/0.7168, allocations: 0 / 0.9769 GB, free: 56.71 MB / 0.6668 GB Notification: Performance of matching and sorting (n=767): time 0.04265/0.7595, allocations: 47.85 MB / 1.024 GB, free: 8.578 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.7596, allocations: 1.679 MB / 1.025 GB, free: 6.504 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.7645, allocations: 5.669 MB / 1.031 GB, free: 0.9219 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.7648, allocations: 101.6 kB / 1.031 GB, free: 0.8164 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.7665, allocations: 2.847 MB / 1.034 GB, free: 14.27 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/0.768, allocations: 2.645 MB / 1.036 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00209/0.7701, allocations: 1.686 MB / 1.038 GB, free: 10.25 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.7702, allocations: 305.9 kB / 1.038 GB, free: 9.953 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004468/0.7746, allocations: 3.815 MB / 1.042 GB, free: 6.121 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006573/0.7812, allocations: 7.144 MB / 1.049 GB, free: 13.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1426/0.9238, allocations: 46.26 MB / 1.094 GB, free: 14.42 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.7e-05/0.9238, allocations: 24 kB / 1.094 GB, free: 14.39 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01693/0.9407, allocations: 11.7 MB / 1.106 GB, free: 2.629 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.9408, allocations: 40.91 kB / 1.106 GB, free: 2.59 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01194/0.9527, allocations: 9.002 MB / 1.114 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/0.9758, allocations: 4.34 MB / 1.119 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/0.9813, allocations: 2.266 MB / 1.121 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.987, allocations: 7.897 MB / 1.129 GB, free: 10.68 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/0.9912, allocations: 403.6 kB / 1.129 GB, free: 10.29 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000645/0.9919, allocations: 0.4997 MB / 1.129 GB, free: 9.785 MB / 0.7762 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.00728/0.9992, allocations: 5.296 MB / 1.135 GB, free: 4.477 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006222/1.005, allocations: 7.086 MB / 1.141 GB, free: 12.1 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.176/1.181, allocations: 46.06 MB / 1.186 GB, free: 13.03 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.998e-05/1.181, allocations: 20 kB / 1.186 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01855/1.2, allocations: 11.56 MB / 1.198 GB, free: 1.379 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/1.2, allocations: 36.22 kB / 1.198 GB, free: 1.344 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01141/1.211, allocations: 8.894 MB / 1.206 GB, free: 8.383 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02205/1.233, allocations: 4.263 MB / 1.211 GB, free: 4.129 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005086/1.239, allocations: 2.161 MB / 1.213 GB, free: 1.965 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/1.244, allocations: 6.738 MB / 1.219 GB, free: 10.86 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/1.247, allocations: 409.8 kB / 1.22 GB, free: 10.46 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006519/1.248, allocations: 0.4997 MB / 1.22 GB, free: 9.965 MB / 0.8699 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.0015/1.249, allocations: 0.6682 MB / 1.221 GB, free: 9.289 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.251, allocations: 0.7099 MB / 1.222 GB, free: 8.574 MB / 0.8699 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.2759/1.526, allocations: 9.598 MB / 1.231 GB, free: 300.5 MB / 0.8699 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.452180817723274]