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.008384/0.008384, allocations: 1.791 MB / 21.89 MB, free: 2.641 MB / 18.57 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.0008073/0.0008073, allocations: 85.2 kB / 25.61 MB, free: 6.992 MB / 18.57 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.0008714/0.0008714, allocations: 167.1 kB / 29.46 MB, free: 3.191 MB / 18.57 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 0.9893/0.9893, allocations: 177.1 MB / 210.3 MB, free: 3.562 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6221/0.6221, allocations: 102.5 MB / 369.8 MB, free: 316 kB / 330.7 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.635e-05, allocations: 4.406 kB / 469.9 MB, free: 19.04 MB / 410.8 MB 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.1197/0.1197, allocations: 68.68 MB / 0.5259 GB, free: 3.602 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02394/0.1436, allocations: 21.16 MB / 0.5466 GB, free: 14.38 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004013/0.1476, allocations: 95.31 kB / 0.5467 GB, free: 14.29 MB / 474.8 MB [/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.005998/0.1536, allocations: 2.047 MB / 0.5487 GB, free: 12.23 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008148/0.1618, allocations: 2.85 MB / 0.5515 GB, free: 9.363 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007388/0.1692, allocations: 3.057 MB / 0.5544 GB, free: 6.301 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.1795, allocations: 6.793 MB / 0.5611 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.1834, allocations: 2.08 MB / 0.5631 GB, free: 13.37 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00643/0.1898, allocations: 3.691 MB / 0.5667 GB, free: 9.668 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.1927, allocations: 2.277 MB / 0.5689 GB, free: 7.387 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005615/0.1933, allocations: 464 kB / 0.5694 GB, free: 6.934 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.1968, allocations: 2.257 MB / 0.5716 GB, free: 4.672 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0008332/0.1976, allocations: 1.327 MB / 0.5729 GB, free: 3.34 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.1989, allocations: 1.484 MB / 0.5743 GB, free: 1.852 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005552/0.2044, allocations: 5.387 MB / 0.5796 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2045, allocations: 0 / 0.5796 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2045, allocations: 4 kB / 0.5796 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.582e-05/0.2045, allocations: 0 / 0.5796 GB, free: 12.44 MB / 0.4949 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.005255/0.2097, allocations: 5.393 MB / 0.5849 GB, free: 6.961 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2098, allocations: 8.031 kB / 0.5849 GB, free: 6.953 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.211, allocations: 0.8058 MB / 0.5857 GB, free: 6.145 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/0.215, allocations: 3.788 MB / 0.5894 GB, free: 2.277 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.2151, allocations: 185 kB / 0.5895 GB, free: 2.094 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.2153, allocations: 244.4 kB / 0.5898 GB, free: 1.855 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006712/0.222, allocations: 5.539 MB / 0.5952 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-05/0.2221, allocations: 31.69 kB / 0.5952 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.2223, allocations: 112 kB / 0.5953 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.2223, allocations: 76 kB / 0.5954 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005279/0.2276, allocations: 2.744 MB / 0.5981 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.2415, allocations: 28.43 MB / 0.6258 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005128/0.2466, allocations: 2.798 MB / 0.6286 GB, free: 8.031 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.2476, allocations: 0.7828 MB / 0.6293 GB, free: 7.184 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005123/0.2481, allocations: 253.7 kB / 0.6296 GB, free: 6.938 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004514/0.2527, allocations: 2.553 MB / 0.6321 GB, free: 4.25 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=470): time 4.709e-06/0.2527, allocations: 0 / 0.6321 GB, free: 4.25 MB / 0.5418 GB Notification: Performance of matching and sorting (n=471): time 0.02105/0.2737, allocations: 18.95 MB / 0.6506 GB, free: 1.062 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002385/0.2739, allocations: 0.8235 MB / 0.6514 GB, free: 48 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1692/0.4432, allocations: 2.979 MB / 0.6543 GB, free: 154.9 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004757/0.4437, allocations: 65.48 kB / 0.6543 GB, free: 154.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008164/0.4445, allocations: 1.747 MB / 0.656 GB, free: 154.4 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008036/0.4453, allocations: 1.599 MB / 0.6576 GB, free: 153.6 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008878/0.4462, allocations: 0.989 MB / 0.6586 GB, free: 153.2 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.4462, allocations: 483.4 kB / 0.659 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4476, allocations: 0.9149 MB / 0.6599 GB, free: 152.5 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.4494, allocations: 2.897 MB / 0.6628 GB, free: 149.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.4533, allocations: 3.892 MB / 0.6666 GB, free: 147 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.4533, allocations: 10.75 kB / 0.6666 GB, free: 147 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.006039/0.4593, allocations: 4.231 MB / 0.6707 GB, free: 145.7 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.503e-05/0.4594, allocations: 86.8 kB / 0.6708 GB, free: 145.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004152/0.4635, allocations: 2.8 MB / 0.6735 GB, free: 144.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.4744, allocations: 2.783 MB / 0.6762 GB, free: 144.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.4764, allocations: 1.139 MB / 0.6773 GB, free: 144.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.4804, allocations: 4.001 MB / 0.6812 GB, free: 141.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.4819, allocations: 202.3 kB / 0.6814 GB, free: 141.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003246/0.4822, allocations: 308.2 kB / 0.6817 GB, free: 141.6 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002074/0.4843, allocations: 1.06 MB / 0.6828 GB, free: 141.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002/0.4863, allocations: 2.88 MB / 0.6856 GB, free: 138.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003838/0.4902, allocations: 3.86 MB / 0.6894 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.82e-05/0.4902, allocations: 10.78 kB / 0.6894 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.006013/0.4962, allocations: 4.139 MB / 0.6934 GB, free: 134 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.4962, allocations: 92 kB / 0.6935 GB, free: 133.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004057/0.5003, allocations: 2.704 MB / 0.6961 GB, free: 132.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009761/0.5101, allocations: 2.488 MB / 0.6986 GB, free: 132 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.5119, allocations: 1.157 MB / 0.6997 GB, free: 131.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.5154, allocations: 3.823 MB / 0.7034 GB, free: 128.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.5168, allocations: 191.6 kB / 0.7036 GB, free: 128.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.5171, allocations: 312.8 kB / 0.7039 GB, free: 128.2 MB / 0.5574 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.0008524/0.518, allocations: 0.6018 MB / 0.7045 GB, free: 127.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/0.5186, allocations: 0.5018 MB / 0.705 GB, free: 127.4 MB / 0.5574 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.005094/0.5237, allocations: 4.918 MB / 0.7098 GB, free: 125 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1398103141691536]