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.01049/0.01049, allocations: 1.747 MB / 21.35 MB, free: 480 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.00135/0.00135, allocations: 101 kB / 24.94 MB, free: 2.055 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.001583/0.001583, allocations: 210.3 kB / 28.64 MB, free: 3.344 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.618/1.618, allocations: 230.6 MB / 262.8 MB, free: 5.84 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.17/1.17, allocations: 130.7 MB / 450.4 MB, free: 6.371 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.06878/0.06878, allocations: 20.99 MB / 0.637 GB, free: 4.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.2636, allocations: 81.91 MB / 0.717 GB, free: 2.199 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.5581/0.8217, allocations: 50.33 MB / 0.7662 GB, free: 17.51 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03076/0.8524, allocations: 20.6 MB / 0.7863 GB, free: 3.195 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005394/0.8578, allocations: 97.78 kB / 0.7864 GB, free: 3.152 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.006088/0.8639, allocations: 2.035 MB / 0.7884 GB, free: 2.227 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009315/0.8732, allocations: 2.763 MB / 0.7911 GB, free: 392 kB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008607/0.8819, allocations: 3.016 MB / 0.794 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.8936, allocations: 6.595 MB / 0.8005 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004019/0.8976, allocations: 1.947 MB / 0.8024 GB, free: 8.742 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006337/0.9039, allocations: 2.703 MB / 0.805 GB, free: 7.172 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005767/0.9097, allocations: 2.622 MB / 0.8076 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.911, allocations: 464 kB / 0.808 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006439/0.9174, allocations: 2.229 MB / 0.8102 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.919, allocations: 1.308 MB / 0.8115 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003328/0.9223, allocations: 1.838 MB / 0.8133 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.9362, allocations: 8.127 MB / 0.8212 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9362, allocations: 0 / 0.8212 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9362, allocations: 0 / 0.8212 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001778/0.9363, allocations: 4 kB / 0.8212 GB, free: 7.438 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.01082/0.9472, allocations: 5.215 MB / 0.8263 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9472, allocations: 9.531 kB / 0.8263 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.9491, allocations: 0.6223 MB / 0.8269 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008239/0.9573, allocations: 4.056 MB / 0.8309 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.9575, allocations: 180.9 kB / 0.831 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.9579, allocations: 240 kB / 0.8313 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.9707, allocations: 5.996 MB / 0.8371 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.718e-05/0.9708, allocations: 27.75 kB / 0.8371 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.971, allocations: 112 kB / 0.8373 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-05/0.9711, allocations: 80.69 kB / 0.8373 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.9822, allocations: 4.017 MB / 0.8413 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0279/1.01, allocations: 21.4 MB / 0.8622 GB, free: 11.9 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.021, allocations: 3.525 MB / 0.8656 GB, free: 8.281 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/1.024, allocations: 1.26 MB / 0.8668 GB, free: 6.969 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.025, allocations: 261.4 kB / 0.8671 GB, free: 6.723 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009636/1.035, allocations: 3.164 MB / 0.8702 GB, free: 3.453 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 9.227e-06/1.035, allocations: 0 / 0.8702 GB, free: 3.453 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.05087/1.086, allocations: 21.58 MB / 0.8912 GB, free: 13.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004796/1.086, allocations: 0.8266 MB / 0.892 GB, free: 12.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/1.092, allocations: 3.229 MB / 0.8952 GB, free: 9.426 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009308/1.093, allocations: 60.39 kB / 0.8953 GB, free: 9.363 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/1.094, allocations: 1.629 MB / 0.8968 GB, free: 7.719 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002145/1.097, allocations: 1.587 MB / 0.8984 GB, free: 6.117 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/1.098, allocations: 0.9506 MB / 0.8993 GB, free: 5.16 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.098, allocations: 301.1 kB / 0.8996 GB, free: 4.863 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/1.102, allocations: 1.711 MB / 0.9013 GB, free: 3.129 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004699/1.106, allocations: 3.174 MB / 0.9044 GB, free: 15.34 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008973/1.115, allocations: 5.019 MB / 0.9093 GB, free: 9.805 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/1.115, allocations: 14.69 kB / 0.9093 GB, free: 9.793 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01283/1.128, allocations: 5.7 MB / 0.9149 GB, free: 4.074 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.128, allocations: 93.09 kB / 0.915 GB, free: 3.973 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009252/1.138, allocations: 4.343 MB / 0.9192 GB, free: 15.59 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/1.162, allocations: 3.085 MB / 0.9222 GB, free: 12.68 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/1.166, allocations: 1.139 MB / 0.9233 GB, free: 11.54 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009752/1.176, allocations: 3.739 MB / 0.927 GB, free: 7.727 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/1.18, allocations: 222.1 kB / 0.9272 GB, free: 7.512 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009242/1.181, allocations: 318.3 kB / 0.9275 GB, free: 7.211 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0058/1.186, allocations: 2.44 MB / 0.9299 GB, free: 4.75 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004937/1.191, allocations: 3.144 MB / 0.9329 GB, free: 0.9844 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008928/1.2, allocations: 4.974 MB / 0.9378 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-05/1.2, allocations: 12 kB / 0.9378 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01269/1.213, allocations: 5.559 MB / 0.9432 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/1.213, allocations: 91.38 kB / 0.9433 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009004/1.222, allocations: 4.211 MB / 0.9474 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02208/1.244, allocations: 2.719 MB / 0.9501 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/1.248, allocations: 1.174 MB / 0.9512 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008811/1.257, allocations: 3.444 MB / 0.9546 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/1.261, allocations: 215.8 kB / 0.9548 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009744/1.262, allocations: 307.8 kB / 0.9551 GB, free: 9.797 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.001729/1.263, allocations: 0.5127 MB / 0.9556 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.265, allocations: 448.9 kB / 0.956 GB, free: 8.824 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.01269/1.278, allocations: 5.423 MB / 0.9613 GB, free: 3.676 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.908967413939536] Failed to read output from testmodel.py, exit status != 0: 1.4752562791109085 1.84189277 0.901878989 Calling exit ...