Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.00996/0.00996, allocations: 1.768 MB / 20.62 MB, free: 3.855 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.1133/0.1133, allocations: 25.61 MB / 49.71 MB, free: 2.938 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.001535/0.001535, allocations: 106.1 kB / 60.65 MB, free: 3.008 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.001407/0.001407, allocations: 211.6 kB / 71.72 MB, free: 6.484 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.102/1.102, 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/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.8375/0.8375, allocations: 130.7 MB / 0.4963 GB, free: 2.168 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.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_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.004389/0.004389, allocations: 151.5 kB / 0.6901 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1612, allocations: 89.28 MB / 0.7772 GB, free: 2.992 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage): time 0.01437/0.1756, allocations: 19.09 MB / 0.7959 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.1985, allocations: 17.91 MB / 0.8134 GB, free: 13.87 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004091/0.2025, allocations: 138.9 kB / 0.8135 GB, free: 13.73 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.004993/0.2075, allocations: 2.089 MB / 0.8155 GB, free: 11.63 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.007484/0.215, allocations: 3.143 MB / 0.8186 GB, free: 8.469 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.2217, allocations: 3.504 MB / 0.822 GB, free: 4.969 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.232, allocations: 8.124 MB / 0.83 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004492/0.2365, allocations: 2.59 MB / 0.8325 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.2421, allocations: 3.324 MB / 0.8357 GB, free: 6.832 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004692/0.2468, allocations: 3.218 MB / 0.8389 GB, free: 3.602 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.2485, allocations: 0.5195 MB / 0.8394 GB, free: 3.082 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.2522, allocations: 1.584 MB / 0.8409 GB, free: 1.496 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.2538, allocations: 1.615 MB / 0.8425 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.003618/0.2574, allocations: 2.238 MB / 0.8447 GB, free: 13.62 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.268, allocations: 8.401 MB / 0.8529 GB, free: 5.191 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.268, allocations: 4 kB / 0.8529 GB, free: 5.188 MB / 0.6199 GB Notification: Performance of FrontEnd: time 3.276e-06/0.268, allocations: 3.984 kB / 0.8529 GB, free: 5.184 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0002478/0.2682, allocations: 0 / 0.8529 GB, free: 5.184 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.009564/0.2778, allocations: 6.149 MB / 0.8589 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2779, allocations: 8.031 kB / 0.8589 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006677/0.2785, allocations: 0.5385 MB / 0.8594 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.28, allocations: 0.7737 MB / 0.8602 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006933/0.2869, allocations: 4.482 MB / 0.8646 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.2871, allocations: 242.3 kB / 0.8648 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.2875, allocations: 300 kB / 0.8651 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.2993, allocations: 8.176 MB / 0.8731 GB, free: 15.1 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.944e-05/0.2994, allocations: 47.56 kB / 0.8731 GB, free: 15.05 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003721/0.2998, allocations: 156 kB / 0.8733 GB, free: 14.9 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.2998, allocations: 112 kB / 0.8734 GB, free: 14.79 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.31, allocations: 5.501 MB / 0.8788 GB, free: 9.277 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3862/0.6962, allocations: 34.61 MB / 0.9125 GB, free: 88.66 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009368/0.7055, allocations: 3.981 MB / 0.9164 GB, free: 87.88 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.7081, allocations: 1.272 MB / 0.9177 GB, free: 87.25 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/0.709, allocations: 276 kB / 0.9179 GB, free: 87.23 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/0.709, allocations: 76.42 kB / 0.918 GB, free: 87.17 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=556): time 6.031e-06/0.7091, allocations: 2.094 kB / 0.918 GB, free: 87.17 MB / 0.6668 GB Notification: Performance of matching and sorting (n=556): time 0.01962/0.7287, allocations: 7.939 MB / 0.9258 GB, free: 85.12 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.7288, allocations: 0.7182 MB / 0.9265 GB, free: 84.27 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007384/0.7362, allocations: 4.479 MB / 0.9308 GB, free: 82.77 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/0.7372, allocations: 62.98 kB / 0.9309 GB, free: 82.71 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.7386, allocations: 2.255 MB / 0.9331 GB, free: 81.11 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.002629/0.7412, allocations: 1.896 MB / 0.935 GB, free: 79.86 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002539/0.7437, allocations: 1.28 MB / 0.9362 GB, free: 79.26 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.7438, allocations: 306.1 kB / 0.9365 GB, free: 78.96 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/0.7467, allocations: 1.882 MB / 0.9383 GB, free: 77.96 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/0.7504, allocations: 4.237 MB / 0.9425 GB, free: 73.88 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006762/0.7571, allocations: 6.473 MB / 0.9488 GB, free: 68.91 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.946e-05/0.7572, allocations: 18.75 kB / 0.9488 GB, free: 68.91 MB / 0.6668 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.009981/0.7672, allocations: 6.639 MB / 0.9553 GB, free: 63.14 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.7672, allocations: 36 kB / 0.9553 GB, free: 63.11 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005644/0.7729, allocations: 4.265 MB / 0.9595 GB, free: 58.82 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.773, allocations: 104 kB / 0.9596 GB, free: 58.72 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.7759, allocations: 1.673 MB / 0.9612 GB, free: 57.05 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.668e-05/0.7759, allocations: 155.6 kB / 0.9614 GB, free: 56.89 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.7794, allocations: 0.7187 MB / 0.9621 GB, free: 56.34 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005948/0.78, allocations: 435.7 kB / 0.9625 GB, free: 55.92 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.002621/0.7826, allocations: 1.226 MB / 0.9637 GB, free: 54.73 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/0.7841, allocations: 0.5586 MB / 0.9642 GB, free: 54.16 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.007656/0.7917, allocations: 6.716 MB / 0.9708 GB, free: 47.58 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.127545692026615]