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.01029/0.01029, allocations: 1.342 MB / 20.28 MB, free: 1.457 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.001583/0.001583, allocations: 83.67 kB / 23.82 MB, free: 2.703 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.001997/0.001997, allocations: 158.4 kB / 27.49 MB, free: 3.996 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: 177.2 MB / 208.3 MB, free: 7.754 MB / 190.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.143/1.143, allocations: 102.5 MB / 367.6 MB, free: 4.613 MB / 334.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.0654/0.0654, allocations: 20.98 MB / 0.5562 GB, free: 5.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2687, allocations: 81.88 MB / 0.6362 GB, free: 3.16 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.1505/0.4192, allocations: 42.85 MB / 0.678 GB, free: 8.32 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.4782/0.8975, allocations: 20.4 MB / 0.6979 GB, free: 18.62 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.9025, allocations: 101.8 kB / 0.698 GB, free: 18.57 MB / 0.5763 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.007671/0.9102, allocations: 2.027 MB / 0.7 GB, free: 17.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.922, allocations: 2.763 MB / 0.7027 GB, free: 16.75 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01097/0.933, allocations: 3.021 MB / 0.7057 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.9461, allocations: 6.59 MB / 0.7121 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004511/0.9506, allocations: 1.951 MB / 0.714 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.963, allocations: 3.843 MB / 0.7177 GB, free: 9.633 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007101/0.9701, allocations: 2.626 MB / 0.7203 GB, free: 8.156 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002358/0.9725, allocations: 460.6 kB / 0.7208 GB, free: 8.156 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00914/0.9816, allocations: 2.229 MB / 0.7229 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.9847, allocations: 1.306 MB / 0.7242 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.006644/0.9914, allocations: 1.833 MB / 0.726 GB, free: 4.992 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01777/1.009, allocations: 8.131 MB / 0.7339 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.009, allocations: 0 / 0.7339 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/1.009, allocations: 5.156 kB / 0.7339 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000313/1.009, allocations: 2.656 kB / 0.7339 GB, free: 15.39 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.01895/1.028, allocations: 5.21 MB / 0.739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.028, allocations: 9.625 kB / 0.739 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/1.032, allocations: 0.6215 MB / 0.7396 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.044, allocations: 4.058 MB / 0.7436 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/1.044, allocations: 175.1 kB / 0.7438 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005563/1.044, allocations: 232.2 kB / 0.744 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/1.058, allocations: 6.012 MB / 0.7499 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-05/1.059, allocations: 33.22 kB / 0.7499 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/1.059, allocations: 108.8 kB / 0.75 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/1.059, allocations: 75.97 kB / 0.7501 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/1.072, allocations: 4.019 MB / 0.754 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04106/1.113, allocations: 21.4 MB / 0.7749 GB, free: 10.8 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/1.125, allocations: 3.528 MB / 0.7783 GB, free: 7.176 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/1.128, allocations: 1.256 MB / 0.7796 GB, free: 5.867 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/1.129, allocations: 257.6 kB / 0.7798 GB, free: 5.625 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01019/1.14, allocations: 3.173 MB / 0.7829 GB, free: 2.348 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=470): time 1.341e-05/1.14, allocations: 0 / 0.7829 GB, free: 2.348 MB / 0.6232 GB Notification: Performance of matching and sorting (n=471): time 0.0512/1.191, allocations: 21.58 MB / 0.804 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005038/1.191, allocations: 0.8269 MB / 0.8048 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005515/1.197, allocations: 3.233 MB / 0.808 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008849/1.198, allocations: 68.36 kB / 0.808 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/1.199, allocations: 1.621 MB / 0.8096 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002366/1.202, allocations: 1.587 MB / 0.8112 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/1.203, allocations: 0.9499 MB / 0.8121 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.204, allocations: 309.1 kB / 0.8124 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/1.207, allocations: 1.707 MB / 0.814 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004778/1.212, allocations: 3.174 MB / 0.8171 GB, free: 14.22 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008932/1.221, allocations: 5.036 MB / 0.8221 GB, free: 8.676 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/1.221, allocations: 8 kB / 0.8221 GB, free: 8.668 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01358/1.234, allocations: 5.715 MB / 0.8277 GB, free: 2.934 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.234, allocations: 87.33 kB / 0.8277 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01227/1.247, allocations: 4.358 MB / 0.832 GB, free: 14.44 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03099/1.278, allocations: 3.08 MB / 0.835 GB, free: 11.53 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004588/1.282, allocations: 1.139 MB / 0.8361 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.292, allocations: 3.737 MB / 0.8398 GB, free: 6.586 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/1.297, allocations: 214.1 kB / 0.84 GB, free: 6.379 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.298, allocations: 315.8 kB / 0.8403 GB, free: 6.07 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007921/1.306, allocations: 2.436 MB / 0.8426 GB, free: 3.613 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006393/1.313, allocations: 3.136 MB / 0.8457 GB, free: 15.85 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01135/1.324, allocations: 4.98 MB / 0.8506 GB, free: 10.36 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.731e-05/1.324, allocations: 19.88 kB / 0.8506 GB, free: 10.34 MB / 0.7013 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01648/1.341, allocations: 5.559 MB / 0.856 GB, free: 4.762 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/1.341, allocations: 90.08 kB / 0.8561 GB, free: 4.664 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01139/1.352, allocations: 4.21 MB / 0.8602 GB, free: 416 kB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02164/1.374, allocations: 2.736 MB / 0.8629 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004762/1.379, allocations: 1.162 MB / 0.864 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009085/1.388, allocations: 3.454 MB / 0.8674 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/1.392, allocations: 206.2 kB / 0.8676 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/1.393, allocations: 307.8 kB / 0.8679 GB, free: 8.652 MB / 0.7169 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.002351/1.396, allocations: 0.5211 MB / 0.8684 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002273/1.398, allocations: 440.9 kB / 0.8688 GB, free: 7.68 MB / 0.7169 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.01406/1.412, allocations: 5.418 MB / 0.8741 GB, free: 2.473 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.574843110516667] Failed to read output from testmodel.py, exit status != 0: 1.6464425288140774 1.667681946 0.654258225 Calling exit ...