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.006093/0.006093, allocations: 1.442 MB / 20.54 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.0008264/0.0008264, 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.0008796/0.0008796, 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.8583/0.8583, allocations: 177.2 MB / 208.6 MB, free: 2.984 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.7189/0.7189, allocations: 102.5 MB / 367.9 MB, free: 1.469 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.623e-06/1.623e-06, allocations: 0 / 0.5362 GB, free: 40.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.76e-05, allocations: 3.156 kB / 0.5362 GB, free: 40.02 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.1187/0.1187, allocations: 65.72 MB / 0.6004 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.1406, allocations: 17.7 MB / 0.6177 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.144, allocations: 142.9 kB / 0.6178 GB, free: 8.875 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.003438/0.1474, allocations: 2.093 MB / 0.6198 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.1526, allocations: 3.227 MB / 0.623 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.158, allocations: 3.559 MB / 0.6265 GB, free: 15.96 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.007785/0.1657, allocations: 8.343 MB / 0.6346 GB, free: 7.582 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/0.1684, allocations: 2.612 MB / 0.6372 GB, free: 4.902 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.1727, allocations: 4.517 MB / 0.6416 GB, free: 384 kB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.1752, allocations: 2.768 MB / 0.6443 GB, free: 13.6 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0005887/0.1758, allocations: 0.5195 MB / 0.6448 GB, free: 13.08 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.1788, allocations: 1.599 MB / 0.6463 GB, free: 11.48 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0009458/0.1797, allocations: 1.638 MB / 0.6479 GB, free: 9.832 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1812, allocations: 1.796 MB / 0.6497 GB, free: 8.031 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.006781/0.188, allocations: 8.248 MB / 0.6578 GB, free: 15.76 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.188, allocations: 4 kB / 0.6578 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.394e-06/0.188, allocations: 0 / 0.6578 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.853e-05/0.188, allocations: 0 / 0.6578 GB, free: 15.75 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.006717/0.1947, allocations: 6.08 MB / 0.6637 GB, free: 9.605 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.145e-05/0.1948, allocations: 8.031 kB / 0.6637 GB, free: 9.598 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000485/0.1953, allocations: 0.5346 MB / 0.6642 GB, free: 9.051 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.1965, allocations: 0.7737 MB / 0.665 GB, free: 8.273 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.2017, allocations: 4.49 MB / 0.6694 GB, free: 3.727 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.2019, allocations: 250.2 kB / 0.6696 GB, free: 3.48 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.2022, allocations: 304 kB / 0.6699 GB, free: 3.184 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009107/0.2113, allocations: 8.172 MB / 0.6779 GB, free: 9.73 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.2113, allocations: 47.56 kB / 0.6779 GB, free: 9.684 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.2115, allocations: 160 kB / 0.6781 GB, free: 9.527 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/0.2116, allocations: 119.9 kB / 0.6782 GB, free: 9.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008414/0.22, allocations: 5.501 MB / 0.6836 GB, free: 3.898 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.2399, allocations: 34.47 MB / 0.7172 GB, free: 180 kB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007239/0.2472, allocations: 3.976 MB / 0.7211 GB, free: 12.04 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.2488, allocations: 1.267 MB / 0.7223 GB, free: 10.72 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/0.2494, allocations: 285.5 kB / 0.7226 GB, free: 10.44 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.2495, allocations: 80.98 kB / 0.7227 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=556): time 4.468e-06/0.2495, allocations: 0 / 0.7227 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of matching and sorting (n=556): time 0.01441/0.2639, allocations: 7.928 MB / 0.7304 GB, free: 2.414 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/0.2641, allocations: 0.7148 MB / 0.7311 GB, free: 1.531 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/0.2693, allocations: 4.477 MB / 0.7355 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.2696, allocations: 65.7 kB / 0.7356 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.2708, allocations: 2.244 MB / 0.7378 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.2719, allocations: 1.87 MB / 0.7396 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.2731, allocations: 1.272 MB / 0.7408 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.2732, allocations: 309.1 kB / 0.7411 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.2758, allocations: 1.873 MB / 0.7429 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003556/0.2794, allocations: 4.229 MB / 0.7471 GB, free: 104 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007008/0.2864, allocations: 6.47 MB / 0.7534 GB, free: 8.652 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.139e-05/0.2864, allocations: 20 kB / 0.7534 GB, free: 8.633 MB / 0.6512 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.009187/0.2956, allocations: 6.648 MB / 0.7599 GB, free: 1.961 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.2956, allocations: 32 kB / 0.7599 GB, free: 1.93 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2808/0.5764, allocations: 4.256 MB / 0.7641 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.5766, allocations: 108 kB / 0.7642 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/0.5796, allocations: 1.678 MB / 0.7658 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.5797, allocations: 156.4 kB / 0.766 GB, free: 177.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.5824, allocations: 0.7182 MB / 0.7667 GB, free: 177.3 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004252/0.5828, allocations: 429.6 kB / 0.7671 GB, free: 177.3 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.001958/0.5848, allocations: 1.224 MB / 0.7683 GB, free: 177 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/0.5858, allocations: 0.5562 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.007213/0.593, allocations: 6.713 MB / 0.7754 GB, free: 175 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3860327629372478] Failed to read output from testmodel.py, exit status != 0: 0.7360818861052394 0.745504558 0.556013319 Calling exit ...