Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.009141/0.009141, 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.09555/0.09555, allocations: 25.6 MB / 49.71 MB, free: 2.883 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.001344/0.001344, allocations: 106.1 kB / 60.65 MB, free: 2.984 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.001233/0.001233, allocations: 215.1 kB / 71.72 MB, free: 6.488 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.9799/0.9799, allocations: 230.6 MB / 313.3 MB, free: 11.77 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.749/0.749, allocations: 130.8 MB / 0.4964 GB, free: 2.367 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-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 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_dev_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_dev_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.002631/0.002631, allocations: 155.8 kB / 0.6902 GB, free: 46.87 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1322, allocations: 89.27 MB / 0.7773 GB, free: 3.043 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.01685/0.149, allocations: 22.62 MB / 0.7994 GB, free: 12.32 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02618/0.1752, allocations: 24 MB / 0.8229 GB, free: 4.258 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.1777, allocations: 139 kB / 0.823 GB, free: 4.121 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.004384/0.1821, allocations: 2.865 MB / 0.8258 GB, free: 1.242 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.1879, allocations: 4.34 MB / 0.83 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.006536/0.1944, allocations: 4.421 MB / 0.8343 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.2049, allocations: 12.46 MB / 0.8465 GB, free: 11.98 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003983/0.2089, allocations: 3.893 MB / 0.8503 GB, free: 8.016 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.2147, allocations: 5.054 MB / 0.8552 GB, free: 2.945 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006247/0.2209, allocations: 5.09 MB / 0.8602 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002636/0.2236, allocations: 0.8477 MB / 0.861 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.228, allocations: 2.608 MB / 0.8636 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.2296, allocations: 2.683 MB / 0.8662 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.2329, allocations: 3.304 MB / 0.8694 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.2435, allocations: 13.34 MB / 0.8825 GB, free: 6.98 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2435, allocations: 4 kB / 0.8825 GB, free: 6.977 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2435, allocations: 0 / 0.8825 GB, free: 6.977 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0001266/0.2436, allocations: 0 / 0.8825 GB, free: 6.977 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.01128/0.2549, allocations: 9.791 MB / 0.892 GB, free: 13.09 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.255, allocations: 8.031 kB / 0.892 GB, free: 13.09 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000628/0.2556, allocations: 0.7163 MB / 0.8927 GB, free: 12.36 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.2572, allocations: 1.021 MB / 0.8937 GB, free: 11.33 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006651/0.2638, allocations: 6.15 MB / 0.8997 GB, free: 5.09 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.264, allocations: 307.8 kB / 0.9 GB, free: 4.789 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/0.2644, allocations: 387.9 kB / 0.9004 GB, free: 4.41 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3236/0.588, allocations: 12.6 MB / 0.9127 GB, free: 106.3 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.301e-05/0.5881, allocations: 46.38 kB / 0.9127 GB, free: 106.2 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004229/0.5885, allocations: 194.5 kB / 0.9129 GB, free: 106.1 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000346/0.5888, allocations: 405.8 kB / 0.9133 GB, free: 106.1 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.6039, allocations: 8.842 MB / 0.922 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.02837/0.6322, allocations: 39.64 MB / 0.9607 GB, free: 71.04 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.6438, allocations: 7.157 MB / 0.9677 GB, free: 66.32 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/0.6477, allocations: 2.822 MB / 0.9704 GB, free: 63.43 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.6483, allocations: 258 kB / 0.9707 GB, free: 63.18 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01007/0.6584, allocations: 5.896 MB / 0.9764 GB, free: 57.12 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002173/0.6606, allocations: 0.5909 MB / 0.977 GB, free: 56.69 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=765): time 1.505e-05/0.6606, allocations: 0 / 0.977 GB, free: 56.69 MB / 0.6668 GB Notification: Performance of matching and sorting (n=767): time 0.05032/0.7109, allocations: 47.84 MB / 1.024 GB, free: 8.559 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/0.7111, allocations: 1.679 MB / 1.025 GB, free: 6.484 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006037/0.7171, allocations: 5.667 MB / 1.031 GB, free: 0.9023 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/0.7184, allocations: 91.48 kB / 1.031 GB, free: 0.8086 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.7202, allocations: 2.845 MB / 1.034 GB, free: 14.23 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.002824/0.723, allocations: 2.642 MB / 1.036 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002707/0.7257, allocations: 1.69 MB / 1.038 GB, free: 10.21 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.7258, allocations: 301.1 kB / 1.038 GB, free: 9.91 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005561/0.7313, allocations: 3.811 MB / 1.042 GB, free: 6.082 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008638/0.74, allocations: 7.148 MB / 1.049 GB, free: 13.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1573/0.8973, allocations: 46.26 MB / 1.094 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.828e-05/0.8973, allocations: 20 kB / 1.094 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02064/0.918, allocations: 11.71 MB / 1.106 GB, free: 2.594 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.918, allocations: 32 kB / 1.106 GB, free: 2.562 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01575/0.9338, allocations: 9.007 MB / 1.114 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/0.9568, allocations: 4.335 MB / 1.119 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/0.9628, allocations: 2.27 MB / 1.121 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/0.9688, allocations: 7.901 MB / 1.129 GB, free: 10.65 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/0.9731, allocations: 403.6 kB / 1.129 GB, free: 10.25 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/0.9744, allocations: 0.5075 MB / 1.129 GB, free: 9.746 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.00865/0.9831, allocations: 5.293 MB / 1.135 GB, free: 4.441 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007494/0.9906, allocations: 7.094 MB / 1.142 GB, free: 12.05 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1403/1.131, allocations: 46.05 MB / 1.187 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-05/1.131, allocations: 20 kB / 1.187 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01969/1.151, allocations: 11.56 MB / 1.198 GB, free: 1.34 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/1.151, allocations: 35.84 kB / 1.198 GB, free: 1.309 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01533/1.166, allocations: 8.893 MB / 1.207 GB, free: 8.352 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02667/1.193, allocations: 4.261 MB / 1.211 GB, free: 4.098 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006768/1.199, allocations: 2.157 MB / 1.213 GB, free: 1.938 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/1.206, allocations: 6.736 MB / 1.219 GB, free: 10.84 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005366/1.212, allocations: 412.7 kB / 1.22 GB, free: 10.43 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/1.213, allocations: 0.5075 MB / 1.22 GB, free: 9.926 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.002407/1.216, allocations: 0.6715 MB / 1.221 GB, free: 9.246 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/1.218, allocations: 0.706 MB / 1.222 GB, free: 8.535 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.3134/1.531, allocations: 9.588 MB / 1.231 GB, free: 300.2 MB / 0.8699 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.524960701353848]