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.01022/0.01022, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001365/0.001365, allocations: 104 kB / 24.94 MB, free: 2.176 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.001679/0.001679, allocations: 207.8 kB / 28.67 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.484/1.484, allocations: 230.6 MB / 262.8 MB, free: 6.02 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.093/1.093, allocations: 130.7 MB / 450.4 MB, free: 6.758 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.03297/0.03297, allocations: 20.78 MB / 0.637 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2406, allocations: 81.91 MB / 0.7169 GB, free: 2.648 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.6064/0.847, allocations: 52.59 MB / 0.7683 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03611/0.8831, allocations: 21.6 MB / 0.7894 GB, free: 148 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008119/0.8912, allocations: 98.47 kB / 0.7895 GB, free: 100 kB / 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.009218/0.9004, allocations: 2.14 MB / 0.7916 GB, free: 15.08 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01602/0.9165, allocations: 2.751 MB / 0.7943 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.9274, allocations: 3.015 MB / 0.7972 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01496/0.9424, allocations: 6.597 MB / 0.8037 GB, free: 7.133 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005463/0.9478, allocations: 1.812 MB / 0.8054 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007907/0.9557, allocations: 2.701 MB / 0.8081 GB, free: 4.238 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00759/0.9633, allocations: 2.801 MB / 0.8108 GB, free: 2.449 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002416/0.9657, allocations: 464 kB / 0.8112 GB, free: 2.164 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.9759, allocations: 2.999 MB / 0.8142 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.9789, allocations: 1.308 MB / 0.8155 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006829/0.9858, allocations: 2.402 MB / 0.8178 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02005/1.006, allocations: 8.259 MB / 0.8259 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.006, allocations: 0 / 0.8259 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/1.006, allocations: 0 / 0.8259 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002904/1.006, allocations: 0 / 0.8259 GB, free: 3.16 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.0175/1.024, allocations: 5.22 MB / 0.831 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.024, allocations: 12.03 kB / 0.831 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/1.027, allocations: 0.621 MB / 0.8316 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/1.037, allocations: 4.065 MB / 0.8355 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/1.037, allocations: 177 kB / 0.8357 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/1.038, allocations: 236.1 kB / 0.8359 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/1.056, allocations: 5.277 MB / 0.8411 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/1.056, allocations: 30.47 kB / 0.8411 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008389/1.057, allocations: 116 kB / 0.8412 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/1.057, allocations: 77.88 kB / 0.8413 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/1.071, allocations: 3.97 MB / 0.8452 GB, free: 14.69 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/1.106, allocations: 22.93 MB / 0.8676 GB, free: 7.086 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.118, allocations: 3.473 MB / 0.871 GB, free: 3.527 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003172/1.121, allocations: 1.193 MB / 0.8721 GB, free: 2.297 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.122, allocations: 274.9 kB / 0.8724 GB, free: 2.035 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01002/1.132, allocations: 3.101 MB / 0.8754 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=470): time 1.394e-05/1.132, allocations: 2.688 kB / 0.8754 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=471): time 0.0517/1.184, allocations: 21.45 MB / 0.8964 GB, free: 9.207 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005095/1.184, allocations: 0.8217 MB / 0.8972 GB, free: 8.195 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/1.19, allocations: 3.268 MB / 0.9004 GB, free: 4.906 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007632/1.19, allocations: 61.7 kB / 0.9004 GB, free: 4.84 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.192, allocations: 1.602 MB / 0.902 GB, free: 3.227 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002375/1.194, allocations: 1.584 MB / 0.9035 GB, free: 1.629 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/1.196, allocations: 0.9475 MB / 0.9045 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.196, allocations: 307.7 kB / 0.9048 GB, free: 380 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/1.2, allocations: 1.642 MB / 0.9064 GB, free: 14.71 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/1.205, allocations: 2.903 MB / 0.9092 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009079/1.214, allocations: 5.027 MB / 0.9141 GB, free: 5.785 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/1.214, allocations: 8 kB / 0.9141 GB, free: 5.777 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01406/1.228, allocations: 5.637 MB / 0.9196 GB, free: 140 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.228, allocations: 83.39 kB / 0.9197 GB, free: 44 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00958/1.237, allocations: 4.275 MB / 0.9239 GB, free: 11.75 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02468/1.262, allocations: 3.084 MB / 0.9269 GB, free: 8.832 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/1.267, allocations: 1.143 MB / 0.928 GB, free: 7.688 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/1.277, allocations: 3.769 MB / 0.9317 GB, free: 3.844 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004554/1.282, allocations: 214.2 kB / 0.9319 GB, free: 3.637 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.283, allocations: 303.8 kB / 0.9322 GB, free: 3.34 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006184/1.289, allocations: 2.384 MB / 0.9345 GB, free: 0.9492 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005148/1.294, allocations: 2.874 MB / 0.9373 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00963/1.304, allocations: 4.979 MB / 0.9422 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-05/1.304, allocations: 13.56 kB / 0.9422 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01314/1.317, allocations: 5.495 MB / 0.9476 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/1.317, allocations: 83.39 kB / 0.9476 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009278/1.326, allocations: 4.134 MB / 0.9517 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0223/1.348, allocations: 2.734 MB / 0.9543 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/1.353, allocations: 1.17 MB / 0.9555 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00894/1.362, allocations: 3.466 MB / 0.9589 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/1.365, allocations: 208.2 kB / 0.9591 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008901/1.366, allocations: 307.8 kB / 0.9594 GB, free: 6.348 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.0015/1.368, allocations: 0.5218 MB / 0.9599 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.369, allocations: 447.6 kB / 0.9603 GB, free: 5.367 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.38, allocations: 5.396 MB / 0.9656 GB, free: 112 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.784748767036945] Failed to read output from testmodel.py, exit status != 0: 1.591896085999906 2.021256154 1.011347977 Calling exit ...