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.0111/0.0111, 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.001209/0.001209, allocations: 99.84 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.001579/0.001579, allocations: 213.1 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.448/1.448, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.121/1.121, allocations: 130.7 MB / 449.6 MB, free: 6.41 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.06626/0.06626, allocations: 20.99 MB / 0.6363 GB, free: 4.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.2623, allocations: 81.91 MB / 0.7163 GB, free: 2.25 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.5691/0.8314, allocations: 50.33 MB / 0.7654 GB, free: 17.58 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03202/0.8634, allocations: 20.6 MB / 0.7856 GB, free: 3.273 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005866/0.8693, allocations: 95.97 kB / 0.7857 GB, free: 3.23 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.006455/0.8757, allocations: 2.039 MB / 0.7876 GB, free: 2.301 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009652/0.8854, allocations: 2.758 MB / 0.7903 GB, free: 0.5117 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008734/0.8941, allocations: 3.019 MB / 0.7933 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01259/0.9067, allocations: 6.602 MB / 0.7997 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003839/0.9105, allocations: 1.941 MB / 0.8016 GB, free: 8.867 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006035/0.9166, allocations: 2.708 MB / 0.8043 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006088/0.9227, allocations: 2.617 MB / 0.8068 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.9238, allocations: 464 kB / 0.8073 GB, free: 5.102 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006444/0.9303, allocations: 2.227 MB / 0.8094 GB, free: 2.879 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.9318, allocations: 1.312 MB / 0.8107 GB, free: 1.562 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003048/0.9348, allocations: 1.841 MB / 0.8125 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.9488, allocations: 8.129 MB / 0.8205 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9488, allocations: 0 / 0.8205 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.865e-06/0.9488, allocations: 0 / 0.8205 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002023/0.949, allocations: 0 / 0.8205 GB, free: 7.559 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.01102/0.96, allocations: 5.214 MB / 0.8256 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.96, allocations: 8.031 kB / 0.8256 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.9619, allocations: 0.6248 MB / 0.8262 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008788/0.9707, allocations: 4.054 MB / 0.8301 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.9709, allocations: 184.9 kB / 0.8303 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004566/0.9714, allocations: 232.1 kB / 0.8305 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.985, allocations: 6 MB / 0.8364 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.576e-05/0.9851, allocations: 25.25 kB / 0.8364 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.9854, allocations: 116 kB / 0.8365 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.275e-05/0.9855, allocations: 76 kB / 0.8366 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.9964, allocations: 4.02 MB / 0.8405 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/1.024, allocations: 21.39 MB / 0.8614 GB, free: 12.03 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.035, allocations: 3.529 MB / 0.8649 GB, free: 8.402 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.037, allocations: 1.256 MB / 0.8661 GB, free: 7.094 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009951/1.038, allocations: 261.6 kB / 0.8663 GB, free: 6.848 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008815/1.047, allocations: 3.162 MB / 0.8694 GB, free: 3.578 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 7.914e-06/1.047, allocations: 0.75 kB / 0.8694 GB, free: 3.578 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.04574/1.093, allocations: 21.59 MB / 0.8905 GB, free: 13.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005471/1.094, allocations: 0.8227 MB / 0.8913 GB, free: 12.76 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/1.099, allocations: 3.233 MB / 0.8945 GB, free: 9.539 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007638/1.1, allocations: 60.39 kB / 0.8945 GB, free: 9.477 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.101, allocations: 1.628 MB / 0.8961 GB, free: 7.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002235/1.103, allocations: 1.587 MB / 0.8977 GB, free: 6.234 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/1.105, allocations: 0.9475 MB / 0.8986 GB, free: 5.277 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.105, allocations: 305.1 kB / 0.8989 GB, free: 4.977 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/1.109, allocations: 1.707 MB / 0.9006 GB, free: 3.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004841/1.114, allocations: 3.166 MB / 0.9036 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00878/1.122, allocations: 5.029 MB / 0.9086 GB, free: 9.922 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/1.122, allocations: 8 kB / 0.9086 GB, free: 9.914 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01242/1.135, allocations: 5.707 MB / 0.9141 GB, free: 4.188 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.135, allocations: 83.39 kB / 0.9142 GB, free: 4.094 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009409/1.144, allocations: 4.348 MB / 0.9185 GB, free: 15.71 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02423/1.169, allocations: 3.087 MB / 0.9215 GB, free: 12.79 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004304/1.173, allocations: 1.139 MB / 0.9226 GB, free: 11.65 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.183, allocations: 3.738 MB / 0.9262 GB, free: 7.844 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/1.187, allocations: 222.1 kB / 0.9265 GB, free: 7.629 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.188, allocations: 310.5 kB / 0.9268 GB, free: 7.328 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006656/1.195, allocations: 2.436 MB / 0.9291 GB, free: 4.871 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00583/1.2, allocations: 3.144 MB / 0.9322 GB, free: 1.105 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01004/1.21, allocations: 4.982 MB / 0.9371 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.991e-05/1.21, allocations: 12 kB / 0.9371 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01463/1.225, allocations: 5.562 MB / 0.9425 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/1.225, allocations: 91.38 kB / 0.9426 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0103/1.235, allocations: 4.206 MB / 0.9467 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02199/1.257, allocations: 2.735 MB / 0.9494 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/1.262, allocations: 1.158 MB / 0.9505 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009129/1.271, allocations: 3.449 MB / 0.9539 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/1.275, allocations: 212.2 kB / 0.9541 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.276, allocations: 307.8 kB / 0.9544 GB, free: 9.918 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.001953/1.278, allocations: 0.514 MB / 0.9549 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/1.279, allocations: 451.6 kB / 0.9553 GB, free: 8.945 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.01353/1.293, allocations: 5.427 MB / 0.9606 GB, free: 3.777 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.624446230940521] Failed to read output from testmodel.py, exit status != 0: 1.4920003032311797 1.869674227 0.917220628 Calling exit ...