Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign.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.008655/0.008655, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0009641/0.0009641, allocations: 82.8 kB / 25.4 MB, free: 7 MB / 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.00122/0.00122, allocations: 160 kB / 29.33 MB, free: 3.133 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.9648/0.9648, allocations: 177.1 MB / 210.3 MB, free: 3.445 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.613/0.613, allocations: 102.5 MB / 369.9 MB, free: 240 kB / 330.7 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 470.4 MB, free: 18.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/2.006e-05, allocations: 6.078 kB / 470.4 MB, free: 18.84 MB / 410.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.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.1362/0.1362, allocations: 68.29 MB / 0.5261 GB, free: 3.328 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02428/0.1605, allocations: 21.06 MB / 0.5467 GB, free: 14.2 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.1632, allocations: 99.25 kB / 0.5468 GB, free: 14.11 MB / 474.8 MB [/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.003279/0.1664, allocations: 2.039 MB / 0.5488 GB, free: 12.05 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.171, allocations: 2.881 MB / 0.5516 GB, free: 9.156 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.1754, allocations: 3.073 MB / 0.5546 GB, free: 6.078 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005867/0.1813, allocations: 6.784 MB / 0.5612 GB, free: 15.27 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.1836, allocations: 2.068 MB / 0.5632 GB, free: 13.16 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1281/0.3117, allocations: 49 MB / 0.6111 GB, free: 13.35 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.3144, allocations: 2.165 MB / 0.6132 GB, free: 11.18 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005998/0.315, allocations: 408 kB / 0.6136 GB, free: 10.78 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.3185, allocations: 2.179 MB / 0.6157 GB, free: 8.594 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007334/0.3192, allocations: 1.214 MB / 0.6169 GB, free: 7.375 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.3205, allocations: 1.402 MB / 0.6183 GB, free: 5.969 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.005599/0.3261, allocations: 5.243 MB / 0.6234 GB, free: 0.707 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3261, allocations: 0 / 0.6234 GB, free: 0.707 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3261, allocations: 0 / 0.6234 GB, free: 0.707 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.342e-05/0.3262, allocations: 0 / 0.6234 GB, free: 0.707 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.004436/0.3306, allocations: 5.2 MB / 0.6285 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3306, allocations: 16.03 kB / 0.6285 GB, free: 11.4 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007039/0.3314, allocations: 0.6928 MB / 0.6292 GB, free: 10.71 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.3339, allocations: 2.953 MB / 0.632 GB, free: 7.676 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.334, allocations: 185 kB / 0.6322 GB, free: 7.492 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.3343, allocations: 240.4 kB / 0.6324 GB, free: 7.258 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005404/0.3397, allocations: 5.314 MB / 0.6376 GB, free: 0.9258 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.3397, allocations: 31.64 kB / 0.6377 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.3399, allocations: 116 kB / 0.6378 GB, free: 0.7812 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.3399, allocations: 79.98 kB / 0.6378 GB, free: 0.7031 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00403/0.3439, allocations: 2.483 MB / 0.6403 GB, free: 14.18 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2566/0.6005, allocations: 28.03 MB / 0.6676 GB, free: 86.27 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/0.6048, allocations: 2.621 MB / 0.6702 GB, free: 85.78 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.6054, allocations: 0.6586 MB / 0.6708 GB, free: 85.56 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/0.606, allocations: 336.1 kB / 0.6712 GB, free: 85.55 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003417/0.6094, allocations: 2.444 MB / 0.6736 GB, free: 85.07 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=467): time 4.408e-06/0.6094, allocations: 0 / 0.6736 GB, free: 85.07 MB / 0.5574 GB Notification: Performance of matching and sorting (n=468): time 0.01372/0.6231, allocations: 8.005 MB / 0.6814 GB, free: 84.26 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.6232, allocations: 0.9563 MB / 0.6823 GB, free: 83.13 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.6253, allocations: 2.908 MB / 0.6851 GB, free: 82.73 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.6254, allocations: 61.33 kB / 0.6852 GB, free: 82.7 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/0.6262, allocations: 1.78 MB / 0.6869 GB, free: 82.13 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006739/0.6269, allocations: 1.6 MB / 0.6885 GB, free: 81.26 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008706/0.6278, allocations: 1.013 MB / 0.6895 GB, free: 81.16 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.6278, allocations: 478.3 kB / 0.6899 GB, free: 80.7 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/0.6286, allocations: 0.7564 MB / 0.6907 GB, free: 80.59 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.6302, allocations: 2.96 MB / 0.6936 GB, free: 77.86 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.633, allocations: 3.664 MB / 0.6972 GB, free: 75.6 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.633, allocations: 11.45 kB / 0.6972 GB, free: 75.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.004866/0.6379, allocations: 3.941 MB / 0.701 GB, free: 75.09 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.6379, allocations: 86.83 kB / 0.7011 GB, free: 75.03 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00321/0.6411, allocations: 2.573 MB / 0.7036 GB, free: 74.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006612/0.6478, allocations: 1.622 MB / 0.7052 GB, free: 74.74 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.6497, allocations: 1.137 MB / 0.7063 GB, free: 74.64 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.6526, allocations: 3.576 MB / 0.7098 GB, free: 71.67 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.6541, allocations: 204 kB / 0.71 GB, free: 71.64 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.6544, allocations: 273.7 kB / 0.7102 GB, free: 71.58 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001533/0.6559, allocations: 0.8946 MB / 0.7111 GB, free: 71.22 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001492/0.6574, allocations: 2.947 MB / 0.714 GB, free: 68.27 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00272/0.6601, allocations: 3.634 MB / 0.7176 GB, free: 65.82 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.234e-05/0.6602, allocations: 10.03 kB / 0.7176 GB, free: 65.82 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.003961/0.6641, allocations: 3.882 MB / 0.7214 GB, free: 64.87 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.6642, allocations: 90.16 kB / 0.7214 GB, free: 64.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002838/0.667, allocations: 2.521 MB / 0.7239 GB, free: 64.15 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005186/0.6722, allocations: 1.382 MB / 0.7252 GB, free: 63.74 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.6738, allocations: 1.14 MB / 0.7264 GB, free: 63.54 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.6764, allocations: 3.537 MB / 0.7298 GB, free: 60.57 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.6776, allocations: 195.7 kB / 0.73 GB, free: 60.55 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.6778, allocations: 278.2 kB / 0.7303 GB, free: 60.5 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 15 (p_out_n1.nextEventScaled,p_out_n1.nextEvent,$PRE.p_out_n1.nextEvent,p_out_n1.last,p_out_n1.b,p_out_n1.a,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition2,$whenCondition1,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (598): * Single equations (assignments): 594 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0009089/0.6787, allocations: 0.6011 MB / 0.7309 GB, free: 60.16 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.6793, allocations: 0.4958 MB / 0.7313 GB, free: 59.91 MB / 0.5574 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 659 equation(s) and 632 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_3.summary.inlet.steamQuality, pump_3.fluidIn.cp, pump_3.fluidIn.cv, pump_3.fluidIn.beta, pump_3.fluidIn.kappa, pump_3.fluidIn.drhodp_hxi, pump_3.fluidIn.drhodh_pxi, _, pump_3.fluidIn.w, pump_3.fluidIn.gamma) = ($cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45, $cse46) has size 9 but 7 variables ($whenCondition2, p_out_n1.a, p_out_n1.b, p_out_n1.last, p_out_n1.nextEvent, p_out_n1.nextEventScaled, p_out_n1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.6838, allocations: 4.784 MB / 0.736 GB, free: 58.29 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4439076939597726]