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.01236/0.01236, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.008377/0.008377, allocations: 83.34 kB / 24.44 MB, free: 7 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.0015/0.0015, allocations: 169.9 kB / 28.2 MB, free: 4.52 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 1.433/1.433, allocations: 177.1 MB / 209 MB, free: 2.801 MB / 186.7 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.065/1.065, allocations: 102.5 MB / 368.3 MB, free: 1.285 MB / 330.8 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.5.2 (/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 2.434e-06/2.434e-06, allocations: 0 / 468.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.332e-05, allocations: 9.125 kB / 468.3 MB, free: 13.51 MB / 442.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.4203/0.4203, allocations: 64.15 MB / 0.52 GB, free: 72.38 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.4456, allocations: 20.32 MB / 0.5398 GB, free: 62.49 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.449, allocations: 91.97 kB / 0.5399 GB, free: 62.45 MB / 490.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.005108/0.4541, allocations: 2.05 MB / 0.5419 GB, free: 61.5 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007519/0.4616, allocations: 2.829 MB / 0.5447 GB, free: 59.77 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006766/0.4684, allocations: 3.057 MB / 0.5477 GB, free: 58.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009178/0.4776, allocations: 6.789 MB / 0.5543 GB, free: 54.68 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003662/0.4812, allocations: 2.051 MB / 0.5563 GB, free: 53.32 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008735/0.49, allocations: 3.707 MB / 0.5599 GB, free: 51.64 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005818/0.4958, allocations: 2.304 MB / 0.5622 GB, free: 50.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002082/0.4979, allocations: 470.6 kB / 0.5626 GB, free: 50.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09404/0.5919, allocations: 17.74 MB / 0.5799 GB, free: 40.98 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002398/0.5943, allocations: 1.341 MB / 0.5812 GB, free: 39.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003666/0.598, allocations: 1.504 MB / 0.5827 GB, free: 39.05 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.6096, allocations: 8.184 MB / 0.5907 GB, free: 30.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.6096, allocations: 0 / 0.5907 GB, free: 30.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6096, allocations: 2.688 kB / 0.5907 GB, free: 30.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.000166/0.6098, allocations: 0 / 0.5907 GB, free: 30.89 MB / 490.8 MB 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.009/0.6188, allocations: 5.164 MB / 0.5958 GB, free: 25.67 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6188, allocations: 12.03 kB / 0.5958 GB, free: 25.66 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.6207, allocations: 0.8085 MB / 0.5966 GB, free: 24.85 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006141/0.6268, allocations: 4.227 MB / 0.6007 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.6269, allocations: 177 kB / 0.6009 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.6273, allocations: 248.3 kB / 0.6011 GB, free: 20.15 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.6374, allocations: 6.028 MB / 0.607 GB, free: 13.32 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.661e-05/0.6375, allocations: 27.69 kB / 0.607 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.6377, allocations: 119.9 kB / 0.6071 GB, free: 13.17 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.6378, allocations: 79.98 kB / 0.6072 GB, free: 13.09 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009179/0.647, allocations: 4.048 MB / 0.6111 GB, free: 9.031 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02475/0.6717, allocations: 21.55 MB / 0.6322 GB, free: 2.828 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.6829, allocations: 3.566 MB / 0.6357 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/0.6859, allocations: 1.28 MB / 0.6369 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.687, allocations: 273.5 kB / 0.6372 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009833/0.6969, allocations: 3.186 MB / 0.6403 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=470): time 1.224e-05/0.6969, allocations: 2.688 kB / 0.6403 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=471): time 0.05325/0.7501, allocations: 22.02 MB / 0.6618 GB, free: 4.039 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006163/0.7507, allocations: 0.8191 MB / 0.6626 GB, free: 3.027 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/0.7565, allocations: 3.236 MB / 0.6658 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0008779/0.7574, allocations: 61.7 kB / 0.6658 GB, free: 15.74 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.7593, allocations: 1.613 MB / 0.6674 GB, free: 14.11 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002541/0.7618, allocations: 1.572 MB / 0.6689 GB, free: 12.53 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/0.7637, allocations: 0.9358 MB / 0.6698 GB, free: 11.58 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7638, allocations: 304.9 kB / 0.6701 GB, free: 11.29 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/0.7676, allocations: 1.737 MB / 0.6718 GB, free: 9.527 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006155/0.7737, allocations: 3.199 MB / 0.675 GB, free: 5.707 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/0.7874, allocations: 5.072 MB / 0.6799 GB, free: 120 kB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.758e-05/0.7875, allocations: 12 kB / 0.6799 GB, free: 108 kB / 0.5418 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.02036/0.8078, allocations: 5.91 MB / 0.6857 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.808, allocations: 91.28 kB / 0.6858 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01227/0.8202, allocations: 4.42 MB / 0.6901 GB, free: 5.598 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02768/0.8479, allocations: 3.336 MB / 0.6934 GB, free: 2.449 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/0.8525, allocations: 1.139 MB / 0.6945 GB, free: 1.309 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.8633, allocations: 3.836 MB / 0.6982 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/0.8682, allocations: 218.1 kB / 0.6984 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/0.8695, allocations: 314.5 kB / 0.6987 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008449/0.8779, allocations: 2.463 MB / 0.7011 GB, free: 10.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007614/0.8855, allocations: 3.168 MB / 0.7042 GB, free: 6.609 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01043/0.896, allocations: 5.017 MB / 0.7091 GB, free: 1.074 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.711e-05/0.896, allocations: 15.98 kB / 0.7091 GB, free: 1.059 MB / 0.573 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01485/0.9109, allocations: 5.834 MB / 0.7148 GB, free: 11.2 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.911, allocations: 87.39 kB / 0.7149 GB, free: 11.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01075/0.9217, allocations: 4.327 MB / 0.7191 GB, free: 6.723 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02422/0.946, allocations: 3.025 MB / 0.7221 GB, free: 3.871 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004866/0.9508, allocations: 1.145 MB / 0.7232 GB, free: 2.727 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.9617, allocations: 3.763 MB / 0.7269 GB, free: 14.89 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.9653, allocations: 214.2 kB / 0.7271 GB, free: 14.68 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/0.9664, allocations: 307.8 kB / 0.7274 GB, free: 14.38 MB / 0.6043 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.001918/0.9683, allocations: 0.5206 MB / 0.7279 GB, free: 13.84 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002266/0.9706, allocations: 0.4996 MB / 0.7284 GB, free: 13.34 MB / 0.6043 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 662 equation(s) and 635 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.0132/0.9838, allocations: 5.431 MB / 0.7337 GB, free: 8.16 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.761686751968227]