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.01015/0.01015, allocations: 1.347 MB / 20.45 MB, free: 1.262 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.001516/0.001516, allocations: 79.42 kB / 24.02 MB, free: 2.609 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.001829/0.001829, allocations: 155.6 kB / 27.7 MB, free: 3.863 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.475/1.475, allocations: 177.1 MB / 208.4 MB, free: 7.68 MB / 190.1 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.115/1.115, allocations: 102.5 MB / 367.7 MB, free: 4.578 MB / 334.1 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.3.1 (/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.883e-06/1.883e-06, allocations: 0 / 0.5364 GB, free: 7.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.584e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.09 MB / 446.1 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.2039/0.2039, allocations: 63.98 MB / 0.5989 GB, free: 9.637 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04545/0.2494, allocations: 20.31 MB / 0.6188 GB, free: 5.254 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006279/0.2556, allocations: 99.25 kB / 0.6188 GB, free: 5.156 MB / 0.5138 GB [/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.007551/0.2632, allocations: 2.047 MB / 0.6208 GB, free: 3.098 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.2743, allocations: 2.838 MB / 0.6236 GB, free: 248 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.2843, allocations: 3.056 MB / 0.6266 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01489/0.2992, allocations: 6.786 MB / 0.6332 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004935/0.3041, allocations: 1.969 MB / 0.6352 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008927/0.313, allocations: 3.687 MB / 0.6388 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/0.3188, allocations: 2.281 MB / 0.641 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.3201, allocations: 460 kB / 0.6414 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007548/0.3276, allocations: 2.261 MB / 0.6436 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002421/0.33, allocations: 1.327 MB / 0.6449 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004465/0.3345, allocations: 1.484 MB / 0.6464 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.3535, allocations: 8.12 MB / 0.6543 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3535, allocations: 4 kB / 0.6543 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3535, allocations: 0 / 0.6543 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003117/0.3538, allocations: 0 / 0.6543 GB, free: 0.6914 MB / 0.545 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.01763/0.3715, allocations: 5.156 MB / 0.6593 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 8.027e-05/0.3716, allocations: 12.03 kB / 0.6594 GB, free: 11.44 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.374, allocations: 0.6184 MB / 0.66 GB, free: 10.82 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.3845, allocations: 4.058 MB / 0.6639 GB, free: 6.699 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.3847, allocations: 180.9 kB / 0.6641 GB, free: 6.52 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004655/0.3852, allocations: 228.4 kB / 0.6643 GB, free: 6.297 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.4022, allocations: 6.006 MB / 0.6702 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.975e-05/0.4023, allocations: 35.62 kB / 0.6702 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.4026, allocations: 112 kB / 0.6703 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.4028, allocations: 76 kB / 0.6704 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.417, allocations: 4.021 MB / 0.6743 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03249/0.4495, allocations: 21.33 MB / 0.6951 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.4615, allocations: 3.518 MB / 0.6986 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.4645, allocations: 1.26 MB / 0.6998 GB, free: 264 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.4656, allocations: 257.6 kB / 0.7001 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4435/0.9091, allocations: 3.153 MB / 0.7031 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=470): time 7.835e-06/0.9091, allocations: 0.625 kB / 0.7031 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=471): time 0.04777/0.9569, allocations: 21.58 MB / 0.7242 GB, free: 119.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003339/0.9572, allocations: 0.8252 MB / 0.725 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/0.9622, allocations: 3.23 MB / 0.7282 GB, free: 116.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001132/0.9634, allocations: 63.36 kB / 0.7282 GB, free: 116.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.9647, allocations: 1.618 MB / 0.7298 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/0.9661, allocations: 1.568 MB / 0.7313 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.9675, allocations: 0.9429 MB / 0.7323 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.9676, allocations: 301.1 kB / 0.7326 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/0.9708, allocations: 1.71 MB / 0.7342 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/0.9751, allocations: 3.178 MB / 0.7373 GB, free: 109.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/0.9834, allocations: 5.038 MB / 0.7422 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/0.9834, allocations: 12 kB / 0.7423 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01285/0.9963, allocations: 5.714 MB / 0.7478 GB, free: 98.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/0.9964, allocations: 83.39 kB / 0.7479 GB, free: 98.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00794/1.004, allocations: 4.357 MB / 0.7522 GB, free: 94.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02511/1.029, allocations: 3.072 MB / 0.7552 GB, free: 91.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/1.034, allocations: 1.143 MB / 0.7563 GB, free: 90.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00917/1.043, allocations: 3.74 MB / 0.7599 GB, free: 86.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/1.048, allocations: 220.8 kB / 0.7602 GB, free: 86.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008259/1.048, allocations: 307.8 kB / 0.7604 GB, free: 85.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005166/1.054, allocations: 2.44 MB / 0.7628 GB, free: 83.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003437/1.057, allocations: 3.136 MB / 0.7659 GB, free: 79.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006986/1.064, allocations: 4.981 MB / 0.7708 GB, free: 74.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-05/1.064, allocations: 12 kB / 0.7708 GB, free: 74.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01147/1.075, allocations: 5.554 MB / 0.7762 GB, free: 68.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/1.076, allocations: 90.05 kB / 0.7763 GB, free: 68.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007803/1.083, allocations: 4.214 MB / 0.7804 GB, free: 64.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/1.106, allocations: 2.725 MB / 0.7831 GB, free: 61.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/1.111, allocations: 1.17 MB / 0.7842 GB, free: 60.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00852/1.119, allocations: 3.448 MB / 0.7876 GB, free: 56.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004361/1.124, allocations: 214.2 kB / 0.7878 GB, free: 56.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007753/1.124, allocations: 306 kB / 0.7881 GB, free: 56.35 MB / 0.5919 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.001705/1.126, allocations: 0.5192 MB / 0.7886 GB, free: 55.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.128, allocations: 440.9 kB / 0.789 GB, free: 55.38 MB / 0.5919 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 664 equation(s) and 637 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.009368/1.137, allocations: 5.421 MB / 0.7943 GB, free: 50.24 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.185430150479078] Failed to read output from testmodel.py, exit status != 0: 1.359072208404541 1.375557865 1.018482109 Calling exit ...