Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.006087/0.006087, allocations: 1.358 MB / 20.45 MB, free: 4.098 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.07575/0.07575, allocations: 18.24 MB / 42.2 MB, free: 5.188 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.001413/0.001413, allocations: 87.19 kB / 53.06 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.001057/0.001057, allocations: 161.5 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.908/0.908, allocations: 177.2 MB / 252.1 MB, free: 11.77 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.4927/0.4927, allocations: 102.5 MB / 418.6 MB, free: 5.211 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_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.917e-05, allocations: 4.531 kB / 0.6029 GB, free: 256 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.01716/0.01718, allocations: 22.52 MB / 0.6249 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02498/0.04216, allocations: 21.83 MB / 0.6462 GB, free: 3.734 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003368/0.04553, allocations: 139 kB / 0.6464 GB, free: 3.598 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004175/0.0497, allocations: 2.582 MB / 0.6489 GB, free: 1 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.05596, allocations: 3.793 MB / 0.6526 GB, free: 13.18 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.005884/0.06184, allocations: 3.99 MB / 0.6565 GB, free: 9.191 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2413/0.3031, allocations: 10.16 MB / 0.6664 GB, free: 20.28 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004815/0.3079, allocations: 3.339 MB / 0.6697 GB, free: 20.03 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006444/0.3144, allocations: 5.677 MB / 0.6752 GB, free: 20.03 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003827/0.3182, allocations: 3.481 MB / 0.6786 GB, free: 20.03 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.000659/0.3189, allocations: 0.667 MB / 0.6793 GB, free: 20.03 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.3218, allocations: 1.991 MB / 0.6812 GB, free: 20.03 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.3229, allocations: 2.062 MB / 0.6832 GB, free: 19.96 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.3246, allocations: 2.206 MB / 0.6854 GB, free: 19.65 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007881/0.3325, allocations: 10.46 MB / 0.6956 GB, free: 18.61 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3325, allocations: 2.938 kB / 0.6956 GB, free: 18.61 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3325, allocations: 1.062 kB / 0.6956 GB, free: 18.61 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 9.174e-05/0.3326, allocations: 0 / 0.6956 GB, free: 18.61 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: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.008013/0.3406, allocations: 7.301 MB / 0.7027 GB, free: 15.24 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3406, allocations: 10.59 kB / 0.7028 GB, free: 15.24 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005451/0.3412, allocations: 0.6025 MB / 0.7033 GB, free: 14.91 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.3426, allocations: 0.8973 MB / 0.7042 GB, free: 14.48 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005546/0.3482, allocations: 5.389 MB / 0.7095 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.3483, allocations: 254.3 kB / 0.7097 GB, free: 11.01 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.3487, allocations: 309.6 kB / 0.71 GB, free: 10.91 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.3587, allocations: 10.05 MB / 0.7198 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/0.3588, allocations: 43.19 kB / 0.7199 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.3591, allocations: 173.5 kB / 0.72 GB, free: 2.789 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.3592, allocations: 201.5 kB / 0.7202 GB, free: 2.758 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009727/0.3689, allocations: 6.523 MB / 0.7266 GB, free: 15.78 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/0.3899, allocations: 33.36 MB / 0.7592 GB, free: 2.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008484/0.3984, allocations: 5.537 MB / 0.7646 GB, free: 13.46 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.4008, allocations: 1.876 MB / 0.7664 GB, free: 11.52 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.4011, allocations: 185 kB / 0.7666 GB, free: 11.35 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.4012, allocations: 91.98 kB / 0.7667 GB, free: 11.26 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001982/0.4032, allocations: 0.6236 MB / 0.7673 GB, free: 10.63 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=712): time 5.651e-06/0.4032, allocations: 0 / 0.7673 GB, free: 10.63 MB / 0.5887 GB Notification: Performance of matching and sorting (n=712): time 0.0185/0.4217, allocations: 10.99 MB / 0.778 GB, free: 15.62 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004007/0.4221, allocations: 1.031 MB / 0.779 GB, free: 14.35 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.4271, allocations: 4.961 MB / 0.7839 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.4274, allocations: 69.7 kB / 0.7839 GB, free: 9.34 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.4288, allocations: 2.434 MB / 0.7863 GB, free: 6.91 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.43, allocations: 2.382 MB / 0.7886 GB, free: 4.562 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.4316, allocations: 1.454 MB / 0.7901 GB, free: 3.094 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.4316, allocations: 305.1 kB / 0.7904 GB, free: 2.793 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/0.4352, allocations: 2.674 MB / 0.793 GB, free: 108 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004484/0.4396, allocations: 5.233 MB / 0.7981 GB, free: 9.855 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06237/0.502, allocations: 20.51 MB / 0.8181 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-05/0.502, allocations: 19.94 kB / 0.8181 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0113/0.5133, allocations: 8.464 MB / 0.8264 GB, free: 12.46 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.5134, allocations: 34.19 kB / 0.8264 GB, free: 12.43 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007878/0.5213, allocations: 6.167 MB / 0.8325 GB, free: 6.219 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.5216, allocations: 201.7 kB / 0.8326 GB, free: 6.016 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/0.5251, allocations: 2.015 MB / 0.8346 GB, free: 4.117 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.5267, allocations: 2.898 MB / 0.8374 GB, free: 1.039 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.5295, allocations: 324 kB / 0.8378 GB, free: 0.7227 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000496/0.53, allocations: 495.6 kB / 0.8382 GB, free: 244 kB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005367/0.5354, allocations: 3.747 MB / 0.8419 GB, free: 12.49 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004296/0.5397, allocations: 5.209 MB / 0.847 GB, free: 6.262 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06013/0.5998, allocations: 20.41 MB / 0.8669 GB, free: 1.152 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.275e-05/0.5999, allocations: 20 kB / 0.8669 GB, free: 1.133 MB / 0.6824 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01163/0.6115, allocations: 8.381 MB / 0.8751 GB, free: 9.059 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.6115, allocations: 32 kB / 0.8751 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007856/0.6194, allocations: 6.069 MB / 0.8811 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.6196, allocations: 181.8 kB / 0.8812 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/0.6233, allocations: 2.008 MB / 0.8832 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.6248, allocations: 2.861 MB / 0.886 GB, free: 13.79 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.6279, allocations: 316 kB / 0.8863 GB, free: 13.48 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005165/0.6284, allocations: 491.7 kB / 0.8868 GB, free: 13 MB / 0.7137 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 286 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 989 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001319/0.6298, allocations: 0.6236 MB / 0.8874 GB, free: 12.49 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.6308, allocations: 0.64 MB / 0.888 GB, free: 11.84 MB / 0.7137 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.6411, allocations: 9.186 MB / 0.897 GB, free: 2.984 MB / 0.7137 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2434920640662313]