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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.005944/0.005944, allocations: 1.442 MB / 20.53 MB, free: 4.012 MB / 18.57 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.0006767/0.0006767, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0008063/0.0008063, allocations: 165 kB / 27.86 MB, free: 5.496 MB / 18.57 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.8377/0.8377, allocations: 177.1 MB / 208.6 MB, free: 2.969 MB / 186.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.7294/0.7294, allocations: 102.5 MB / 367.9 MB, free: 1.5 MB / 330.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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5362 GB, free: 40.01 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.371e-05, allocations: 4.25 kB / 0.5362 GB, free: 40 MB / 490.8 MB 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage): time 0.1168/0.1169, allocations: 65.71 MB / 0.6004 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.139, allocations: 17.69 MB / 0.6176 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004321/0.1433, allocations: 138.9 kB / 0.6178 GB, free: 8.922 MB / 0.5105 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.004871/0.1482, allocations: 2.096 MB / 0.6198 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007919/0.1561, allocations: 3.234 MB / 0.623 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007276/0.1634, allocations: 3.559 MB / 0.6265 GB, free: 15.99 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.1742, allocations: 8.338 MB / 0.6346 GB, free: 7.625 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.1783, allocations: 2.628 MB / 0.6372 GB, free: 4.93 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007188/0.1855, allocations: 4.513 MB / 0.6416 GB, free: 416 kB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004298/0.1898, allocations: 2.765 MB / 0.6443 GB, free: 13.63 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.191, allocations: 0.5195 MB / 0.6448 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.1945, allocations: 1.595 MB / 0.6463 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.1959, allocations: 1.631 MB / 0.6479 GB, free: 9.879 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.1984, allocations: 1.796 MB / 0.6497 GB, free: 8.078 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009018/0.2075, allocations: 8.259 MB / 0.6578 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2075, allocations: 0 / 0.6578 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.896e-06/0.2075, allocations: 4 kB / 0.6578 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0002018/0.2077, allocations: 0 / 0.6578 GB, free: 15.79 MB / 0.5574 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.009425/0.2171, allocations: 6.074 MB / 0.6637 GB, free: 9.645 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.2171, allocations: 12.03 kB / 0.6637 GB, free: 9.633 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005471/0.2177, allocations: 0.5307 MB / 0.6642 GB, free: 9.09 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.2192, allocations: 0.7776 MB / 0.665 GB, free: 8.309 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006139/0.2253, allocations: 4.494 MB / 0.6694 GB, free: 3.758 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.2255, allocations: 242.2 kB / 0.6696 GB, free: 3.52 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/0.2257, allocations: 304 kB / 0.6699 GB, free: 3.223 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009829/0.2356, allocations: 8.176 MB / 0.6779 GB, free: 9.766 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/0.2356, allocations: 43.56 kB / 0.6779 GB, free: 9.723 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.2358, allocations: 164 kB / 0.6781 GB, free: 9.562 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/0.2359, allocations: 108 kB / 0.6782 GB, free: 9.457 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008802/0.2447, allocations: 5.509 MB / 0.6836 GB, free: 3.938 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.2674, allocations: 34.47 MB / 0.7172 GB, free: 208 kB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007656/0.2751, allocations: 3.98 MB / 0.7211 GB, free: 12.06 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.277, allocations: 1.267 MB / 0.7223 GB, free: 10.74 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.2776, allocations: 281.5 kB / 0.7226 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.2777, allocations: 72.94 kB / 0.7227 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=556): time 6.112e-06/0.2777, allocations: 0 / 0.7227 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of matching and sorting (n=556): time 0.01618/0.2938, allocations: 7.932 MB / 0.7304 GB, free: 2.441 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002881/0.2941, allocations: 0.7187 MB / 0.7311 GB, free: 1.555 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006393/0.3005, allocations: 4.481 MB / 0.7355 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0006576/0.3012, allocations: 65.75 kB / 0.7356 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.3025, allocations: 2.236 MB / 0.7377 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/0.304, allocations: 1.878 MB / 0.7396 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.3053, allocations: 1.268 MB / 0.7408 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.3053, allocations: 301.1 kB / 0.7411 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.3078, allocations: 1.877 MB / 0.7429 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.3113, allocations: 4.241 MB / 0.7471 GB, free: 124 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006753/0.3181, allocations: 6.472 MB / 0.7534 GB, free: 8.668 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-05/0.3181, allocations: 20 kB / 0.7534 GB, free: 8.648 MB / 0.6512 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.009542/0.3277, allocations: 6.636 MB / 0.7599 GB, free: 1.988 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.3277, allocations: 36 kB / 0.7599 GB, free: 1.953 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2937/0.6214, allocations: 4.245 MB / 0.7641 GB, free: 177.5 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.6216, allocations: 108.8 kB / 0.7642 GB, free: 177.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/0.6252, allocations: 1.682 MB / 0.7658 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/0.6253, allocations: 151.3 kB / 0.766 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.6284, allocations: 0.7169 MB / 0.7667 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005173/0.6289, allocations: 429.9 kB / 0.7671 GB, free: 177.4 MB / 0.6512 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.002237/0.6312, allocations: 1.227 MB / 0.7683 GB, free: 177 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.6324, allocations: 0.5609 MB / 0.7688 GB, free: 177 MB / 0.6512 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 main/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.008072/0.6405, allocations: 6.706 MB / 0.7754 GB, free: 175.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.375796009786427] Failed to read output from testmodel.py, exit status != 0: 0.7957633100450039 0.803211305 0.594219956 Calling exit ...