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.01334/0.01334, allocations: 1.754 MB / 20.6 MB, free: 1.152 MB / 14.72 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.001451/0.001451, allocations: 99.27 kB / 24.18 MB, free: 2.578 MB / 14.72 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.0018/0.0018, allocations: 210.2 kB / 27.9 MB, free: 3.902 MB / 19.63 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.477/1.477, allocations: 230.6 MB / 262.1 MB, free: 5.84 MB / 206.1 MB " [Timeout remaining time 178] 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 1.065/1.065, allocations: 130.7 MB / 449.6 MB, free: 6.406 MB / 350.1 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.3.1 (/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: 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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.09295/0.09295, allocations: 20.99 MB / 0.6358 GB, free: 4.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.2678, allocations: 81.91 MB / 0.7158 GB, free: 2.727 MB / 0.5294 GB 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.5274/0.7952, allocations: 52.09 MB / 0.7667 GB, free: 16.34 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02893/0.8241, allocations: 17.91 MB / 0.7842 GB, free: 3.77 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007241/0.8314, allocations: 132 kB / 0.7843 GB, free: 3.707 MB / 0.5607 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.007035/0.8384, allocations: 2.089 MB / 0.7864 GB, free: 2.695 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.8494, allocations: 3.141 MB / 0.7894 GB, free: 0.7148 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.8595, allocations: 3.502 MB / 0.7928 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0156/0.8751, allocations: 8.135 MB / 0.8008 GB, free: 9.305 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004855/0.8799, allocations: 2.596 MB / 0.8033 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007003/0.8869, allocations: 3.321 MB / 0.8066 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006674/0.8936, allocations: 3.22 MB / 0.8097 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.8954, allocations: 0.5226 MB / 0.8102 GB, free: 1.883 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005031/0.9005, allocations: 1.586 MB / 0.8118 GB, free: 304 kB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.9026, allocations: 1.611 MB / 0.8133 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003839/0.9065, allocations: 2.238 MB / 0.8155 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.9196, allocations: 8.401 MB / 0.8237 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9196, allocations: 0 / 0.8237 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9196, allocations: 6.625 kB / 0.8237 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002387/0.9198, allocations: 0 / 0.8237 GB, free: 3.992 MB / 0.5919 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.01196/0.9318, allocations: 6.143 MB / 0.8297 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.9319, allocations: 8.031 kB / 0.8297 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007552/0.9326, allocations: 0.5346 MB / 0.8303 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.9348, allocations: 0.7802 MB / 0.831 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00941/0.9442, allocations: 4.476 MB / 0.8354 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.9445, allocations: 242.3 kB / 0.8356 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005319/0.945, allocations: 306.7 kB / 0.8359 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.9626, allocations: 8.172 MB / 0.8439 GB, free: 13.97 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.64e-05/0.9627, allocations: 51.5 kB / 0.844 GB, free: 13.92 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/0.963, allocations: 160 kB / 0.8441 GB, free: 13.77 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.9632, allocations: 112 kB / 0.8442 GB, free: 13.66 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.9788, allocations: 5.494 MB / 0.8496 GB, free: 8.172 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/1.013, allocations: 34.61 MB / 0.8834 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/1.026, allocations: 3.98 MB / 0.8873 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/1.029, allocations: 1.266 MB / 0.8885 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.03, allocations: 282.9 kB / 0.8888 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.97e-05/1.031, allocations: 80.88 kB / 0.8888 GB, free: 14.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 5.68e-06/1.031, allocations: 224 / 0.8888 GB, free: 14.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.0258/1.056, allocations: 7.928 MB / 0.8966 GB, free: 6.617 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004256/1.057, allocations: 0.7263 MB / 0.8973 GB, free: 5.723 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00756/1.064, allocations: 4.479 MB / 0.9017 GB, free: 1.258 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000959/1.065, allocations: 61.7 kB / 0.9017 GB, free: 1.191 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.068, allocations: 2.252 MB / 0.9039 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.002646/1.07, allocations: 1.899 MB / 0.9058 GB, free: 13.01 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00218/1.072, allocations: 1.284 MB / 0.907 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.072, allocations: 301.1 kB / 0.9073 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/1.077, allocations: 1.878 MB / 0.9092 GB, free: 9.539 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006251/1.083, allocations: 4.232 MB / 0.9133 GB, free: 4.262 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/1.095, allocations: 6.474 MB / 0.9196 GB, free: 12.92 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.064e-05/1.095, allocations: 20 kB / 0.9196 GB, free: 12.9 MB / 0.7013 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01635/1.111, allocations: 6.646 MB / 0.9261 GB, free: 6.289 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/1.111, allocations: 36 kB / 0.9262 GB, free: 6.254 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009216/1.12, allocations: 4.257 MB / 0.9303 GB, free: 1.992 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/1.12, allocations: 111.9 kB / 0.9304 GB, free: 1.883 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005528/1.126, allocations: 1.676 MB / 0.9321 GB, free: 212 kB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001555/1.126, allocations: 151.4 kB / 0.9322 GB, free: 60 kB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.131, allocations: 0.7124 MB / 0.9329 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000833/1.131, allocations: 435.7 kB / 0.9333 GB, free: 14.91 MB / 0.7169 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.002735/1.134, allocations: 1.226 MB / 0.9345 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001792/1.136, allocations: 0.5612 MB / 0.9351 GB, free: 13.11 MB / 0.7169 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.01306/1.149, allocations: 6.716 MB / 0.9416 GB, free: 6.777 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.116234435234219] Failed to read output from testmodel.py, exit status != 0: 1.3455061111599207 1.3599581170000001 0.43697865 Calling exit ...