Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.0171/0.0171, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001688/0.001688, allocations: 78.2 kB / 24.88 MB, free: 6.832 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.00187/0.00187, allocations: 173 kB / 28.74 MB, free: 3.66 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.813/1.813, allocations: 177.2 MB / 209.6 MB, free: 2.359 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.192/1.192, allocations: 102.5 MB / 369.1 MB, free: 0.8516 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 469.1 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.529e-05, allocations: 8.078 kB / 469.1 MB, free: 12.96 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.4671/0.4671, allocations: 66.38 MB / 0.5229 GB, free: 72.2 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02871/0.4958, allocations: 21.05 MB / 0.5435 GB, free: 60.13 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00499/0.5008, allocations: 101.4 kB / 0.5436 GB, free: 60.08 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.006419/0.5072, allocations: 2.025 MB / 0.5456 GB, free: 59.15 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.5187, allocations: 2.848 MB / 0.5484 GB, free: 57.41 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009653/0.5284, allocations: 3.051 MB / 0.5513 GB, free: 55.78 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01305/0.5414, allocations: 6.792 MB / 0.558 GB, free: 52.31 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004674/0.5461, allocations: 2.074 MB / 0.56 GB, free: 50.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01171/0.5578, allocations: 3.687 MB / 0.5636 GB, free: 49.27 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006547/0.5643, allocations: 2.285 MB / 0.5658 GB, free: 48.5 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001977/0.5663, allocations: 463.2 kB / 0.5663 GB, free: 48.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007963/0.5743, allocations: 2.246 MB / 0.5685 GB, free: 47.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.5766, allocations: 1.332 MB / 0.5698 GB, free: 47.09 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004056/0.5806, allocations: 1.495 MB / 0.5712 GB, free: 46.27 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.5961, allocations: 8.151 MB / 0.5792 GB, free: 40.71 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5961, allocations: 0 / 0.5792 GB, free: 40.71 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5961, allocations: 1.281 kB / 0.5792 GB, free: 40.71 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.000212/0.5964, allocations: 3.375 kB / 0.5792 GB, free: 40.71 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.01101/0.6074, allocations: 5.848 MB / 0.5849 GB, free: 35.48 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6074, allocations: 8.031 kB / 0.5849 GB, free: 35.48 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.6094, allocations: 0.802 MB / 0.5857 GB, free: 34.67 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007556/0.617, allocations: 3.826 MB / 0.5894 GB, free: 30.81 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.6171, allocations: 181.7 kB / 0.5896 GB, free: 30.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.6175, allocations: 244.3 kB / 0.5898 GB, free: 30.39 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.628, allocations: 6.772 MB / 0.5964 GB, free: 22.59 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-05/0.628, allocations: 27.69 kB / 0.5965 GB, free: 22.57 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.6282, allocations: 115.9 kB / 0.5966 GB, free: 22.45 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.6283, allocations: 79.98 kB / 0.5967 GB, free: 22.38 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009345/0.6377, allocations: 3.939 MB / 0.6005 GB, free: 18.42 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03162/0.6693, allocations: 31.95 MB / 0.6317 GB, free: 1.43 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.6809, allocations: 3.603 MB / 0.6352 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/0.6841, allocations: 1.197 MB / 0.6364 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.6853, allocations: 269.7 kB / 0.6366 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01066/0.696, allocations: 3.525 MB / 0.6401 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=470): time 1.182e-05/0.696, allocations: 0 / 0.6401 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of matching and sorting (n=471): time 0.05617/0.7521, allocations: 21.95 MB / 0.6615 GB, free: 2.348 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007718/0.7529, allocations: 0.8307 MB / 0.6623 GB, free: 1.324 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007634/0.7606, allocations: 4.074 MB / 0.6663 GB, free: 13.26 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0008374/0.7614, allocations: 60.36 kB / 0.6664 GB, free: 13.2 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.002203/0.7636, allocations: 1.964 MB / 0.6683 GB, free: 11.22 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002753/0.7663, allocations: 1.736 MB / 0.67 GB, free: 9.469 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/0.7687, allocations: 1.176 MB / 0.6711 GB, free: 8.281 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002853/0.769, allocations: 480.7 kB / 0.6716 GB, free: 7.809 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/0.7727, allocations: 1.687 MB / 0.6732 GB, free: 6.098 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006024/0.7788, allocations: 3.855 MB / 0.677 GB, free: 1.414 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.7894, allocations: 5.759 MB / 0.6826 GB, free: 10.95 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.7894, allocations: 12 kB / 0.6826 GB, free: 10.93 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01492/0.8044, allocations: 5.89 MB / 0.6884 GB, free: 5.023 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.8045, allocations: 87.39 kB / 0.6885 GB, free: 4.926 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0116/0.8161, allocations: 4.263 MB / 0.6926 GB, free: 0.625 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02578/0.8419, allocations: 2.95 MB / 0.6955 GB, free: 13.83 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004806/0.8467, allocations: 1.137 MB / 0.6966 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.8588, allocations: 4.641 MB / 0.7012 GB, free: 7.949 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/0.8632, allocations: 202.1 kB / 0.7014 GB, free: 7.754 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/0.8646, allocations: 312.3 kB / 0.7016 GB, free: 7.449 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007647/0.8723, allocations: 2.22 MB / 0.7038 GB, free: 5.207 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007689/0.88, allocations: 3.834 MB / 0.7076 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01283/0.8928, allocations: 5.699 MB / 0.7131 GB, free: 10.14 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.297e-05/0.8929, allocations: 8 kB / 0.7131 GB, free: 10.13 MB / 0.5887 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01741/0.9103, allocations: 5.734 MB / 0.7187 GB, free: 4.375 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.9104, allocations: 87.38 kB / 0.7188 GB, free: 4.277 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01187/0.9223, allocations: 4.104 MB / 0.7228 GB, free: 136 kB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/0.9454, allocations: 2.606 MB / 0.7254 GB, free: 13.67 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/0.9504, allocations: 1.166 MB / 0.7265 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.9607, allocations: 4.337 MB / 0.7307 GB, free: 8.066 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/0.9643, allocations: 191.6 kB / 0.7309 GB, free: 7.879 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/0.9655, allocations: 310.5 kB / 0.7312 GB, free: 7.578 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.002207/0.9677, allocations: 0.5987 MB / 0.7318 GB, free: 6.961 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002407/0.9701, allocations: 0.5009 MB / 0.7323 GB, free: 6.457 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.01394/0.984, allocations: 5.466 MB / 0.7376 GB, free: 1.258 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.30911156500224]