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.01492/0.01492, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001334/0.001334, allocations: 104.8 kB / 24.98 MB, free: 2.184 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.002173/0.002173, allocations: 206 kB / 28.71 MB, free: 3.461 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.402/1.402, allocations: 230.6 MB / 262.9 MB, free: 6.023 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.03/1.03, allocations: 130.7 MB / 450.4 MB, free: 6.559 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.03213/0.03213, allocations: 20.6 MB / 0.6368 GB, free: 4.805 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.2075, allocations: 81.9 MB / 0.7168 GB, free: 2.824 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.5321/0.7396, allocations: 52.61 MB / 0.7682 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03286/0.7724, allocations: 21.6 MB / 0.7893 GB, free: 172 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006436/0.7789, allocations: 99.16 kB / 0.7893 GB, free: 124 kB / 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.007404/0.7863, allocations: 2.131 MB / 0.7914 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.7979, allocations: 2.757 MB / 0.7941 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009316/0.8072, allocations: 3.004 MB / 0.7971 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01391/0.8211, allocations: 6.604 MB / 0.8035 GB, free: 7.168 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004038/0.8252, allocations: 1.826 MB / 0.8053 GB, free: 5.828 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/0.8314, allocations: 2.689 MB / 0.8079 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006486/0.8379, allocations: 2.801 MB / 0.8106 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001716/0.8396, allocations: 461.5 kB / 0.8111 GB, free: 2.355 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008523/0.8481, allocations: 3.007 MB / 0.814 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.8505, allocations: 1.308 MB / 0.8153 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004451/0.855, allocations: 2.405 MB / 0.8176 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.8712, allocations: 8.255 MB / 0.8257 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.8712, allocations: 3.984 kB / 0.8257 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8712, allocations: 3.438 kB / 0.8257 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002101/0.8714, allocations: 0 / 0.8257 GB, free: 3.34 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.01148/0.8829, allocations: 5.205 MB / 0.8308 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.883, allocations: 10.72 kB / 0.8308 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.885, allocations: 0.6223 MB / 0.8314 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00875/0.8937, allocations: 4.069 MB / 0.8354 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.8939, allocations: 179.6 kB / 0.8356 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004796/0.8944, allocations: 236.1 kB / 0.8358 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.9088, allocations: 5.275 MB / 0.8409 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.211e-05/0.9089, allocations: 27.75 kB / 0.841 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000302/0.9092, allocations: 112 kB / 0.8411 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.361e-05/0.9092, allocations: 79.98 kB / 0.8411 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.9219, allocations: 3.974 MB / 0.845 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.9509, allocations: 22.93 MB / 0.8674 GB, free: 7.27 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.962, allocations: 3.477 MB / 0.8708 GB, free: 3.711 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.9649, allocations: 1.193 MB / 0.872 GB, free: 2.48 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.966, allocations: 277.6 kB / 0.8722 GB, free: 2.219 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009573/0.9756, allocations: 3.097 MB / 0.8753 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=470): time 5.03e-06/0.9756, allocations: 0 / 0.8753 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=471): time 0.04472/1.02, allocations: 21.46 MB / 0.8962 GB, free: 9.391 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005205/1.021, allocations: 0.8256 MB / 0.897 GB, free: 8.375 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/1.026, allocations: 3.256 MB / 0.9002 GB, free: 5.098 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000792/1.027, allocations: 61.7 kB / 0.9003 GB, free: 5.031 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/1.028, allocations: 1.602 MB / 0.9018 GB, free: 3.418 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002223/1.031, allocations: 1.59 MB / 0.9034 GB, free: 1.816 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/1.032, allocations: 0.9475 MB / 0.9043 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.032, allocations: 305.1 kB / 0.9046 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003385/1.036, allocations: 1.642 MB / 0.9062 GB, free: 14.9 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004632/1.041, allocations: 2.907 MB / 0.909 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00871/1.049, allocations: 5.019 MB / 0.9139 GB, free: 5.973 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.167e-05/1.049, allocations: 14.25 kB / 0.914 GB, free: 5.961 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01269/1.062, allocations: 5.637 MB / 0.9195 GB, free: 328 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.062, allocations: 91.38 kB / 0.9196 GB, free: 224 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009462/1.072, allocations: 4.271 MB / 0.9237 GB, free: 11.93 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02452/1.096, allocations: 3.08 MB / 0.9267 GB, free: 9.02 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004402/1.1, allocations: 1.141 MB / 0.9278 GB, free: 7.879 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.111, allocations: 3.761 MB / 0.9315 GB, free: 4.039 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/1.114, allocations: 220.8 kB / 0.9317 GB, free: 3.828 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/1.116, allocations: 311.8 kB / 0.932 GB, free: 3.523 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006643/1.122, allocations: 2.374 MB / 0.9343 GB, free: 1.141 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00563/1.128, allocations: 2.884 MB / 0.9372 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009299/1.137, allocations: 4.971 MB / 0.942 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.058e-05/1.137, allocations: 13.81 kB / 0.942 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01238/1.15, allocations: 5.5 MB / 0.9474 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/1.15, allocations: 83.39 kB / 0.9475 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008572/1.158, allocations: 4.129 MB / 0.9515 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02179/1.18, allocations: 2.731 MB / 0.9542 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/1.184, allocations: 1.17 MB / 0.9553 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008806/1.193, allocations: 3.475 MB / 0.9587 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/1.197, allocations: 203.6 kB / 0.9589 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006693/1.197, allocations: 311.8 kB / 0.9592 GB, free: 6.523 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.001481/1.199, allocations: 0.5217 MB / 0.9597 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.2, allocations: 448.9 kB / 0.9601 GB, free: 5.539 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.01053/1.211, allocations: 5.392 MB / 0.9654 GB, free: 288 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.343905973015353] Failed to read output from testmodel.py, exit status != 0: 1.419134896947071 1.757950532 0.883116065 Calling exit ...