Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage.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.0178/0.0178, allocations: 1.772 MB / 20.62 MB, free: 3.863 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.1076/0.1076, allocations: 25.61 MB / 49.71 MB, free: 2.973 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.001187/0.001187, allocations: 114.1 kB / 60.66 MB, free: 3.023 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.001896/0.001896, allocations: 218.5 kB / 71.73 MB, free: 6.477 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 1.017/1.017, allocations: 230.6 MB / 313.3 MB, free: 11.78 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.779/0.779, allocations: 130.8 MB / 0.4964 GB, free: 2.371 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.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",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.002646/0.002646, allocations: 162.1 kB / 0.6902 GB, free: 46.87 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1471, allocations: 89.26 MB / 0.7773 GB, free: 3.066 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage): time 0.01403/0.1611, allocations: 19.09 MB / 0.796 GB, free: 15.89 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.1818, allocations: 17.91 MB / 0.8135 GB, free: 13.93 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.1849, allocations: 138.9 kB / 0.8136 GB, free: 13.79 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.0035/0.1884, allocations: 2.079 MB / 0.8156 GB, free: 11.7 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.006163/0.1945, allocations: 3.147 MB / 0.8187 GB, free: 8.539 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005169/0.1997, allocations: 3.501 MB / 0.8221 GB, free: 5.039 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.008198/0.2079, allocations: 8.134 MB / 0.8301 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.2112, allocations: 2.593 MB / 0.8326 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004318/0.2155, allocations: 3.324 MB / 0.8358 GB, free: 6.895 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/0.2195, allocations: 3.207 MB / 0.839 GB, free: 3.672 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.2206, allocations: 0.5234 MB / 0.8395 GB, free: 3.148 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.2238, allocations: 1.588 MB / 0.841 GB, free: 1.559 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.2248, allocations: 1.607 MB / 0.8426 GB, free: 15.94 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.2269, allocations: 2.238 MB / 0.8448 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.007378/0.2343, allocations: 8.405 MB / 0.853 GB, free: 5.258 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2343, allocations: 0 / 0.853 GB, free: 5.258 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2343, allocations: 4 kB / 0.853 GB, free: 5.254 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0001754/0.2345, allocations: 0 / 0.853 GB, free: 5.254 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.00756/0.242, allocations: 6.146 MB / 0.859 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.2421, allocations: 12.03 kB / 0.859 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004692/0.2426, allocations: 0.5385 MB / 0.8595 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.2439, allocations: 0.7776 MB / 0.8603 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/0.2493, allocations: 4.472 MB / 0.8647 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.2494, allocations: 250.3 kB / 0.8649 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.2497, allocations: 300 kB / 0.8652 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.2597, allocations: 8.172 MB / 0.8732 GB, free: 15.17 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-05/0.2598, allocations: 47.56 kB / 0.8732 GB, free: 15.12 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/0.2601, allocations: 160 kB / 0.8734 GB, free: 14.96 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/0.2601, allocations: 108 kB / 0.8735 GB, free: 14.86 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009236/0.2694, allocations: 5.497 MB / 0.8788 GB, free: 9.352 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3563/0.6256, allocations: 34.61 MB / 0.9126 GB, free: 88.78 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008387/0.634, allocations: 3.98 MB / 0.9165 GB, free: 88.01 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.6359, allocations: 1.271 MB / 0.9178 GB, free: 87.38 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.6367, allocations: 279.5 kB / 0.918 GB, free: 87.35 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.6368, allocations: 79.33 kB / 0.9181 GB, free: 87.29 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=556): time 5.57e-06/0.6368, allocations: 0.625 kB / 0.9181 GB, free: 87.29 MB / 0.6668 GB Notification: Performance of matching and sorting (n=556): time 0.01758/0.6544, allocations: 7.934 MB / 0.9259 GB, free: 85.25 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.6545, allocations: 0.7183 MB / 0.9266 GB, free: 84.4 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005226/0.6597, allocations: 4.477 MB / 0.9309 GB, free: 82.9 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0004476/0.6602, allocations: 66.02 kB / 0.931 GB, free: 82.84 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009057/0.6611, allocations: 2.253 MB / 0.9332 GB, free: 81.24 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009309/0.662, allocations: 1.892 MB / 0.935 GB, free: 79.99 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.6635, allocations: 1.283 MB / 0.9363 GB, free: 79.38 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.6635, allocations: 306.6 kB / 0.9366 GB, free: 79.08 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/0.666, allocations: 1.882 MB / 0.9384 GB, free: 78.09 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/0.6691, allocations: 4.232 MB / 0.9426 GB, free: 74 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0057/0.6748, allocations: 6.481 MB / 0.9489 GB, free: 69.02 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/0.6748, allocations: 18.97 kB / 0.9489 GB, free: 69.02 MB / 0.6668 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.007719/0.6826, allocations: 6.639 MB / 0.9554 GB, free: 63.25 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.6826, allocations: 36.66 kB / 0.9554 GB, free: 63.21 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004848/0.6874, allocations: 4.264 MB / 0.9596 GB, free: 58.93 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.465e-05/0.6875, allocations: 104 kB / 0.9597 GB, free: 58.83 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.69, allocations: 1.673 MB / 0.9613 GB, free: 57.15 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-05/0.6901, allocations: 152.3 kB / 0.9615 GB, free: 57 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.6925, allocations: 0.7204 MB / 0.9622 GB, free: 56.45 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003811/0.6929, allocations: 435.7 kB / 0.9626 GB, free: 56.03 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (853): * Single equations (assignments): 853 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002066/0.6949, allocations: 1.222 MB / 0.9638 GB, free: 54.84 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008538/0.6958, allocations: 0.5586 MB / 0.9643 GB, free: 54.27 MB / 0.6668 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 758 equation(s) and 728 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (valve1.fluidOut.VLE.d_l, valve1.fluidOut.VLE.h_l, valve1.fluidOut.VLE.p_l, valve1.fluidOut.VLE.s_l, valve1.fluidOut.VLE.T_l, _, valve1.fluidOut.VLE.d_v, valve1.fluidOut.VLE.h_v, valve1.fluidOut.VLE.p_v, valve1.fluidOut.VLE.s_v, valve1.fluidOut.VLE.T_v, _) = ($cse182, $cse183, $cse184, $cse185, $cse186, $cse187, $cse188, $cse189, $cse190, $cse191, $cse192, $cse193) has size 10 but 9 variables (valve4.fluidIn.q, valve4.fluidIn.cp, valve4.fluidIn.cv, valve4.fluidIn.beta, valve4.fluidIn.kappa, valve4.fluidIn.w, valve4.fluidIn.drhodh_pxi, valve4.fluidIn.drhodp_hxi, valve4.fluidIn.gamma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007134/0.7029, allocations: 6.722 MB / 0.9709 GB, free: 47.6 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8781931111589074]