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.0081/0.0081, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0008318/0.0008318, allocations: 78.2 kB / 26.19 MB, free: 6.078 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.0008742/0.0008742, allocations: 168.6 kB / 30.12 MB, free: 2.184 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.977/0.977, allocations: 177.2 MB / 211.1 MB, free: 3.477 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.5958/0.5958, allocations: 102.5 MB / 370.7 MB, free: 240 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.092e-06/1.092e-06, allocations: 0 / 471.2 MB, free: 18.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.777e-05, allocations: 3.016 kB / 471.2 MB, free: 18.84 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.113/0.113, allocations: 68.28 MB / 0.5269 GB, free: 3.344 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02408/0.1371, allocations: 21.06 MB / 0.5474 GB, free: 14.22 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.1395, allocations: 99.25 kB / 0.5475 GB, free: 14.12 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.003515/0.1431, allocations: 2.047 MB / 0.5495 GB, free: 12.07 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.1479, allocations: 2.869 MB / 0.5523 GB, free: 9.18 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.1524, allocations: 3.061 MB / 0.5553 GB, free: 6.113 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006711/0.1592, allocations: 6.785 MB / 0.562 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.1613, allocations: 2.076 MB / 0.564 GB, free: 13.19 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1151/0.2765, allocations: 49 MB / 0.6118 GB, free: 13.35 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.2788, allocations: 2.161 MB / 0.6139 GB, free: 11.18 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.2792, allocations: 411.9 kB / 0.6143 GB, free: 10.78 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.2825, allocations: 2.175 MB / 0.6165 GB, free: 8.598 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.2835, allocations: 1.218 MB / 0.6177 GB, free: 7.375 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.2848, allocations: 1.398 MB / 0.619 GB, free: 5.973 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.005354/0.2901, allocations: 5.247 MB / 0.6241 GB, free: 0.707 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2901, allocations: 0 / 0.6241 GB, free: 0.707 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.21e-07/0.2901, allocations: 4 kB / 0.6241 GB, free: 0.7031 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.964e-05/0.2902, allocations: 4 kB / 0.6241 GB, free: 0.6992 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: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.004895/0.2951, allocations: 5.197 MB / 0.6292 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2951, allocations: 8.031 kB / 0.6292 GB, free: 11.4 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.2959, allocations: 0.7006 MB / 0.6299 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.2988, allocations: 2.957 MB / 0.6328 GB, free: 7.664 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.2989, allocations: 181 kB / 0.633 GB, free: 7.484 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.2991, allocations: 240.4 kB / 0.6332 GB, free: 7.25 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.3051, allocations: 5.31 MB / 0.6384 GB, free: 0.9219 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.415e-05/0.3051, allocations: 35.64 kB / 0.6384 GB, free: 0.8867 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.3053, allocations: 112 kB / 0.6385 GB, free: 0.7773 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.3053, allocations: 83.98 kB / 0.6386 GB, free: 0.6953 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/0.3098, allocations: 2.479 MB / 0.641 GB, free: 14.18 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/0.5344, allocations: 28.03 MB / 0.6684 GB, free: 86.12 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/0.5388, allocations: 2.617 MB / 0.671 GB, free: 85.62 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/0.5394, allocations: 0.6508 MB / 0.6716 GB, free: 85.41 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/0.5398, allocations: 262.9 kB / 0.6718 GB, free: 85.4 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003739/0.5436, allocations: 2.441 MB / 0.6742 GB, free: 84.91 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=467): time 6.793e-06/0.5436, allocations: 0 / 0.6742 GB, free: 84.91 MB / 0.5574 GB Notification: Performance of matching and sorting (n=468): time 0.01471/0.5583, allocations: 7.973 MB / 0.682 GB, free: 84.11 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.5584, allocations: 0.9527 MB / 0.6829 GB, free: 82.98 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.5605, allocations: 2.907 MB / 0.6858 GB, free: 82.58 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.5607, allocations: 64.27 kB / 0.6858 GB, free: 82.55 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/0.5615, allocations: 1.788 MB / 0.6876 GB, free: 81.98 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/0.5622, allocations: 1.596 MB / 0.6891 GB, free: 81.11 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009705/0.5632, allocations: 1.015 MB / 0.6901 GB, free: 81.01 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.5632, allocations: 480.7 kB / 0.6906 GB, free: 80.54 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009151/0.5642, allocations: 0.7518 MB / 0.6913 GB, free: 80.44 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.5657, allocations: 2.963 MB / 0.6942 GB, free: 77.71 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.5687, allocations: 3.651 MB / 0.6978 GB, free: 75.45 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.5687, allocations: 11.62 kB / 0.6978 GB, free: 75.45 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.005273/0.574, allocations: 3.894 MB / 0.7016 GB, free: 74.95 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.574, allocations: 92.3 kB / 0.7017 GB, free: 74.88 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00358/0.5776, allocations: 2.519 MB / 0.7042 GB, free: 74.62 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007113/0.5847, allocations: 1.632 MB / 0.7057 GB, free: 74.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.5868, allocations: 1.139 MB / 0.7069 GB, free: 74.53 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.5902, allocations: 3.563 MB / 0.7103 GB, free: 71.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.5919, allocations: 212.6 kB / 0.7105 GB, free: 71.53 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.5922, allocations: 270.8 kB / 0.7108 GB, free: 71.47 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001719/0.5939, allocations: 0.9018 MB / 0.7117 GB, free: 71.11 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001701/0.5956, allocations: 2.944 MB / 0.7146 GB, free: 68.16 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003001/0.5986, allocations: 3.629 MB / 0.7181 GB, free: 65.71 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.437e-05/0.5986, allocations: 12.88 kB / 0.7181 GB, free: 65.71 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.00462/0.6032, allocations: 3.838 MB / 0.7219 GB, free: 64.76 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.6033, allocations: 91.78 kB / 0.722 GB, free: 64.69 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002964/0.6062, allocations: 2.468 MB / 0.7244 GB, free: 64.05 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005851/0.6121, allocations: 1.392 MB / 0.7257 GB, free: 63.64 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.614, allocations: 1.143 MB / 0.7268 GB, free: 63.44 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.6169, allocations: 3.528 MB / 0.7303 GB, free: 60.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.6185, allocations: 202.4 kB / 0.7305 GB, free: 60.45 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/0.6188, allocations: 271.2 kB / 0.7307 GB, free: 60.39 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (598): * Single equations (assignments): 594 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.001069/0.6198, allocations: 0.6028 MB / 0.7313 GB, free: 60.06 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006967/0.6205, allocations: 0.4969 MB / 0.7318 GB, free: 59.8 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 659 equation(s) and 632 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.005004/0.6255, allocations: 4.768 MB / 0.7365 GB, free: 58.21 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.30419041775167]