Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01002/0.01002, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.001182/0.001182, allocations: 97 kB / 24.18 MB, free: 2.465 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.001467/0.001467, allocations: 214.9 kB / 27.9 MB, free: 3.77 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.444/1.444, allocations: 230.6 MB / 262.1 MB, free: 5.852 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.062/1.062, allocations: 130.8 MB / 449.7 MB, free: 6.59 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_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.07294/0.07294, allocations: 20.99 MB / 0.6363 GB, free: 4.383 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.2629, allocations: 81.89 MB / 0.7163 GB, free: 2.387 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.5074/0.7703, allocations: 50.33 MB / 0.7655 GB, free: 17.59 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03397/0.8043, allocations: 20.59 MB / 0.7856 GB, free: 3.289 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007137/0.8114, allocations: 102.6 kB / 0.7857 GB, free: 3.242 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.007327/0.8187, allocations: 2.027 MB / 0.7877 GB, free: 2.32 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.8299, allocations: 2.762 MB / 0.7904 GB, free: 0.4922 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.009888/0.8398, allocations: 3.021 MB / 0.7933 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01432/0.8541, allocations: 6.601 MB / 0.7998 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005295/0.8594, allocations: 1.953 MB / 0.8017 GB, free: 8.848 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007896/0.8673, allocations: 2.703 MB / 0.8043 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006741/0.874, allocations: 2.624 MB / 0.8069 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002291/0.8763, allocations: 460 kB / 0.8073 GB, free: 5.117 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007959/0.8843, allocations: 2.228 MB / 0.8095 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002771/0.8871, allocations: 1.304 MB / 0.8107 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004456/0.8915, allocations: 1.842 MB / 0.8125 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.9073, allocations: 8.123 MB / 0.8205 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9073, allocations: 0 / 0.8205 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.975e-06/0.9073, allocations: 0 / 0.8205 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002539/0.9076, allocations: 0 / 0.8205 GB, free: 7.578 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.01314/0.9207, allocations: 5.215 MB / 0.8256 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.9208, allocations: 8.031 kB / 0.8256 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.9227, allocations: 0.6223 MB / 0.8262 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009095/0.9318, allocations: 4.072 MB / 0.8302 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.932, allocations: 185 kB / 0.8303 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005524/0.9326, allocations: 228.1 kB / 0.8306 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.9461, allocations: 6 MB / 0.8364 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.772e-05/0.9462, allocations: 31.69 kB / 0.8364 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.9465, allocations: 112 kB / 0.8366 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.482e-05/0.9466, allocations: 79.98 kB / 0.8366 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.9578, allocations: 4.017 MB / 0.8406 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.9854, allocations: 21.4 MB / 0.8615 GB, free: 12.02 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.9958, allocations: 3.521 MB / 0.8649 GB, free: 8.398 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/0.9988, allocations: 1.247 MB / 0.8661 GB, free: 7.102 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.9999, allocations: 269.1 kB / 0.8664 GB, free: 6.848 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00957/1.009, allocations: 3.164 MB / 0.8695 GB, free: 3.582 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 1.167e-05/1.009, allocations: 4 kB / 0.8695 GB, free: 3.578 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.04706/1.057, allocations: 21.58 MB / 0.8905 GB, free: 13.78 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005526/1.057, allocations: 0.8344 MB / 0.8913 GB, free: 12.76 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/1.062, allocations: 3.225 MB / 0.8945 GB, free: 9.547 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007709/1.063, allocations: 61.7 kB / 0.8946 GB, free: 9.48 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/1.065, allocations: 1.631 MB / 0.8961 GB, free: 7.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002095/1.067, allocations: 1.58 MB / 0.8977 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/1.068, allocations: 0.9475 MB / 0.8986 GB, free: 5.285 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.068, allocations: 304.2 kB / 0.8989 GB, free: 4.988 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/1.071, allocations: 1.715 MB / 0.9006 GB, free: 3.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004446/1.076, allocations: 3.17 MB / 0.9037 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008063/1.084, allocations: 5.025 MB / 0.9086 GB, free: 9.926 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/1.084, allocations: 12 kB / 0.9086 GB, free: 9.914 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.0116/1.096, allocations: 5.698 MB / 0.9142 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 9.794e-05/1.096, allocations: 87.39 kB / 0.9142 GB, free: 4.102 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008645/1.104, allocations: 4.354 MB / 0.9185 GB, free: 15.71 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02327/1.128, allocations: 3.084 MB / 0.9215 GB, free: 12.8 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/1.132, allocations: 1.135 MB / 0.9226 GB, free: 11.66 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009149/1.141, allocations: 3.741 MB / 0.9263 GB, free: 7.848 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/1.144, allocations: 222.1 kB / 0.9265 GB, free: 7.633 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006415/1.145, allocations: 314.4 kB / 0.9268 GB, free: 7.328 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004992/1.15, allocations: 2.436 MB / 0.9292 GB, free: 4.871 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004508/1.154, allocations: 3.136 MB / 0.9322 GB, free: 1.113 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008018/1.162, allocations: 4.984 MB / 0.9371 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.338e-05/1.162, allocations: 14.91 kB / 0.9371 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01157/1.174, allocations: 5.557 MB / 0.9425 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.064e-05/1.174, allocations: 90.08 kB / 0.9426 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008246/1.182, allocations: 4.211 MB / 0.9467 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02103/1.203, allocations: 2.732 MB / 0.9494 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/1.207, allocations: 1.166 MB / 0.9505 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008416/1.216, allocations: 3.439 MB / 0.9539 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/1.219, allocations: 214.2 kB / 0.9541 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.22, allocations: 310.6 kB / 0.9544 GB, free: 9.926 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.001814/1.222, allocations: 0.5179 MB / 0.9549 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.223, allocations: 447.6 kB / 0.9553 GB, free: 8.949 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.01105/1.234, allocations: 5.429 MB / 0.9606 GB, free: 3.785 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.313912492245436] Failed to read output from testmodel.py, exit status != 0: 1.405458640307188 1.716576074 0.805610618 Calling exit ...