Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01515/0.01515, allocations: 1.454 MB / 20.8 MB, free: 3.613 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.01041/0.01041, allocations: 78.16 kB / 24.44 MB, free: 7.559 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.001967/0.001967, allocations: 157.4 kB / 28.19 MB, free: 4.68 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 1.486/1.486, allocations: 177.2 MB / 209 MB, free: 2.793 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.075/1.075, allocations: 102.5 MB / 368.3 MB, free: 1.27 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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: 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_dev_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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 468.3 MB, free: 13.49 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/3.902e-05, allocations: 6.312 kB / 468.3 MB, free: 13.48 MB / 442.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.4472/0.4472, allocations: 64.15 MB / 0.52 GB, free: 72.41 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03387/0.4811, allocations: 20.32 MB / 0.5398 GB, free: 62.54 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/0.4856, allocations: 101.5 kB / 0.5399 GB, free: 62.5 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.005929/0.4915, allocations: 2.03 MB / 0.5419 GB, free: 61.56 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.5019, allocations: 2.842 MB / 0.5447 GB, free: 59.82 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.5133, allocations: 3.052 MB / 0.5476 GB, free: 58.2 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01601/0.5293, allocations: 6.79 MB / 0.5543 GB, free: 54.73 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006083/0.5354, allocations: 2.056 MB / 0.5563 GB, free: 53.38 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0128/0.5482, allocations: 3.706 MB / 0.5599 GB, free: 51.7 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006832/0.555, allocations: 2.31 MB / 0.5622 GB, free: 50.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002439/0.5575, allocations: 470.6 kB / 0.5626 GB, free: 50.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09405/0.6515, allocations: 17.73 MB / 0.5799 GB, free: 40.99 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002316/0.6538, allocations: 1.342 MB / 0.5812 GB, free: 39.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003387/0.6572, allocations: 1.504 MB / 0.5827 GB, free: 39.07 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.6685, allocations: 8.186 MB / 0.5907 GB, free: 30.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.6685, allocations: 0 / 0.5907 GB, free: 30.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6685, allocations: 0 / 0.5907 GB, free: 30.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001474/0.6686, allocations: 0 / 0.5907 GB, free: 30.89 MB / 490.8 MB 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.008631/0.6773, allocations: 5.174 MB / 0.5957 GB, free: 25.67 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.6773, allocations: 8.031 kB / 0.5958 GB, free: 25.66 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.6792, allocations: 0.7981 MB / 0.5965 GB, free: 24.86 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005843/0.685, allocations: 4.241 MB / 0.6007 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.6851, allocations: 181 kB / 0.6008 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.6854, allocations: 240.3 kB / 0.6011 GB, free: 20.15 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.6955, allocations: 6.032 MB / 0.607 GB, free: 13.32 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.92e-05/0.6956, allocations: 31.69 kB / 0.607 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.6958, allocations: 112 kB / 0.6071 GB, free: 13.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.6959, allocations: 79.98 kB / 0.6072 GB, free: 13.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009172/0.705, allocations: 4.052 MB / 0.6111 GB, free: 9.031 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.7324, allocations: 21.56 MB / 0.6322 GB, free: 2.824 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.7448, allocations: 3.565 MB / 0.6357 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003607/0.7484, allocations: 1.28 MB / 0.6369 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.7497, allocations: 267 kB / 0.6372 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01085/0.7605, allocations: 3.188 MB / 0.6403 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=470): time 1.339e-05/0.7605, allocations: 0 / 0.6403 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=471): time 0.05488/0.8154, allocations: 22.02 MB / 0.6618 GB, free: 4.047 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006122/0.816, allocations: 0.8268 MB / 0.6626 GB, free: 3.027 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006176/0.8222, allocations: 3.229 MB / 0.6658 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0008826/0.8231, allocations: 61.7 kB / 0.6658 GB, free: 15.74 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.8249, allocations: 1.621 MB / 0.6674 GB, free: 14.11 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002566/0.8275, allocations: 1.564 MB / 0.6689 GB, free: 12.53 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.8293, allocations: 0.9383 MB / 0.6698 GB, free: 11.59 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8295, allocations: 305.1 kB / 0.6701 GB, free: 11.29 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003835/0.8333, allocations: 1.738 MB / 0.6718 GB, free: 9.523 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/0.8386, allocations: 3.191 MB / 0.6749 GB, free: 5.711 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009764/0.8484, allocations: 5.077 MB / 0.6799 GB, free: 120 kB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-05/0.8484, allocations: 8 kB / 0.6799 GB, free: 112 kB / 0.5418 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.0147/0.8631, allocations: 5.914 MB / 0.6857 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.8632, allocations: 87.38 kB / 0.6858 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01039/0.8736, allocations: 4.416 MB / 0.6901 GB, free: 5.605 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02801/0.9016, allocations: 3.339 MB / 0.6933 GB, free: 2.453 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004644/0.9062, allocations: 1.139 MB / 0.6945 GB, free: 1.312 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.9173, allocations: 3.838 MB / 0.6982 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/0.9213, allocations: 218.1 kB / 0.6984 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/0.9226, allocations: 307.9 kB / 0.6987 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007562/0.9302, allocations: 2.467 MB / 0.7011 GB, free: 10.41 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006081/0.9363, allocations: 3.164 MB / 0.7042 GB, free: 6.621 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01074/0.947, allocations: 5.028 MB / 0.7091 GB, free: 1.074 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.387e-05/0.9471, allocations: 12 kB / 0.7091 GB, free: 1.062 MB / 0.573 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01714/0.9642, allocations: 5.83 MB / 0.7148 GB, free: 11.2 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.9643, allocations: 83.39 kB / 0.7149 GB, free: 11.11 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01154/0.9759, allocations: 4.33 MB / 0.7191 GB, free: 6.73 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02577/1.002, allocations: 3.028 MB / 0.7221 GB, free: 3.879 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004667/1.006, allocations: 1.139 MB / 0.7232 GB, free: 2.738 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.017, allocations: 3.76 MB / 0.7269 GB, free: 14.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.021, allocations: 218.1 kB / 0.7271 GB, free: 14.69 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.022, allocations: 310.4 kB / 0.7274 GB, free: 14.39 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * 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 (595): * Single equations (assignments): 591 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.002055/1.024, allocations: 0.5166 MB / 0.7279 GB, free: 13.86 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002374/1.026, allocations: 0.4931 MB / 0.7284 GB, free: 13.36 MB / 0.6043 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 662 equation(s) and 635 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.01365/1.04, allocations: 5.445 MB / 0.7337 GB, free: 8.164 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.895942357019521]