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.009848/0.009848, allocations: 1.34 MB / 21.02 MB, free: 0.6094 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.0014/0.0014, allocations: 86.36 kB / 24.58 MB, free: 1.883 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.001684/0.001684, allocations: 164.9 kB / 28.25 MB, free: 3.148 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.422/1.422, allocations: 177.2 MB / 209 MB, free: 7.609 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 0.9856/0.9856, allocations: 102.5 MB / 368.3 MB, free: 4.129 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: 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.06656/0.06656, allocations: 20.95 MB / 0.5569 GB, free: 4.922 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.2293, allocations: 81.89 MB / 0.6369 GB, free: 2.906 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.141/0.3703, allocations: 42.91 MB / 0.6788 GB, free: 8.004 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.438/0.8083, allocations: 20.59 MB / 0.6989 GB, free: 18.14 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004789/0.8131, allocations: 98.81 kB / 0.699 GB, free: 18.09 MB / 0.5763 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.006888/0.82, allocations: 2.024 MB / 0.7009 GB, free: 17.51 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.8308, allocations: 2.762 MB / 0.7036 GB, free: 16.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.8409, allocations: 3.022 MB / 0.7066 GB, free: 15.21 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.8531, allocations: 6.594 MB / 0.713 GB, free: 12.15 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004596/0.8577, allocations: 1.953 MB / 0.7149 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006888/0.8646, allocations: 2.694 MB / 0.7176 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.8704, allocations: 2.62 MB / 0.7201 GB, free: 8.812 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.8723, allocations: 461.3 kB / 0.7206 GB, free: 8.812 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007687/0.88, allocations: 2.237 MB / 0.7228 GB, free: 7.824 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.8824, allocations: 1.309 MB / 0.724 GB, free: 6.805 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005209/0.8876, allocations: 1.838 MB / 0.7258 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.9042, allocations: 8.126 MB / 0.7338 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9042, allocations: 6.594 kB / 0.7338 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.337e-06/0.9042, allocations: 1.688 kB / 0.7338 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003277/0.9045, allocations: 0 / 0.7338 GB, free: 15.99 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.01942/0.9239, allocations: 5.211 MB / 0.7389 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.924, allocations: 12.47 kB / 0.7389 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.9278, allocations: 0.6193 MB / 0.7395 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/0.9415, allocations: 4.054 MB / 0.7434 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.9418, allocations: 178.8 kB / 0.7436 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.9431, allocations: 235.3 kB / 0.7438 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.9623, allocations: 5.999 MB / 0.7497 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.9624, allocations: 27.47 kB / 0.7497 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008878/0.9633, allocations: 117 kB / 0.7498 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.9635, allocations: 78.64 kB / 0.7499 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.9767, allocations: 4.021 MB / 0.7538 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/1.01, allocations: 21.38 MB / 0.7747 GB, free: 11.43 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/1.021, allocations: 3.523 MB / 0.7782 GB, free: 7.805 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/1.025, allocations: 1.271 MB / 0.7794 GB, free: 6.492 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.026, allocations: 255 kB / 0.7796 GB, free: 6.246 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01012/1.036, allocations: 3.177 MB / 0.7827 GB, free: 2.969 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=470): time 1.084e-05/1.036, allocations: 0 / 0.7827 GB, free: 2.969 MB / 0.6232 GB Notification: Performance of matching and sorting (n=471): time 0.05397/1.09, allocations: 21.58 MB / 0.8038 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005554/1.09, allocations: 0.8269 MB / 0.8046 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005743/1.096, allocations: 3.229 MB / 0.8078 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00086/1.097, allocations: 61.7 kB / 0.8078 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.099, allocations: 1.629 MB / 0.8094 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002427/1.101, allocations: 1.584 MB / 0.811 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/1.103, allocations: 0.9514 MB / 0.8119 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.103, allocations: 303.8 kB / 0.8122 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/1.107, allocations: 1.699 MB / 0.8138 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005162/1.112, allocations: 3.177 MB / 0.817 GB, free: 14.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009647/1.122, allocations: 5.027 MB / 0.8219 GB, free: 9.316 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/1.122, allocations: 8 kB / 0.8219 GB, free: 9.309 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01404/1.136, allocations: 5.707 MB / 0.8274 GB, free: 3.586 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.136, allocations: 90.02 kB / 0.8275 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01022/1.146, allocations: 4.345 MB / 0.8318 GB, free: 15.1 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02563/1.172, allocations: 3.083 MB / 0.8348 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/1.176, allocations: 1.143 MB / 0.8359 GB, free: 11.05 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.187, allocations: 3.742 MB / 0.8396 GB, free: 7.238 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/1.191, allocations: 214.2 kB / 0.8398 GB, free: 7.031 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.192, allocations: 314.4 kB / 0.8401 GB, free: 6.727 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007107/1.2, allocations: 2.44 MB / 0.8424 GB, free: 4.266 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005851/1.205, allocations: 3.14 MB / 0.8455 GB, free: 0.5039 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01011/1.216, allocations: 4.987 MB / 0.8504 GB, free: 11 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.265e-05/1.216, allocations: 12 kB / 0.8504 GB, free: 10.99 MB / 0.7013 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01536/1.231, allocations: 5.553 MB / 0.8558 GB, free: 5.422 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/1.231, allocations: 93.98 kB / 0.8559 GB, free: 5.32 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01047/1.242, allocations: 4.21 MB / 0.86 GB, free: 1.066 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02326/1.265, allocations: 2.726 MB / 0.8627 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/1.269, allocations: 1.166 MB / 0.8638 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009369/1.279, allocations: 3.45 MB / 0.8672 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/1.283, allocations: 206.2 kB / 0.8674 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.284, allocations: 307.8 kB / 0.8677 GB, free: 9.32 MB / 0.7169 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.001847/1.286, allocations: 0.5321 MB / 0.8682 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.287, allocations: 440.9 kB / 0.8686 GB, free: 8.336 MB / 0.7169 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.01261/1.3, allocations: 5.413 MB / 0.8739 GB, free: 3.137 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.059960345970467] Failed to read output from testmodel.py, exit status != 0: 1.4901759850326926 1.505791499 0.598127693 Calling exit ...