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.01259/0.01259, 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.001504/0.001504, allocations: 104.5 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.002018/0.002018, allocations: 209.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.478/1.478, allocations: 230.6 MB / 262.1 MB, free: 5.828 MB / 206.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.041/1.041, allocations: 130.7 MB / 449.6 MB, free: 6.398 MB / 350.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: 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.06671/0.06671, allocations: 20.99 MB / 0.6363 GB, free: 4.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.244, allocations: 81.9 MB / 0.7163 GB, free: 2.266 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.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.5879/0.8319, allocations: 50.33 MB / 0.7655 GB, free: 17.55 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03513/0.867, allocations: 20.6 MB / 0.7856 GB, free: 3.242 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006946/0.8739, allocations: 99.19 kB / 0.7857 GB, free: 3.195 MB / 0.5607 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.007144/0.8811, allocations: 2.04 MB / 0.7877 GB, free: 2.27 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.892, allocations: 2.758 MB / 0.7903 GB, free: 476 kB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.9023, allocations: 3.023 MB / 0.7933 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01347/0.9158, allocations: 6.606 MB / 0.7997 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005117/0.9209, allocations: 1.944 MB / 0.8016 GB, free: 8.82 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007495/0.9284, allocations: 2.7 MB / 0.8043 GB, free: 7.254 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006631/0.935, allocations: 2.628 MB / 0.8068 GB, free: 5.516 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.00216/0.9372, allocations: 460 kB / 0.8073 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007903/0.9451, allocations: 2.227 MB / 0.8095 GB, free: 2.84 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002745/0.9478, allocations: 1.31 MB / 0.8107 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00533/0.9532, allocations: 1.838 MB / 0.8125 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.9694, allocations: 8.127 MB / 0.8205 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9695, allocations: 0.75 kB / 0.8205 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9695, allocations: 0 / 0.8205 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002683/0.9697, allocations: 3.938 kB / 0.8205 GB, free: 7.52 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: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.01326/0.983, allocations: 5.207 MB / 0.8256 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.983, allocations: 12.03 kB / 0.8256 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.9855, allocations: 0.6184 MB / 0.8262 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008995/0.9945, allocations: 4.07 MB / 0.8302 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.9947, allocations: 181 kB / 0.8303 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007006/0.9954, allocations: 240.1 kB / 0.8306 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/1.01, allocations: 5.992 MB / 0.8364 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.01, allocations: 27.75 kB / 0.8364 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/1.01, allocations: 112 kB / 0.8365 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-05/1.01, allocations: 87.08 kB / 0.8366 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/1.022, allocations: 4.009 MB / 0.8405 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02886/1.051, allocations: 21.4 MB / 0.8614 GB, free: 11.99 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/1.062, allocations: 3.529 MB / 0.8649 GB, free: 8.363 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/1.065, allocations: 1.252 MB / 0.8661 GB, free: 7.059 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.066, allocations: 262.9 kB / 0.8664 GB, free: 6.809 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009616/1.076, allocations: 3.161 MB / 0.8694 GB, free: 3.543 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 1.053e-05/1.076, allocations: 3.938 kB / 0.8694 GB, free: 3.539 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.04825/1.124, allocations: 21.59 MB / 0.8905 GB, free: 13.74 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005689/1.125, allocations: 0.8266 MB / 0.8913 GB, free: 12.72 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/1.13, allocations: 3.229 MB / 0.8945 GB, free: 9.508 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007596/1.131, allocations: 61.7 kB / 0.8945 GB, free: 9.441 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.132, allocations: 1.625 MB / 0.8961 GB, free: 7.801 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.134, allocations: 1.594 MB / 0.8977 GB, free: 6.195 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/1.136, allocations: 0.9475 MB / 0.8986 GB, free: 5.238 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.136, allocations: 301.1 kB / 0.8989 GB, free: 4.941 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/1.139, allocations: 1.707 MB / 0.9006 GB, free: 3.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/1.144, allocations: 3.168 MB / 0.9037 GB, free: 15.42 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00887/1.153, allocations: 5.025 MB / 0.9086 GB, free: 9.887 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/1.153, allocations: 12 kB / 0.9086 GB, free: 9.875 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01277/1.166, allocations: 5.707 MB / 0.9142 GB, free: 4.156 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.166, allocations: 91.39 kB / 0.9142 GB, free: 4.055 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0092/1.175, allocations: 4.337 MB / 0.9185 GB, free: 15.68 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02366/1.199, allocations: 3.092 MB / 0.9215 GB, free: 12.75 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/1.203, allocations: 1.144 MB / 0.9226 GB, free: 11.61 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009527/1.213, allocations: 3.734 MB / 0.9263 GB, free: 7.805 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/1.216, allocations: 219.3 kB / 0.9265 GB, free: 7.594 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007439/1.217, allocations: 307.8 kB / 0.9268 GB, free: 7.293 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005082/1.222, allocations: 2.439 MB / 0.9291 GB, free: 4.836 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004689/1.226, allocations: 3.144 MB / 0.9322 GB, free: 1.07 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008688/1.235, allocations: 4.98 MB / 0.9371 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.187e-05/1.235, allocations: 12 kB / 0.9371 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.0122/1.247, allocations: 5.566 MB / 0.9425 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.812e-05/1.247, allocations: 83.39 kB / 0.9426 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008945/1.256, allocations: 4.209 MB / 0.9467 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02177/1.278, allocations: 2.738 MB / 0.9494 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004402/1.283, allocations: 1.165 MB / 0.9505 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008944/1.292, allocations: 3.448 MB / 0.9539 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.295, allocations: 210.2 kB / 0.9541 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009799/1.296, allocations: 306.4 kB / 0.9544 GB, free: 9.879 MB / 0.7325 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.001775/1.298, allocations: 0.514 MB / 0.9549 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/1.299, allocations: 448.9 kB / 0.9553 GB, free: 8.902 MB / 0.7325 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.01193/1.311, allocations: 5.419 MB / 0.9606 GB, free: 3.734 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.611083077266812] Failed to read output from testmodel.py, exit status != 0: 1.519602520391345 1.861621697 0.888081393 Calling exit ...