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.01168/0.01168, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.000793/0.000793, allocations: 85.83 kB / 25.41 MB, free: 6.105 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.0008663/0.0008663, allocations: 164.9 kB / 29.34 MB, free: 2.805 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.9282/0.9282, allocations: 177.2 MB / 210.3 MB, free: 3.453 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6387/0.6387, allocations: 102.4 MB / 369.8 MB, free: 220 kB / 330.7 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 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_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 2.154e-06/2.154e-06, allocations: 2.781 kB / 470.4 MB, free: 18.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.596e-05, allocations: 6.312 kB / 470.4 MB, free: 18.86 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.1326/0.1326, allocations: 68.29 MB / 0.5261 GB, free: 3.328 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02614/0.1587, allocations: 21.07 MB / 0.5467 GB, free: 14.2 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.1622, allocations: 91.31 kB / 0.5468 GB, free: 14.11 MB / 474.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.005281/0.1675, allocations: 2.05 MB / 0.5488 GB, free: 12.05 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0081/0.1756, allocations: 2.869 MB / 0.5516 GB, free: 9.16 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00609/0.1817, allocations: 3.063 MB / 0.5546 GB, free: 6.09 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.008332/0.19, allocations: 6.778 MB / 0.5612 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003389/0.1934, allocations: 2.08 MB / 0.5632 GB, free: 13.17 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1134/0.3069, allocations: 49.01 MB / 0.6111 GB, free: 13.34 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.3107, allocations: 2.158 MB / 0.6132 GB, free: 11.17 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.000862/0.3116, allocations: 408 kB / 0.6136 GB, free: 10.77 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/0.3157, allocations: 2.187 MB / 0.6157 GB, free: 8.582 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009626/0.3167, allocations: 1.218 MB / 0.6169 GB, free: 7.359 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.3185, allocations: 1.391 MB / 0.6182 GB, free: 5.965 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.009144/0.3277, allocations: 5.251 MB / 0.6234 GB, free: 0.6953 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3277, allocations: 0 / 0.6234 GB, free: 0.6953 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3277, allocations: 0 / 0.6234 GB, free: 0.6953 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001088/0.3278, allocations: 4 kB / 0.6234 GB, free: 0.6914 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.005627/0.3334, allocations: 5.197 MB / 0.6285 GB, free: 11.4 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.3335, allocations: 16.02 kB / 0.6285 GB, free: 11.39 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008584/0.3343, allocations: 0.6928 MB / 0.6291 GB, free: 10.69 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/0.3376, allocations: 2.961 MB / 0.632 GB, free: 7.652 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.3377, allocations: 181 kB / 0.6322 GB, free: 7.473 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.3379, allocations: 236.4 kB / 0.6324 GB, free: 7.242 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006526/0.3445, allocations: 5.314 MB / 0.6376 GB, free: 0.9102 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.682e-05/0.3445, allocations: 35.58 kB / 0.6377 GB, free: 0.875 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.3447, allocations: 116 kB / 0.6378 GB, free: 0.7617 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/0.3448, allocations: 76 kB / 0.6378 GB, free: 0.6875 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/0.3495, allocations: 2.483 MB / 0.6403 GB, free: 14.17 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2425/0.592, allocations: 28.03 MB / 0.6676 GB, free: 86.26 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0043/0.5963, allocations: 2.612 MB / 0.6702 GB, free: 85.76 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.5969, allocations: 0.6549 MB / 0.6708 GB, free: 85.55 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/0.5975, allocations: 333.8 kB / 0.6711 GB, free: 85.54 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003628/0.6011, allocations: 2.439 MB / 0.6735 GB, free: 85.05 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=467): time 4.779e-06/0.6011, allocations: 2.844 kB / 0.6735 GB, free: 85.05 MB / 0.5574 GB Notification: Performance of matching and sorting (n=468): time 0.01402/0.6151, allocations: 8.015 MB / 0.6814 GB, free: 84.25 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6153, allocations: 0.9589 MB / 0.6823 GB, free: 83.12 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.6175, allocations: 2.904 MB / 0.6851 GB, free: 82.72 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.6177, allocations: 63.42 kB / 0.6852 GB, free: 82.69 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/0.6185, allocations: 1.784 MB / 0.6869 GB, free: 82.12 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007576/0.6193, allocations: 1.598 MB / 0.6885 GB, free: 81.25 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009197/0.6202, allocations: 1.015 MB / 0.6895 GB, free: 81.15 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.445e-05/0.6202, allocations: 480.6 kB / 0.6899 GB, free: 80.68 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.6211, allocations: 0.7561 MB / 0.6907 GB, free: 80.58 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.6225, allocations: 2.957 MB / 0.6936 GB, free: 77.85 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.6255, allocations: 3.648 MB / 0.6971 GB, free: 75.59 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.6255, allocations: 12.38 kB / 0.6971 GB, free: 75.59 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.005784/0.6313, allocations: 3.945 MB / 0.701 GB, free: 75.09 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/0.6314, allocations: 88.06 kB / 0.7011 GB, free: 75.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003583/0.635, allocations: 2.564 MB / 0.7036 GB, free: 74.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006913/0.6419, allocations: 1.628 MB / 0.7052 GB, free: 74.74 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/0.6445, allocations: 1.14 MB / 0.7063 GB, free: 74.69 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.6478, allocations: 3.569 MB / 0.7098 GB, free: 71.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.6499, allocations: 206 kB / 0.71 GB, free: 71.69 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/0.6503, allocations: 274.9 kB / 0.7102 GB, free: 71.63 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001861/0.6522, allocations: 0.8982 MB / 0.7111 GB, free: 71.27 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001536/0.6537, allocations: 2.939 MB / 0.714 GB, free: 68.32 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002828/0.6565, allocations: 3.64 MB / 0.7175 GB, free: 65.87 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.575e-05/0.6565, allocations: 12.28 kB / 0.7175 GB, free: 65.87 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.004561/0.6611, allocations: 3.879 MB / 0.7213 GB, free: 64.91 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.6611, allocations: 84.67 kB / 0.7214 GB, free: 64.85 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002752/0.6639, allocations: 2.524 MB / 0.7239 GB, free: 64.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005481/0.6694, allocations: 1.39 MB / 0.7252 GB, free: 63.79 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.6712, allocations: 1.143 MB / 0.7263 GB, free: 63.59 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.674, allocations: 3.525 MB / 0.7298 GB, free: 60.62 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.6758, allocations: 204.9 kB / 0.73 GB, free: 60.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/0.6761, allocations: 271.3 kB / 0.7302 GB, free: 60.55 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.001144/0.6773, allocations: 0.6041 MB / 0.7308 GB, free: 60.21 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.6784, allocations: 0.499 MB / 0.7313 GB, free: 59.95 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.005003/0.6834, allocations: 4.785 MB / 0.736 GB, free: 58.34 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.310839558020234]