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.01242/0.01242, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001279/0.001279, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001522/0.001522, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.417/1.417, 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.072/1.072, allocations: 130.7 MB / 449.6 MB, free: 6.418 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.06476/0.06476, allocations: 20.99 MB / 0.6359 GB, free: 4.848 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.2507, allocations: 81.91 MB / 0.7158 GB, free: 2.848 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.4834/0.7341, allocations: 52.07 MB / 0.7667 GB, free: 16.34 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.76, allocations: 17.91 MB / 0.7842 GB, free: 3.77 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005491/0.7655, allocations: 136.3 kB / 0.7843 GB, free: 3.703 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.0055/0.771, allocations: 2.082 MB / 0.7864 GB, free: 2.699 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008939/0.7799, allocations: 3.151 MB / 0.7894 GB, free: 0.7539 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008424/0.7884, allocations: 3.498 MB / 0.7928 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.8023, allocations: 8.128 MB / 0.8008 GB, free: 9.352 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005059/0.8074, allocations: 2.604 MB / 0.8033 GB, free: 7.41 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007134/0.8145, allocations: 3.322 MB / 0.8066 GB, free: 5.492 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006655/0.8212, allocations: 3.214 MB / 0.8097 GB, free: 2.438 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.8228, allocations: 0.5234 MB / 0.8102 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.8274, allocations: 1.59 MB / 0.8118 GB, free: 332 kB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.8292, allocations: 1.615 MB / 0.8134 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003653/0.8329, allocations: 2.23 MB / 0.8155 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.8452, allocations: 8.401 MB / 0.8237 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.8453, allocations: 4 kB / 0.8237 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8453, allocations: 0 / 0.8237 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002333/0.8455, allocations: 3.984 kB / 0.8237 GB, free: 4.02 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.01114/0.8566, allocations: 6.134 MB / 0.8297 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.8567, allocations: 11.97 kB / 0.8297 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006765/0.8574, allocations: 0.5415 MB / 0.8303 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.8595, allocations: 0.7776 MB / 0.831 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008729/0.8682, allocations: 4.476 MB / 0.8354 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.8684, allocations: 242.3 kB / 0.8356 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/0.8689, allocations: 308 kB / 0.8359 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.8862, allocations: 8.169 MB / 0.8439 GB, free: 14 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.605e-05/0.8863, allocations: 54.12 kB / 0.844 GB, free: 13.95 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/0.8866, allocations: 164 kB / 0.8441 GB, free: 13.79 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.8868, allocations: 110.8 kB / 0.8442 GB, free: 13.68 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.902, allocations: 5.494 MB / 0.8496 GB, free: 8.199 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03373/0.9357, allocations: 34.62 MB / 0.8834 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.9481, allocations: 3.969 MB / 0.8873 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.951, allocations: 1.274 MB / 0.8885 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.9521, allocations: 281.5 kB / 0.8888 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.631e-05/0.9522, allocations: 80.92 kB / 0.8889 GB, free: 14.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 5.901e-06/0.9522, allocations: 3.938 kB / 0.8889 GB, free: 14.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.02456/0.9767, allocations: 7.932 MB / 0.8966 GB, free: 6.645 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003939/0.9771, allocations: 0.7225 MB / 0.8973 GB, free: 5.754 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006883/0.984, allocations: 4.473 MB / 0.9017 GB, free: 1.293 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005526/0.9846, allocations: 64.36 kB / 0.9017 GB, free: 1.227 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.9864, allocations: 2.252 MB / 0.9039 GB, free: 14.95 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.002044/0.9885, allocations: 1.897 MB / 0.9058 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001845/0.9903, allocations: 1.284 MB / 0.907 GB, free: 11.74 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9905, allocations: 307 kB / 0.9073 GB, free: 11.44 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003933/0.9944, allocations: 1.878 MB / 0.9092 GB, free: 9.562 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005871/1, allocations: 4.232 MB / 0.9133 GB, free: 4.285 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.011, allocations: 6.473 MB / 0.9196 GB, free: 12.94 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.011e-05/1.011, allocations: 18.66 kB / 0.9196 GB, free: 12.93 MB / 0.7013 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01469/1.026, allocations: 6.641 MB / 0.9261 GB, free: 6.32 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/1.026, allocations: 43.45 kB / 0.9262 GB, free: 6.281 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00891/1.035, allocations: 4.247 MB / 0.9303 GB, free: 2.023 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/1.035, allocations: 118.3 kB / 0.9304 GB, free: 1.914 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005628/1.041, allocations: 1.676 MB / 0.9321 GB, free: 244 kB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001659/1.041, allocations: 147.5 kB / 0.9322 GB, free: 96 kB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/1.045, allocations: 0.7162 MB / 0.9329 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008335/1.046, allocations: 435.7 kB / 0.9333 GB, free: 14.95 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.0028/1.049, allocations: 1.228 MB / 0.9345 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/1.051, allocations: 0.5586 MB / 0.9351 GB, free: 13.14 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.0127/1.063, allocations: 6.722 MB / 0.9416 GB, free: 6.797 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.9678844306617975] Failed to read output from testmodel.py, exit status != 0: 1.2499540778808296 1.265661147 0.417266805 Calling exit ...