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.01271/0.01271, allocations: 1.751 MB / 21.35 MB, free: 356 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.001406/0.001406, allocations: 104.3 kB / 24.93 MB, free: 2.031 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.001739/0.001739, allocations: 210.3 kB / 28.65 MB, free: 3.297 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.551/1.551, allocations: 230.6 MB / 262.8 MB, free: 5.828 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.143/1.143, allocations: 130.7 MB / 450.4 MB, free: 6.395 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.06859/0.06859, allocations: 20.99 MB / 0.6371 GB, free: 4.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2667, allocations: 81.91 MB / 0.7171 GB, free: 2.188 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.6011/0.8678, allocations: 50.33 MB / 0.7662 GB, free: 17.5 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03468/0.9025, allocations: 20.6 MB / 0.7863 GB, free: 3.188 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00635/0.9088, allocations: 99.09 kB / 0.7864 GB, free: 3.141 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.006609/0.9154, allocations: 2.027 MB / 0.7884 GB, free: 2.223 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.9256, allocations: 2.76 MB / 0.7911 GB, free: 404 kB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008796/0.9344, allocations: 3.026 MB / 0.794 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01307/0.9475, allocations: 6.593 MB / 0.8005 GB, free: 10.21 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004632/0.9521, allocations: 1.947 MB / 0.8024 GB, free: 8.754 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007284/0.9594, allocations: 2.7 MB / 0.805 GB, free: 7.188 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006446/0.9658, allocations: 2.623 MB / 0.8076 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.9677, allocations: 460 kB / 0.808 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007111/0.9748, allocations: 2.229 MB / 0.8102 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.9768, allocations: 1.312 MB / 0.8115 GB, free: 1.492 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003461/0.9803, allocations: 1.838 MB / 0.8133 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.9958, allocations: 8.127 MB / 0.8212 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.9958, allocations: 2.688 kB / 0.8212 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9958, allocations: 1.5 kB / 0.8212 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002266/0.9961, allocations: 0 / 0.8212 GB, free: 7.488 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.01183/1.008, allocations: 5.209 MB / 0.8263 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.008, allocations: 10.72 kB / 0.8263 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/1.01, allocations: 0.6223 MB / 0.8269 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008924/1.019, allocations: 4.069 MB / 0.8309 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/1.019, allocations: 181 kB / 0.8311 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/1.019, allocations: 234.7 kB / 0.8313 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/1.034, allocations: 5.994 MB / 0.8371 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/1.034, allocations: 31.75 kB / 0.8372 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/1.034, allocations: 114.6 kB / 0.8373 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.784e-05/1.034, allocations: 76 kB / 0.8374 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/1.046, allocations: 4.019 MB / 0.8413 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/1.073, allocations: 21.4 MB / 0.8622 GB, free: 11.96 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/1.084, allocations: 3.527 MB / 0.8656 GB, free: 8.328 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/1.086, allocations: 1.25 MB / 0.8668 GB, free: 7.027 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.087, allocations: 266.9 kB / 0.8671 GB, free: 6.773 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009045/1.097, allocations: 3.157 MB / 0.8702 GB, free: 3.512 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 6.723e-06/1.097, allocations: 4 kB / 0.8702 GB, free: 3.508 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.0486/1.145, allocations: 21.58 MB / 0.8913 GB, free: 13.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005842/1.146, allocations: 0.8332 MB / 0.8921 GB, free: 12.69 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/1.152, allocations: 3.221 MB / 0.8952 GB, free: 9.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008139/1.152, allocations: 65.7 kB / 0.8953 GB, free: 9.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/1.154, allocations: 1.625 MB / 0.8969 GB, free: 7.77 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002236/1.156, allocations: 1.591 MB / 0.8984 GB, free: 6.164 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/1.158, allocations: 0.9475 MB / 0.8993 GB, free: 5.207 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.158, allocations: 301.1 kB / 0.8996 GB, free: 4.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/1.161, allocations: 1.71 MB / 0.9013 GB, free: 3.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005091/1.166, allocations: 3.168 MB / 0.9044 GB, free: 15.39 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008751/1.175, allocations: 5.025 MB / 0.9093 GB, free: 9.855 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/1.175, allocations: 12 kB / 0.9093 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01267/1.188, allocations: 5.702 MB / 0.9149 GB, free: 4.125 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.188, allocations: 96.06 kB / 0.915 GB, free: 4.023 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009661/1.198, allocations: 4.345 MB / 0.9192 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02404/1.222, allocations: 3.084 MB / 0.9222 GB, free: 12.73 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004214/1.226, allocations: 1.141 MB / 0.9233 GB, free: 11.59 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009454/1.235, allocations: 3.734 MB / 0.927 GB, free: 7.781 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/1.239, allocations: 222.1 kB / 0.9272 GB, free: 7.566 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009536/1.24, allocations: 307.8 kB / 0.9275 GB, free: 7.266 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005641/1.246, allocations: 2.444 MB / 0.9299 GB, free: 4.801 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004846/1.251, allocations: 3.147 MB / 0.933 GB, free: 1.035 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008919/1.259, allocations: 4.973 MB / 0.9378 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-05/1.259, allocations: 16.42 kB / 0.9378 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01362/1.273, allocations: 5.563 MB / 0.9433 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.273, allocations: 87.38 kB / 0.9433 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0105/1.284, allocations: 4.208 MB / 0.9475 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02203/1.306, allocations: 2.722 MB / 0.9501 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/1.31, allocations: 1.174 MB / 0.9513 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008865/1.319, allocations: 3.444 MB / 0.9546 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/1.323, allocations: 214.2 kB / 0.9548 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008543/1.324, allocations: 307.8 kB / 0.9551 GB, free: 9.852 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.001564/1.325, allocations: 0.514 MB / 0.9556 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.327, allocations: 448.9 kB / 0.9561 GB, free: 8.875 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.01067/1.337, allocations: 5.424 MB / 0.9613 GB, free: 3.73 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.956447528209537] Failed to read output from testmodel.py, exit status != 0: 1.5617476920597255 1.978487958 0.978164662 Calling exit ...