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.02432/0.02432, allocations: 1.796 MB / 21.15 MB, free: 3.242 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.001787/0.001787, allocations: 76.44 kB / 24.88 MB, free: 6.836 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.001908/0.001908, allocations: 169.5 kB / 28.74 MB, free: 3.656 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.481/1.481, allocations: 177.1 MB / 209.6 MB, free: 2.125 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.162/1.162, allocations: 102.5 MB / 369.1 MB, free: 0.8945 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 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.533e-06/1.533e-06, allocations: 0 / 469.1 MB, free: 13.01 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.136e-05, allocations: 4 kB / 469.1 MB, free: 13.01 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.4188/0.4188, allocations: 66.37 MB / 0.523 GB, free: 71.91 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02729/0.4461, allocations: 21.05 MB / 0.5435 GB, free: 59.9 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004603/0.4507, allocations: 97.16 kB / 0.5436 GB, free: 59.86 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.005733/0.4564, allocations: 2.031 MB / 0.5456 GB, free: 58.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008109/0.4645, allocations: 2.846 MB / 0.5484 GB, free: 57.18 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008072/0.4726, allocations: 3.053 MB / 0.5514 GB, free: 55.55 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.4843, allocations: 6.791 MB / 0.558 GB, free: 52.08 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004698/0.489, allocations: 2.075 MB / 0.56 GB, free: 50.72 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.5001, allocations: 3.689 MB / 0.5636 GB, free: 49.04 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006339/0.5065, allocations: 2.283 MB / 0.5658 GB, free: 48.27 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002023/0.5085, allocations: 461.8 kB / 0.5663 GB, free: 48.27 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007261/0.5157, allocations: 2.249 MB / 0.5685 GB, free: 47.69 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002495/0.5182, allocations: 1.324 MB / 0.5698 GB, free: 46.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004748/0.523, allocations: 1.496 MB / 0.5712 GB, free: 46.07 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.5368, allocations: 8.159 MB / 0.5792 GB, free: 40.51 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5368, allocations: 0 / 0.5792 GB, free: 40.51 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5368, allocations: 0 / 0.5792 GB, free: 40.51 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001832/0.537, allocations: 3.188 kB / 0.5792 GB, free: 40.51 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.01031/0.5473, allocations: 5.842 MB / 0.5849 GB, free: 35.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5474, allocations: 12.03 kB / 0.5849 GB, free: 35.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.5494, allocations: 0.8034 MB / 0.5857 GB, free: 34.59 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006831/0.5562, allocations: 3.821 MB / 0.5894 GB, free: 30.73 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5563, allocations: 177.7 kB / 0.5896 GB, free: 30.55 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.5566, allocations: 244.3 kB / 0.5898 GB, free: 30.32 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.5672, allocations: 6.77 MB / 0.5965 GB, free: 22.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.46e-05/0.5673, allocations: 35.67 kB / 0.5965 GB, free: 22.49 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.5675, allocations: 112 kB / 0.5966 GB, free: 22.38 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-05/0.5676, allocations: 76 kB / 0.5967 GB, free: 22.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009458/0.577, allocations: 3.942 MB / 0.6005 GB, free: 18.35 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02843/0.6055, allocations: 31.94 MB / 0.6317 GB, free: 1.355 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.6167, allocations: 3.609 MB / 0.6352 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.6197, allocations: 1.197 MB / 0.6364 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.6208, allocations: 259.2 kB / 0.6367 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009932/0.6308, allocations: 3.532 MB / 0.6401 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=470): time 5.951e-06/0.6308, allocations: 0 / 0.6401 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of matching and sorting (n=471): time 0.04635/0.6771, allocations: 21.95 MB / 0.6615 GB, free: 2.266 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005915/0.6777, allocations: 0.8191 MB / 0.6623 GB, free: 1.254 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006749/0.6845, allocations: 4.078 MB / 0.6663 GB, free: 13.19 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0007679/0.6852, allocations: 65.7 kB / 0.6664 GB, free: 13.12 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.6876, allocations: 1.958 MB / 0.6683 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002708/0.6903, allocations: 1.732 MB / 0.67 GB, free: 9.398 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/0.6924, allocations: 1.176 MB / 0.6711 GB, free: 8.211 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000251/0.6927, allocations: 496.6 kB / 0.6716 GB, free: 7.723 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/0.6962, allocations: 1.679 MB / 0.6733 GB, free: 6.02 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005725/0.702, allocations: 3.863 MB / 0.677 GB, free: 1.328 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009797/0.7118, allocations: 5.747 MB / 0.6826 GB, free: 10.87 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.282e-05/0.7118, allocations: 8 kB / 0.6826 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01331/0.7251, allocations: 5.893 MB / 0.6884 GB, free: 4.949 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.7252, allocations: 87.38 kB / 0.6885 GB, free: 4.852 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009263/0.7345, allocations: 4.266 MB / 0.6926 GB, free: 0.5469 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03148/0.766, allocations: 2.949 MB / 0.6955 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004976/0.7709, allocations: 1.136 MB / 0.6966 GB, free: 12.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.7833, allocations: 4.643 MB / 0.7012 GB, free: 7.871 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/0.787, allocations: 199.5 kB / 0.7014 GB, free: 7.676 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000738/0.7878, allocations: 314.5 kB / 0.7017 GB, free: 7.371 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005257/0.793, allocations: 2.22 MB / 0.7038 GB, free: 5.129 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00651/0.7995, allocations: 3.831 MB / 0.7076 GB, free: 480 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01108/0.8106, allocations: 5.697 MB / 0.7131 GB, free: 10.07 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.588e-05/0.8106, allocations: 12 kB / 0.7131 GB, free: 10.05 MB / 0.5887 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01482/0.8255, allocations: 5.733 MB / 0.7187 GB, free: 4.297 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/0.8256, allocations: 87.39 kB / 0.7188 GB, free: 4.199 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01005/0.8356, allocations: 4.1 MB / 0.7228 GB, free: 60 kB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03403/0.8696, allocations: 2.604 MB / 0.7254 GB, free: 13.59 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008254/0.8779, allocations: 1.17 MB / 0.7265 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.8957, allocations: 4.337 MB / 0.7308 GB, free: 7.988 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005734/0.9015, allocations: 191.6 kB / 0.7309 GB, free: 7.801 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/0.9032, allocations: 307.8 kB / 0.7312 GB, free: 7.5 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.003086/0.9063, allocations: 0.6024 MB / 0.7318 GB, free: 6.879 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003436/0.9097, allocations: 0.5009 MB / 0.7323 GB, free: 6.375 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 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.02284/0.9325, allocations: 5.462 MB / 0.7376 GB, free: 1.18 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.9822443049633875]