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.01514/0.01514, 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.001315/0.001315, allocations: 95.84 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.001586/0.001586, 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.445/1.445, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.04/1.04, allocations: 130.7 MB / 449.6 MB, free: 6.418 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.0669/0.0669, allocations: 20.99 MB / 0.6363 GB, free: 4.234 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.2382, allocations: 81.91 MB / 0.7163 GB, free: 2.238 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.5032/0.7415, allocations: 50.32 MB / 0.7654 GB, free: 17.54 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03254/0.774, allocations: 20.6 MB / 0.7856 GB, free: 3.234 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005508/0.7795, allocations: 102 kB / 0.7857 GB, free: 3.188 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.006464/0.786, allocations: 2.031 MB / 0.7876 GB, free: 2.266 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.7965, allocations: 2.764 MB / 0.7903 GB, free: 456 kB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.8065, allocations: 3.02 MB / 0.7933 GB, free: 14.19 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01317/0.8197, allocations: 6.592 MB / 0.7997 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004967/0.8247, allocations: 1.95 MB / 0.8016 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007191/0.8319, allocations: 2.708 MB / 0.8043 GB, free: 7.234 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006407/0.8383, allocations: 2.624 MB / 0.8068 GB, free: 5.508 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.8404, allocations: 460 kB / 0.8073 GB, free: 5.059 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007622/0.8481, allocations: 2.228 MB / 0.8094 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.8507, allocations: 1.308 MB / 0.8107 GB, free: 1.523 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004926/0.8556, allocations: 1.842 MB / 0.8125 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.8721, allocations: 8.123 MB / 0.8205 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8721, allocations: 0 / 0.8205 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.896e-06/0.8721, allocations: 3.938 kB / 0.8205 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002877/0.8724, allocations: 0 / 0.8205 GB, free: 7.516 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.0144/0.8868, allocations: 5.212 MB / 0.8255 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8869, allocations: 12.78 kB / 0.8256 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.8895, allocations: 0.6184 MB / 0.8262 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.8996, allocations: 4.07 MB / 0.8301 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.8998, allocations: 181 kB / 0.8303 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009113/0.9008, allocations: 236.1 kB / 0.8305 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.9166, allocations: 5.999 MB / 0.8364 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.9167, allocations: 27.75 kB / 0.8364 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006838/0.9174, allocations: 116 kB / 0.8365 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.9175, allocations: 79.98 kB / 0.8366 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.9307, allocations: 4.009 MB / 0.8405 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03103/0.9617, allocations: 21.39 MB / 0.8614 GB, free: 11.98 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.973, allocations: 3.53 MB / 0.8649 GB, free: 8.355 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003177/0.9761, allocations: 1.252 MB / 0.8661 GB, free: 7.051 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.9773, allocations: 263 kB / 0.8663 GB, free: 6.801 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01/0.9873, allocations: 3.164 MB / 0.8694 GB, free: 3.535 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 1.087e-05/0.9873, allocations: 0 / 0.8694 GB, free: 3.535 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.04992/1.037, allocations: 21.59 MB / 0.8905 GB, free: 13.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005058/1.038, allocations: 0.8305 MB / 0.8913 GB, free: 12.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005414/1.043, allocations: 3.229 MB / 0.8945 GB, free: 9.496 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007448/1.044, allocations: 61.7 kB / 0.8945 GB, free: 9.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.046, allocations: 1.627 MB / 0.8961 GB, free: 7.789 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002153/1.048, allocations: 1.584 MB / 0.8977 GB, free: 6.191 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/1.05, allocations: 0.9475 MB / 0.8986 GB, free: 5.234 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.05, allocations: 309.1 kB / 0.8989 GB, free: 4.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/1.053, allocations: 1.703 MB / 0.9006 GB, free: 3.203 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/1.058, allocations: 3.166 MB / 0.9036 GB, free: 15.42 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00947/1.068, allocations: 5.029 MB / 0.9086 GB, free: 9.879 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.325e-05/1.068, allocations: 12 kB / 0.9086 GB, free: 9.867 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01411/1.082, allocations: 5.713 MB / 0.9141 GB, free: 4.141 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.082, allocations: 83.39 kB / 0.9142 GB, free: 4.047 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0104/1.092, allocations: 4.345 MB / 0.9185 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/1.117, allocations: 3.089 MB / 0.9215 GB, free: 12.75 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004214/1.121, allocations: 1.135 MB / 0.9226 GB, free: 11.61 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.131, allocations: 3.742 MB / 0.9262 GB, free: 7.797 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/1.134, allocations: 218.1 kB / 0.9265 GB, free: 7.586 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/1.135, allocations: 314.5 kB / 0.9268 GB, free: 7.281 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006478/1.142, allocations: 2.432 MB / 0.9291 GB, free: 4.828 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005498/1.147, allocations: 3.144 MB / 0.9322 GB, free: 1.062 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009749/1.157, allocations: 4.984 MB / 0.9371 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.415e-05/1.157, allocations: 8 kB / 0.9371 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01496/1.172, allocations: 5.562 MB / 0.9425 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/1.172, allocations: 92.06 kB / 0.9426 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01101/1.183, allocations: 4.213 MB / 0.9467 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02211/1.205, allocations: 2.724 MB / 0.9494 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/1.21, allocations: 1.162 MB / 0.9505 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009496/1.219, allocations: 3.445 MB / 0.9539 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/1.223, allocations: 210.2 kB / 0.9541 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.225, allocations: 307.8 kB / 0.9544 GB, free: 9.879 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.002057/1.227, allocations: 0.5179 MB / 0.9549 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/1.228, allocations: 447.5 kB / 0.9553 GB, free: 8.902 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.01263/1.241, allocations: 5.428 MB / 0.9606 GB, free: 3.727 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.480943243019283] Failed to read output from testmodel.py, exit status != 0: 1.438923615962267 1.787128473 0.911032955 Calling exit ...