Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels.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.008462/0.008462, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0007977/0.0007977, allocations: 86.94 kB / 25.15 MB, free: 6.316 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.0008258/0.0008258, allocations: 166.3 kB / 29.06 MB, free: 3.348 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.9883/0.9883, allocations: 177.1 MB / 210 MB, free: 3.578 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.6259/0.6259, allocations: 102.5 MB / 369.5 MB, free: 380 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.TestPumpModels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5029,variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5029,variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.678e-05, allocations: 3.438 kB / 470 MB, free: 18.95 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.TestPumpModels): time 0.1277/0.1277, allocations: 64.87 MB / 0.5223 GB, free: 7.039 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02324/0.151, allocations: 19.17 MB / 0.541 GB, free: 3.816 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.1544, allocations: 83.38 kB / 0.5411 GB, free: 3.734 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.1587, allocations: 1.62 MB / 0.5427 GB, free: 2.105 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005346/0.164, allocations: 1.984 MB / 0.5446 GB, free: 112 kB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.1694, allocations: 2.586 MB / 0.5471 GB, free: 13.52 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00595/0.1753, allocations: 4.643 MB / 0.5517 GB, free: 8.859 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.1775, allocations: 1.546 MB / 0.5532 GB, free: 7.277 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1093/0.2867, allocations: 47.86 MB / 0.5999 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.2893, allocations: 1.655 MB / 0.6015 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000505/0.2899, allocations: 259.9 kB / 0.6018 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.2932, allocations: 1.91 MB / 0.6036 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.2939, allocations: 0.8871 MB / 0.6045 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.2951, allocations: 1.005 MB / 0.6055 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00729/0.3024, allocations: 4.328 MB / 0.6097 GB, free: 14.52 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3024, allocations: 0 / 0.6097 GB, free: 14.52 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3024, allocations: 0 / 0.6097 GB, free: 14.52 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.183e-05/0.3025, allocations: 0 / 0.6097 GB, free: 14.52 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.0046/0.3071, allocations: 4.282 MB / 0.6139 GB, free: 10.16 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3071, allocations: 8.031 kB / 0.6139 GB, free: 10.15 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/0.3077, allocations: 0.5529 MB / 0.6145 GB, free: 9.594 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.31, allocations: 2.155 MB / 0.6166 GB, free: 7.359 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/0.3101, allocations: 140.1 kB / 0.6167 GB, free: 7.223 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.3103, allocations: 200.1 kB / 0.6169 GB, free: 7.027 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004786/0.3151, allocations: 4.273 MB / 0.6211 GB, free: 1.875 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.3151, allocations: 19.81 kB / 0.6211 GB, free: 1.855 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.3152, allocations: 96 kB / 0.6212 GB, free: 1.762 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.3153, allocations: 63.94 kB / 0.6212 GB, free: 1.699 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.3187, allocations: 2.031 MB / 0.6232 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.332, allocations: 24.64 MB / 0.6473 GB, free: 6.156 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.3357, allocations: 1.958 MB / 0.6492 GB, free: 4.043 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/0.3364, allocations: 0.6104 MB / 0.6498 GB, free: 3.363 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.3367, allocations: 117.1 kB / 0.6499 GB, free: 3.246 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002777/0.3394, allocations: 1.896 MB / 0.6517 GB, free: 1.195 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=332): time 5.43e-06/0.3394, allocations: 0 / 0.6517 GB, free: 1.195 MB / 0.5574 GB Notification: Performance of matching and sorting (n=333): time 0.263/0.6024, allocations: 14.6 MB / 0.666 GB, free: 111.1 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.6026, allocations: 0.8571 MB / 0.6668 GB, free: 110.1 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.6057, allocations: 2.587 MB / 0.6694 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004754/0.6062, allocations: 54.3 kB / 0.6694 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6072, allocations: 1.534 MB / 0.6709 GB, free: 109.1 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.6083, allocations: 1.112 MB / 0.672 GB, free: 108.3 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/0.6092, allocations: 0.7539 MB / 0.6727 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.6093, allocations: 483.8 kB / 0.6732 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.6106, allocations: 0.7018 MB / 0.6739 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.6128, allocations: 2.528 MB / 0.6763 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.6166, allocations: 3.226 MB / 0.6795 GB, free: 103 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.6166, allocations: 13.16 kB / 0.6795 GB, free: 103 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.006231/0.6229, allocations: 3.371 MB / 0.6828 GB, free: 102.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.6229, allocations: 148.8 kB / 0.6829 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003144/0.6261, allocations: 2.113 MB / 0.685 GB, free: 102 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/0.6266, allocations: 154.5 kB / 0.6852 GB, free: 102 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.628, allocations: 0.8711 MB / 0.686 GB, free: 102 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/0.6315, allocations: 3.633 MB / 0.6896 GB, free: 99.26 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.6331, allocations: 167.6 kB / 0.6897 GB, free: 99.23 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.6334, allocations: 225.4 kB / 0.6899 GB, free: 99.23 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001609/0.635, allocations: 0.8541 MB / 0.6908 GB, free: 98.96 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001601/0.6366, allocations: 2.535 MB / 0.6932 GB, free: 96.57 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002881/0.6395, allocations: 3.225 MB / 0.6964 GB, free: 94.39 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.792e-05/0.6395, allocations: 14.25 kB / 0.6964 GB, free: 94.39 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.00512/0.6446, allocations: 3.33 MB / 0.6997 GB, free: 93.86 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.6447, allocations: 152 kB / 0.6998 GB, free: 93.74 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002999/0.6477, allocations: 2.08 MB / 0.7018 GB, free: 93.42 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.6481, allocations: 129.6 kB / 0.702 GB, free: 93.41 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.6498, allocations: 0.8793 MB / 0.7028 GB, free: 93.41 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.653, allocations: 2.829 MB / 0.7056 GB, free: 91.46 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.6546, allocations: 160.2 kB / 0.7057 GB, free: 91.43 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/0.6549, allocations: 231.7 kB / 0.7059 GB, free: 91.43 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 28 (p_out_n3.nextEventScaled,p_out_n3.nextEvent,$PRE.p_out_n3.nextEvent,p_out_n3.last,p_out_n3.b,p_out_n3.a,p_out_n2.nextEventScaled,p_out_n2.nextEvent,$PRE.p_out_n2.nextEvent,p_out_n2.last,p_out_n2.b,p_out_n2.a,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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 4 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009922/0.6559, allocations: 0.6288 MB / 0.7066 GB, free: 91.02 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/0.6565, allocations: 426.5 kB / 0.707 GB, free: 90.81 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 388 equation(s) and 372 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_1.summary.inlet.steamQuality, pump_1.fluidIn.cp, pump_1.fluidIn.cv, pump_1.fluidIn.beta, pump_1.fluidIn.kappa, pump_1.fluidIn.drhodp_hxi, pump_1.fluidIn.drhodh_pxi, _, pump_1.fluidIn.w, pump_1.fluidIn.gamma) = ($cse49, $cse50, $cse51, $cse52, $cse53, $cse54, $cse55, $cse56, $cse57, $cse58) has size 9 but 7 variables ($whenCondition1, ramp1.a, ramp1.b, ramp1.last, ramp1.nextEvent, ramp1.nextEventScaled, ramp1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.6602, allocations: 3.349 MB / 0.7102 GB, free: 90.31 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.418927600607276]