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.01648/0.01648, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.001558/0.001558, allocations: 103.6 kB / 24.97 MB, free: 2.035 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.00244/0.00244, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.441/1.441, allocations: 230.6 MB / 262.9 MB, free: 5.805 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.128/1.128, allocations: 130.7 MB / 450.4 MB, free: 6.422 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.064/0.064, allocations: 20.6 MB / 0.6367 GB, free: 4.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.2438, allocations: 81.91 MB / 0.7167 GB, free: 2.582 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.5144/0.7582, allocations: 50.3 MB / 0.7658 GB, free: 17.6 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.7892, allocations: 20.58 MB / 0.7859 GB, free: 3.297 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006102/0.7953, allocations: 98.94 kB / 0.786 GB, free: 3.25 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.006917/0.8022, allocations: 2.043 MB / 0.788 GB, free: 2.316 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009812/0.812, allocations: 2.765 MB / 0.7907 GB, free: 0.5469 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.009533/0.8215, allocations: 3.014 MB / 0.7936 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.8337, allocations: 6.602 MB / 0.8001 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.838, allocations: 1.81 MB / 0.8019 GB, free: 9.043 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/0.8445, allocations: 2.716 MB / 0.8045 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006201/0.8507, allocations: 2.787 MB / 0.8072 GB, free: 5.68 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001961/0.8526, allocations: 464.1 kB / 0.8077 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007505/0.8601, allocations: 2.291 MB / 0.8099 GB, free: 3.023 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002578/0.8627, allocations: 1.312 MB / 0.8112 GB, free: 1.707 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004995/0.8677, allocations: 1.834 MB / 0.813 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02119/0.8889, allocations: 8.135 MB / 0.8209 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.8889, allocations: 0 / 0.8209 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.086e-06/0.8889, allocations: 0 / 0.8209 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003288/0.8893, allocations: 2.656 kB / 0.8209 GB, free: 7.699 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.01703/0.9063, allocations: 5.209 MB / 0.826 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.9063, allocations: 11.97 kB / 0.826 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.9084, allocations: 0.621 MB / 0.8266 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008967/0.9174, allocations: 4.068 MB / 0.8306 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.9176, allocations: 181 kB / 0.8308 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.9181, allocations: 236.1 kB / 0.831 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.932, allocations: 5.992 MB / 0.8369 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.49e-05/0.9321, allocations: 27.75 kB / 0.8369 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.9324, allocations: 116 kB / 0.837 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-05/0.9324, allocations: 76 kB / 0.8371 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.944, allocations: 4.028 MB / 0.841 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02605/0.9701, allocations: 21.4 MB / 0.8619 GB, free: 12.16 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.9809, allocations: 3.532 MB / 0.8653 GB, free: 8.527 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/0.9838, allocations: 1.252 MB / 0.8666 GB, free: 7.223 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.9849, allocations: 261.6 kB / 0.8668 GB, free: 6.977 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009527/0.9944, allocations: 3.164 MB / 0.8699 GB, free: 3.707 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 6.402e-06/0.9944, allocations: 0 / 0.8699 GB, free: 3.707 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.04467/1.039, allocations: 21.59 MB / 0.891 GB, free: 13.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005295/1.04, allocations: 0.823 MB / 0.8918 GB, free: 12.89 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/1.045, allocations: 3.171 MB / 0.8949 GB, free: 9.734 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007934/1.046, allocations: 60.36 kB / 0.8949 GB, free: 9.672 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.047, allocations: 1.629 MB / 0.8965 GB, free: 8.027 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002259/1.05, allocations: 1.583 MB / 0.8981 GB, free: 6.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/1.051, allocations: 0.9514 MB / 0.899 GB, free: 5.469 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.052, allocations: 301.1 kB / 0.8993 GB, free: 5.172 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003465/1.055, allocations: 1.707 MB / 0.901 GB, free: 3.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/1.06, allocations: 3.174 MB / 0.9041 GB, free: 15.65 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008686/1.069, allocations: 5.026 MB / 0.909 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/1.069, allocations: 10.72 kB / 0.909 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01322/1.082, allocations: 5.703 MB / 0.9146 GB, free: 4.383 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.082, allocations: 87.38 kB / 0.9146 GB, free: 4.285 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009862/1.092, allocations: 4.348 MB / 0.9189 GB, free: 15.9 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0255/1.117, allocations: 3.089 MB / 0.9219 GB, free: 12.98 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/1.122, allocations: 1.135 MB / 0.923 GB, free: 11.85 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009619/1.131, allocations: 3.737 MB / 0.9267 GB, free: 8.035 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.135, allocations: 224.8 kB / 0.9269 GB, free: 7.82 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007553/1.136, allocations: 314.6 kB / 0.9272 GB, free: 7.516 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005451/1.141, allocations: 2.435 MB / 0.9296 GB, free: 5.062 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004782/1.146, allocations: 3.144 MB / 0.9326 GB, free: 1.297 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008712/1.155, allocations: 4.977 MB / 0.9375 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.754e-05/1.155, allocations: 12 kB / 0.9375 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01278/1.167, allocations: 5.563 MB / 0.9429 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/1.168, allocations: 95.91 kB / 0.943 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008859/1.176, allocations: 4.207 MB / 0.9471 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02327/1.2, allocations: 2.727 MB / 0.9498 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.204, allocations: 1.166 MB / 0.9509 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00889/1.213, allocations: 3.448 MB / 0.9543 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/1.217, allocations: 211.5 kB / 0.9545 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007108/1.218, allocations: 307.8 kB / 0.9548 GB, free: 10.11 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.001576/1.219, allocations: 0.5256 MB / 0.9553 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.22, allocations: 444.9 kB / 0.9557 GB, free: 9.129 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.01109/1.232, allocations: 5.394 MB / 0.961 GB, free: 3.988 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.578489890904166] Failed to read output from testmodel.py, exit status != 0: 1.438088427996263 1.771022343 0.878381558 Calling exit ...